Class VectorStoreSource<TRecord>
Reads records from a Microsoft.Extensions.VectorData.VectorStoreCollection<TKey, TRecord> and sends them into the data flow. Set SearchVector for a similarity search or Filter for a filtered read.
Inheritance
DataFlowSource<TRecord>
DataFlowExecutableSource<TRecord>
VectorStoreSource<string, TRecord>
VectorStoreSource<TRecord>
Inherited Members
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
public class VectorStoreSource<TRecord> : VectorStoreSource<string, TRecord>, IDataFlowExecutableSource<TRecord>, IDataFlowSource<TRecord>, IDataFlowExecutableSource, IDataFlowSource, IDataFlowComponent, ILoggableTask where TRecord : class
Type Parameters
| Name | Description |
|---|---|
| TRecord | Type of outgoing records. |
Constructors
VectorStoreSource()
Declaration
public VectorStoreSource()VectorStoreSource(VectorStoreCollection<string, TRecord>)
Declaration
public VectorStoreSource(VectorStoreCollection<string, TRecord> collection)Parameters
| Type | Name | Description |
|---|---|---|
| VectorStoreCollection<string, TRecord> | collection |