Condividi tramite


VectorStoreDataSource Class

Definition

The structure, containing Azure asset URI path and the asset type of the file used as a data source for the enterprise file search.

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

Constructors

VectorStoreDataSource(String, VectorStoreDataSourceAssetType)

Initializes a new instance of VectorStoreDataSource.

Properties

AssetIdentifier

Asset URI.

AssetType

The asset type *.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VectorStoreDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VectorStoreDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VectorStoreDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VectorStoreDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VectorStoreDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to