Share via


FileSearchToolCallItemResource Constructors

Definition

Overloads

FileSearchToolCallItemResource()

Source:
FileSearchToolCallItemResource.cs

Initializes a new instance of FileSearchToolCallItemResource for deserialization.

public FileSearchToolCallItemResource();
Public Sub New ()

Applies to

FileSearchToolCallItemResource(String, FileSearchToolCallItemResourceStatus, IEnumerable<String>)

Source:
FileSearchToolCallItemResource.cs

Initializes a new instance of FileSearchToolCallItemResource.

public FileSearchToolCallItemResource(string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResourceStatus status, System.Collections.Generic.IEnumerable<string> queries);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResource : string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResourceStatus * seq<string> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResource
Public Sub New (id As String, status As FileSearchToolCallItemResourceStatus, queries As IEnumerable(Of String))

Parameters

id
String
status
FileSearchToolCallItemResourceStatus

The status of the file search tool call. One of in_progress, searching, incomplete or failed,

queries
IEnumerable<String>

The queries used to search for files.

Exceptions

id or queries is null.

Applies to

FileSearchToolCallItemResource(ItemType, String, CreatedBy, IDictionary<String, BinaryData>, FileSearchToolCallItemResourceStatus, IReadOnlyList<String>, IReadOnlyList<FileSearchToolCallItemParamResult>)

Source:
FileSearchToolCallItemResource.cs

Initializes a new instance of FileSearchToolCallItemResource.

public FileSearchToolCallItemResource(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy createdBy, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResourceStatus status, System.Collections.Generic.IReadOnlyList<string> queries, System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemParamResult> results);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResourceStatus * System.Collections.Generic.IReadOnlyList<string> * System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemParamResult> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResource
Public Sub New (type As ItemType, id As String, createdBy As CreatedBy, serializedAdditionalRawData As IDictionary(Of String, BinaryData), status As FileSearchToolCallItemResourceStatus, queries As IReadOnlyList(Of String), results As IReadOnlyList(Of FileSearchToolCallItemParamResult))

Parameters

type
ItemType
id
String
createdBy
CreatedBy

The information about the creator of the item.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

status
FileSearchToolCallItemResourceStatus

The status of the file search tool call. One of in_progress, searching, incomplete or failed,

queries
IReadOnlyList<String>

The queries used to search for files.

results
IReadOnlyList<FileSearchToolCallItemParamResult>

The results of the file search tool call.

Applies to