You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code Example
public class TimeTool
{
[KernelFunction, Description("Provides the current date and time.")]
[Authorize] // only sends this tool when the user is authenticated
public static string GetTime() => DateTime.UtcNow.ToString("R", CultureInfo.InvariantCulture);
}
and so on.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
New Feature: Ingerating .Net authorization with tool calling
.Net: New Feature: Ingerating .Net authorization with tool calling
Dec 31, 2024
Code Example
public class TimeTool
{
[KernelFunction, Description("Provides the current date and time.")]
[Authorize] // only sends this tool when the user is authenticated
public static string GetTime() => DateTime.UtcNow.ToString("R", CultureInfo.InvariantCulture);
}
and so on.
The text was updated successfully, but these errors were encountered: