VectorStoreWriter<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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. |