Partager via


FileSearchToolResource Class

Definition

A set of resources that are used by the file_search tool.

public class FileSearchToolResource : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.FileSearchToolResource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.FileSearchToolResource>
type FileSearchToolResource = class
    interface IJsonModel<FileSearchToolResource>
    interface IPersistableModel<FileSearchToolResource>
Public Class FileSearchToolResource
Implements IJsonModel(Of FileSearchToolResource), IPersistableModel(Of FileSearchToolResource)
Inheritance
FileSearchToolResource
Implements

Constructors

FileSearchToolResource()

Initializes a new instance of FileSearchToolResource.

Properties

VectorStoreIds

The ID of the vector store attached to this agent. There can be a maximum of 1 vector store attached to the agent.

VectorStores

The list of vector store configuration objects from Azure. This list is limited to one element. The only element of this list contains the list of azure asset IDs used by the search tool.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FileSearchToolResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FileSearchToolResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FileSearchToolResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FileSearchToolResource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FileSearchToolResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to