Share via


VectorStoreFileBatch Class

Definition

A batch of files attached to a vector store.

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

Properties

CreatedAt

The Unix timestamp (in seconds) for when the vector store files batch was created.

FileCounts

Files count grouped by status processed or being processed by this vector store.

Id

The identifier, which can be referenced in API endpoints.

Object

The object type, which is always vector_store.file_batch.

Status

The status of the vector store files batch, which can be either in_progress, completed, cancelled or failed.

VectorStoreId

The ID of the vector store that the file is attached to.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VectorStoreFileBatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VectorStoreFileBatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VectorStoreFileBatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VectorStoreFileBatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VectorStoreFileBatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to