Share via


VectorStoreWriter<T> Class

Definition

Writes chunks to the VectorStore using the default schema.

generic <typename T>
public ref class VectorStoreWriter sealed : Microsoft::Extensions::DataIngestion::IngestionChunkWriter<T>
public sealed class VectorStoreWriter<T> : Microsoft.Extensions.DataIngestion.IngestionChunkWriter<T>
type VectorStoreWriter<'T> = class
    inherit IngestionChunkWriter<'T>
Public NotInheritable Class VectorStoreWriter(Of T)
Inherits IngestionChunkWriter(Of T)

Type Parameters

T

The type of the chunk content.

Inheritance
VectorStoreWriter<T>

Constructors

VectorStoreWriter<T>(VectorStore, Int32, VectorStoreWriterOptions)

Initializes a new instance of the VectorStoreWriter<T> class.

Properties

VectorStoreCollection

Gets the underlying VectorStoreCollection<TKey,TRecord> used to store the chunks.

Methods

Dispose()

Disposes the writer and releases all associated resources.

(Inherited from IngestionChunkWriter<T>)
Dispose(Boolean)

Disposes the writer.

(Inherited from IngestionChunkWriter<T>)
WriteAsync(IAsyncEnumerable<IngestionChunk<T>>, CancellationToken)

Writes chunks asynchronously.

Applies to