56 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 (16)
ChatClientIntegrationTests.cs (15)
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]
414Tools =
542Tools = [AIFunctionFactory.Create((string personName) =>
574Tools = [tool],
595Tools = [getSecretNumberTool, shieldsUpTool],
693.ConfigureOptions(options => options.Tools = [getTemperature])
732.ConfigureOptions(options => options.Tools = [getTemperature])
774.ConfigureOptions(options => options.Tools = [getTemperature])
855new ChatOptions { Tools = [AIFunctionFactory.Create(() => secretNumber, "GetSecretNumber")] });
881new ChatOptions { Tools = [AIFunctionFactory.Create(() => secretNumber, "GetSecretNumber")] }))
1035Tools = [AIFunctionFactory.Create((int personId) =>
Microsoft.Extensions.AI.Ollama.Tests (4)
Microsoft.Extensions.AI.OpenAI.Tests (8)
OpenAIChatClientTests.cs (7)
351Tools = [tool],
430Tools = [tool],
513Tools = [tool],
589Tools = [tool],
1085Tools = [AIFunctionFactory.Create(([Description("The person whose age is being requested")] string personName) => 42, "GetPersonAge", "Gets the age of the specified person.")],
1169Tools = [new HostedWebSearchTool()],
1269Tools = [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 (18)
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)