FileSearchToolCallItemResource 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 |
|---|---|
| FileSearchToolCallItemResource() |
Initializes a new instance of FileSearchToolCallItemResource for deserialization. |
| FileSearchToolCallItemResource(String, FileSearchToolCallItemResourceStatus, IEnumerable<String>) |
Initializes a new instance of FileSearchToolCallItemResource. |
| FileSearchToolCallItemResource(ItemType, String, CreatedBy, IDictionary<String, BinaryData>, FileSearchToolCallItemResourceStatus, IReadOnlyList<String>, IReadOnlyList<FileSearchToolCallItemParamResult>) |
Initializes a new instance of FileSearchToolCallItemResource. |
FileSearchToolCallItemResource()
Initializes a new instance of FileSearchToolCallItemResource for deserialization.
public FileSearchToolCallItemResource();
Public Sub New ()
Applies to
FileSearchToolCallItemResource(String, FileSearchToolCallItemResourceStatus, IEnumerable<String>)
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
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>)
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.
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.
The results of the file search tool call.