TextFileDocumentEmbeddingStorage
constructor(embedder: Embedder, documentProvider: DocumentProvider<Path, Document>, fs: FileSystemProvider.ReadWrite<Path>, root: Path)(source)
Parameters
Document
The type of document to be stored and processed.
embedder
Converts text into vector embeddings and calculates similarity between embeddings.
reader
Extracts text from documents of type Document for embedding purposes.
fs
Platform-specific file system provider for path manipulations
root
Root directory where all vector storage will be located