FileDocumentEmbeddingStorage
constructor(embedder: DocumentEmbedder<Document>, documentProvider: DocumentProvider<Path, Document>, fs: FileSystemProvider.ReadWrite<Path>, root: Path)(source)
Parameters
embedder
A mechanism responsible for embedding the documents into vector representations.
documentProvider
Provider for reading/writing documents.
fs
Platform-specific file system provider for path manipulations.
root
Root directory where all vector storage will be located.
Type Parameters
Document
The type of the documents being stored.