FoundryAITool.CreateFileSearchTool Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an AITool for file search over vector stores.
public static Microsoft.Extensions.AI.AITool CreateFileSearchTool(System.Collections.Generic.IEnumerable<string> vectorStoreIds, int? maxResultCount = default, OpenAI.Responses.FileSearchToolRankingOptions? rankingOptions = default, BinaryData? filters = default);
static member CreateFileSearchTool : seq<string> * Nullable<int> * OpenAI.Responses.FileSearchToolRankingOptions * BinaryData -> Microsoft.Extensions.AI.AITool
Public Shared Function CreateFileSearchTool (vectorStoreIds As IEnumerable(Of String), Optional maxResultCount As Nullable(Of Integer) = Nothing, Optional rankingOptions As FileSearchToolRankingOptions = Nothing, Optional filters As BinaryData = Nothing) As AITool
Parameters
- vectorStoreIds
- IEnumerable<String>
The IDs of vector stores to search.
- rankingOptions
- OpenAI.Responses.FileSearchToolRankingOptions
Optional ranking options for search results.
- filters
- BinaryData
Optional filters for search results.
Returns
An AITool for file search.