Class VectorStoreDestination<TRecord>

Writes batches of records into a Microsoft.Extensions.VectorData.VectorStoreCollection<TKey, TRecord>. Embeddings are not created here. Run an embedding transformation before this destination when the record needs a vector.

Inheritance
VectorStoreDestination<TRecord>
Inherited Members
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
    public class VectorStoreDestination<TRecord> : VectorStoreDestination<string, TRecord>, IDataFlowBatchDestination<TRecord>, IDataFlowDestination<TRecord>, IDataFlowBatchDestination, IDataFlowDestination, IDataFlowComponent, ILoggableTask where TRecord : class
Type Parameters
NameDescription
TRecord

Type of ingoing records.

Constructors

VectorStoreDestination()

Declaration
    public VectorStoreDestination()

VectorStoreDestination(VectorStoreCollection<string, TRecord>)

Declaration
    public VectorStoreDestination(VectorStoreCollection<string, TRecord> collection)
Parameters
TypeNameDescription
VectorStoreCollection<string, TRecord>collection

VectorStoreDestination(VectorStoreCollection<string, TRecord>, int)

Declaration
    public VectorStoreDestination(VectorStoreCollection<string, TRecord> collection, int batchSize)
Parameters
TypeNameDescription
VectorStoreCollection<string, TRecord>collection
intbatchSize

Implements