FileSearchToolCallItemResource Class
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.
The results of a file search tool call. See the file search guide for more information.
public class FileSearchToolCallItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.FileSearchToolCallItemResource>
type FileSearchToolCallItemResource = class
inherit ItemResource
interface IUtf8JsonSerializable
interface IJsonModel<FileSearchToolCallItemResource>
interface IPersistableModel<FileSearchToolCallItemResource>
Public Class FileSearchToolCallItemResource
Inherits ItemResource
Implements IJsonModel(Of FileSearchToolCallItemResource), IPersistableModel(Of FileSearchToolCallItemResource)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| FileSearchToolCallItemResource() |
Initializes a new instance of FileSearchToolCallItemResource for deserialization. |
| FileSearchToolCallItemResource(ItemType, String, CreatedBy, IDictionary<String, BinaryData>, FileSearchToolCallItemResourceStatus, IReadOnlyList<String>, IReadOnlyList<FileSearchToolCallItemParamResult>) |
Initializes a new instance of FileSearchToolCallItemResource. |
| FileSearchToolCallItemResource(String, FileSearchToolCallItemResourceStatus, IEnumerable<String>) |
Initializes a new instance of FileSearchToolCallItemResource. |
Properties
| Name | Description |
|---|---|
| CreatedBy |
The information about the creator of the item. (Inherited from ItemResource) |
| Id |
Gets the id. (Inherited from ItemResource) |
| Queries |
The queries used to search for files. |
| Results |
The results of the file search tool call. |
| Status |
The status of the file search tool call. One of |
| Type |
Gets or sets the type. (Inherited from ItemResource) |
Methods
| Name | Description |
|---|---|
| DeserializeFileSearchToolCallItemResource(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |