Package-level declarations
Types
Represents an interface for embedding documents into vector representations. Implementations of this interface should define how specific document types are processed and converted into embeddings for downstream applications.
A document storage implementation that utilizes embeddings for document ranking and retrieval. This class combines a document embedder for generating vector representations and a storage mechanism capable of associating documents with their respective embeddings. It provides ranking capabilities by measuring similarity between query embeddings and stored document embeddings.
A file-based implementation of document embedding storage.
FileVectorStorage is a class that manages the storage and retrieval of documents and their corresponding vector embeddings within a file system. It uses a DocumentProvider to handle document content and a FileSystemProvider to interact with the file system for storing and reading data.
An in-memory implementation of document embedding storage.
Implementation of an in-memory storage solution for text document embeddings.
A concrete implementation of VectorStorage that stores documents and their associated vector payloads in memory.
A file-system-based storage implementation for managing and embedding documents represented by file paths.
A JVM-specific implementation of FileVectorStorage for managing the storage of documents and associated vector embeddings on a file system.
A specialization of TextDocumentEmbedder designed for embedding and processing text documents in JVM-based file systems. It leverages a JVMDocumentProvider to read content from Path
objects and uses an Embedder
for generating and comparing vector embeddings of the text content.
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
.
A class that provides functionality for embedding text documents and comparing their embeddings.
A file-based implementation of document storage utilizing embeddings for ranking and retrieval.
Interface for managing storage and retrieval of documents along with their vector embeddings. This interface extends the DocumentStorageWithPayload interface and specializes it by using vectors (embeddings) as the associated payload for documents.