55 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.Integration.Tests (16)
ChatClientIntegrationTests.cs (15)
230Tools = [AIFunctionFactory.Create(() => secretNumber, "GetSecretNumber")]
246Tools = [AIFunctionFactory.Create((int a, int b) => a * b, "SecretComputation")]
261Tools = [AIFunctionFactory.Create((int a, int b) => a * b, "SecretComputation")]
298Tools = [func]
330Tools = [func]
372Tools =
414Tools = [AIFunctionFactory.Create((string personName) =>
446Tools = [tool],
467Tools = [getSecretNumberTool, shieldsUpTool],
565.ConfigureOptions(options => options.Tools = [getTemperature])
604.ConfigureOptions(options => options.Tools = [getTemperature])
646.ConfigureOptions(options => options.Tools = [getTemperature])
727new ChatOptions { Tools = [AIFunctionFactory.Create(() => secretNumber, "GetSecretNumber")] });
753new ChatOptions { Tools = [AIFunctionFactory.Create(() => secretNumber, "GetSecretNumber")] }))
907Tools = [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)
24 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.Integration.Tests (2)
Microsoft.Extensions.AI.Ollama (1)
Microsoft.Extensions.AI.Ollama.Tests (1)
Microsoft.Extensions.AI.OpenAI (3)