JVMFileVectorStorage
A JVM-specific implementation of FileVectorStorage for managing the storage of documents and associated vector embeddings on a file system.
This class utilizes a JVMDocumentProvider along with a JVM-compatible FileSystemProvider.ReadWrite to handle document operations and vector storage in a structured directory format. It uses a root directory as the base for storing documents and their associated embeddings in separate directories.
Use this class to persistently store and retrieve documents and their vector payloads to and from a file-based system in JVM environments.
Parameters
root
The root directory where all documents and vector embeddings will be stored.
Constructors
Link copied to clipboard
Initializes the JVMFileVectorStorage with a specified root directory root.