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


AISearchIndexResource Class

Definition

A AI Search Index resource.

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

Constructors

AISearchIndexResource()

Initializes a new instance of AISearchIndexResource.

Properties

Filter

filter string for search resource.

IndexAssetId

Index asset id for search resource.

IndexConnectionId

An index connection id in an IndexResource attached to this agent.

IndexName

The name of an index in an IndexResource attached to this agent.

QueryType

Type of query in an AIIndexResource attached to this agent.

TopK

Number of documents to retrieve from search and present to the model.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AISearchIndexResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AISearchIndexResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AISearchIndexResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AISearchIndexResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AISearchIndexResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to