FileVectorStorageBackend
A file-system-based implementation of VectorStorageBackend that manages the storage and retrieval of documents and their corresponding vector embeddings within a file system.
Documents and vectors are stored in separate subdirectories under the root path.
Parameters
A provider responsible for handling document serialization and deserialization.
A file system provider enabling read and write operations for file storage.
Root file path where the storage system will organize data.
Type Parameters
Type representing the document to be stored.
Type representing the file path in the storage system.
Inheritors
Constructors
Functions
Retrieves a flow of all documents.
Retrieves a flow of all documents with their vector embeddings.
Retrieves the vector payload associated with the document identified by the given document ID.
Reads a document along with its vector embedding by document ID.
Stores a document along with its pre-computed vector embedding.
Updates a document along with its pre-computed vector embedding under the specified ID. Only updates if a document with the given ID already exists.