9 instantiations of HostedFileSearchTool
Microsoft.Extensions.AI.Abstractions.Tests (4)
Tools\HostedFileSearchToolTests.cs (4)
14var tool = new HostedFileSearchTool(); 27var tool = new HostedFileSearchTool(props); 36var tool = new HostedFileSearchTool(null); 44var tool = new HostedFileSearchTool
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIConversionTests.cs (4)
166var fileSearchTool = new HostedFileSearchTool { MaximumResultCount = 10 }; 180var fileSearchTool = new HostedFileSearchTool 196var fileSearchTool = new HostedFileSearchTool 213var fileSearchTool = new HostedFileSearchTool(new Dictionary<string, object?>
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
137new HostedFileSearchTool(),
13 references to HostedFileSearchTool
Microsoft.Extensions.AI.Abstractions (2)
Tools\HostedFileSearchTool.cs (2)
18/// <summary>Initializes a new instance of the <see cref="HostedFileSearchTool"/> class.</summary> 23/// <summary>Initializes a new instance of the <see cref="HostedFileSearchTool"/> class.</summary>
Microsoft.Extensions.AI.Abstractions.Tests (4)
Tools\HostedFileSearchToolTests.cs (4)
14var tool = new HostedFileSearchTool(); 27var tool = new HostedFileSearchTool(props); 36var tool = new HostedFileSearchTool(null); 44var tool = new HostedFileSearchTool
Microsoft.Extensions.AI.OpenAI (3)
MicrosoftExtensionsAIResponsesExtensions.cs (1)
144/// <see cref="HostedFileSearchTool"/>, those types should be preferred instead of this method, as they are more portable,
OpenAIAssistantsChatClient.cs (1)
411case HostedFileSearchTool fileSearchTool:
OpenAIResponsesChatClient.cs (1)
551case HostedFileSearchTool fileSearchTool:
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIConversionTests.cs (4)
166var fileSearchTool = new HostedFileSearchTool { MaximumResultCount = 10 }; 180var fileSearchTool = new HostedFileSearchTool 196var fileSearchTool = new HostedFileSearchTool 213var fileSearchTool = new HostedFileSearchTool(new Dictionary<string, object?>