Поделиться через


AzureAISearchToolResource Class

Definition

A set of index resources used by the azure_ai_search tool.

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

Constructors

AzureAISearchToolResource()

Initializes a new instance of AzureAISearchToolResource.

AzureAISearchToolResource(String, String, Int32, String, Nullable<AzureAISearchQueryType>)

Properties

IndexList

The indices attached to this agent. There can be a maximum of 1 index resource attached to the agent.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AzureAISearchToolResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureAISearchToolResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureAISearchToolResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureAISearchToolResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureAISearchToolResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to