JVMTextFileDocumentEmbeddingStorage
class JVMTextFileDocumentEmbeddingStorage(embedder: Embedder, root: Path) : TextFileDocumentEmbeddingStorage<Path, Path> (source)
A JVM-specific implementation of TextFileDocumentEmbeddingStorage
tailored for text document embedding and storage within a file system. This class utilizes a JVMDocumentProvider
to handle document reading and manages embeddings using a provided Embedder
.
This storage solution is designed for efficient document querying and retrieval based on embeddings derived from textual content.
Parameters
embedder
The embedding implementation used to generate and compare vector embeddings.
root
The root directory where the document storage system is initialized.