60 writes to Tools
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.AI.AzureAIInference.Tests (6)
AzureAIInferenceChatClientTests.cs (6)
359Tools = [tool],
443Tools = [tool],
530Tools = [tool],
605Tools = [tool],
1251Tools = [AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.")],
1338Tools = [AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.")],
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
Microsoft.Extensions.AI.Integration.Tests (17)
ChatClientIntegrationTests.cs (16)
237Tools = [AIFunctionFactory.Create(() => secretNumber, "GetSecretNumber")]
253Tools = [AIFunctionFactory.Create((int a, int b) => a * b, "SecretComputation")]
268Tools = [AIFunctionFactory.Create((int a, int b) => a * b, "SecretComputation")]
305Tools = [func]
337Tools = [func]
369Tools = [func]
447Tools =
575Tools = [AIFunctionFactory.Create((string personName) =>
607Tools = [tool],
628Tools = [getSecretNumberTool, shieldsUpTool],
726.ConfigureOptions(options => options.Tools = [getTemperature])
765.ConfigureOptions(options => options.Tools = [getTemperature])
807.ConfigureOptions(options => options.Tools = [getTemperature])
888new ChatOptions { Tools = [AIFunctionFactory.Create(() => secretNumber, "GetSecretNumber")] });
914new ChatOptions { Tools = [AIFunctionFactory.Create(() => secretNumber, "GetSecretNumber")] }))
1068Tools = [AIFunctionFactory.Create((int personId) =>
Microsoft.Extensions.AI.Ollama.Tests (4)
Microsoft.Extensions.AI.OpenAI.Tests (10)
OpenAIChatClientTests.cs (8)
333Tools = [AIFunctionFactory.Create(() => 42, "GetPersonAge", "Gets the age of the specified person.")],
412Tools = [tool],
489Tools = [tool],
570Tools = [tool],
644Tools = [tool],
1126Tools = [AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.")],
1210Tools = [new HostedWebSearchTool()],
1310Tools = [AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.")],
Microsoft.Extensions.AI.Tests (19)
39 references to Tools
Microsoft.Extensions.AI (4)
Microsoft.Extensions.AI.Abstractions (7)
Microsoft.Extensions.AI.Abstractions.Tests (5)
Microsoft.Extensions.AI.AzureAIInference (1)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (5)
Microsoft.Extensions.AI.Evaluation.Quality (9)
Microsoft.Extensions.AI.Integration.Tests (2)
Microsoft.Extensions.AI.Ollama (1)
Microsoft.Extensions.AI.Ollama.Tests (1)
Microsoft.Extensions.AI.OpenAI (4)