FileDocumentEmbeddingStorage

constructor(embedder: DocumentEmbedder<Document>, documentProvider: DocumentProvider<Path, Document>, fs: FileSystemProvider.ReadWrite<Path>, root: Path)(source)

Parameters

Document

The type of the documents being stored.

embedder

A mechanism responsible for embedding the documents into vector representations.

fs

Platform-specific file system provider for path manipulations

root

Root directory where all vector storage will be located