Language

VectorStoreWriter Class

Definition

Writes chunks to the VectorStore using the default schema.

generic 
public ref class VectorStoreWriter sealed : Microsoft::Extensions::DataIngestion::IngestionChunkWriter
public sealed class VectorStoreWriter : Microsoft.Extensions.DataIngestion.IngestionChunkWriter
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

Constructors

Name Description
VectorStoreWriter(VectorStore, Int32, VectorStoreWriterOptions)

Initializes a new instance of the VectorStoreWriter class.

Properties

Name Description
VectorStoreCollection

Gets the underlying VectorStoreCollection used to store the chunks.

Methods

Name Description
Dispose()

Disposes the writer and releases all associated resources.

(Inherited from IngestionChunkWriter)
Dispose(Boolean)

Disposes the writer.

(Inherited from IngestionChunkWriter)
WriteAsync(IAsyncEnumerable>, CancellationToken)

Writes chunks asynchronously.

Applies to