Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: New Feature: Ingerating .Net authorization with tool calling #10045

Open
maghawry74 opened this issue Dec 31, 2024 · 0 comments
Open

.Net: New Feature: Ingerating .Net authorization with tool calling #10045

maghawry74 opened this issue Dec 31, 2024 · 0 comments
Labels
.NET Issue or Pull requests regarding .NET code triage

Comments

@maghawry74
Copy link

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.

@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code triage labels Dec 31, 2024
@github-actions github-actions bot changed the title New Feature: Ingerating .Net authorization with tool calling .Net: New Feature: Ingerating .Net authorization with tool calling Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code triage
Projects
None yet
Development

No branches or pull requests

2 participants