FileSearchTool Constructors
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.
Overloads
| Name | Description |
|---|---|
| FileSearchTool() |
Initializes a new instance of FileSearchTool for deserialization. |
| FileSearchTool(IEnumerable<String>) |
Initializes a new instance of FileSearchTool. |
| FileSearchTool(ToolType, IDictionary<String,BinaryData>, IList<String>, Nullable<Int32>, RankingOptions, BinaryData) |
Initializes a new instance of FileSearchTool. |
FileSearchTool()
- Source:
- FileSearchTool.cs
Initializes a new instance of FileSearchTool for deserialization.
public FileSearchTool();
Public Sub New ()
Applies to
FileSearchTool(IEnumerable<String>)
- Source:
- FileSearchTool.cs
Initializes a new instance of FileSearchTool.
public FileSearchTool(System.Collections.Generic.IEnumerable<string> vectorStoreIds);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchTool : seq<string> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchTool
Public Sub New (vectorStoreIds As IEnumerable(Of String))
Parameters
- vectorStoreIds
- IEnumerable<String>
The IDs of the vector stores to search.
Exceptions
vectorStoreIds is null.
Applies to
FileSearchTool(ToolType, IDictionary<String,BinaryData>, IList<String>, Nullable<Int32>, RankingOptions, BinaryData)
- Source:
- FileSearchTool.cs
Initializes a new instance of FileSearchTool.
public FileSearchTool(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, System.Collections.Generic.IList<string> vectorStoreIds, int? maxNumResults, Azure.AI.AgentServer.Contracts.Generated.OpenAI.RankingOptions rankingOptions, BinaryData filters);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType * System.Collections.Generic.IDictionary<string, BinaryData> * System.Collections.Generic.IList<string> * Nullable<int> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.RankingOptions * BinaryData -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchTool
Public Sub New (type As ToolType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), vectorStoreIds As IList(Of String), maxNumResults As Nullable(Of Integer), rankingOptions As RankingOptions, filters As BinaryData)
Parameters
- type
- ToolType
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
The maximum number of results to return. This number should be between 1 and 50 inclusive.
- rankingOptions
- RankingOptions
Ranking options for search.
- filters
- BinaryData
A filter to apply.