Package-level declarations
Types
Link copied to clipboard
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.
Link copied to clipboard
A specialization of TextDocumentEmbedder designed for embedding and processing text documents in JVM-based file systems. It leverages a ai.koog.rag.base.files.JVMDocumentProvider to read content from Path objects and uses an Embedder for generating and comparing vector embeddings of the text content.
Link copied to clipboard
open class TextDocumentEmbedder<Document, Path>(documentReader: DocumentProvider<Path, Document>, embedder: Embedder) : DocumentEmbedder<Document>
A class that provides functionality for embedding text documents and comparing their embeddings.