Share via


FileSearchTool Constructors

Definition

Overloads

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.

vectorStoreIds
IList<String>

The IDs of the vector stores to search.

maxNumResults
Nullable<Int32>

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.

Applies to