JVMTextDocumentEmbedder
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.
This class enables the transformation of text documents into vector representations and provides utilities for measuring the similarity or difference between the embeddings of different documents.
Parameters
embedder
The Embedder used for generating vector embeddings and comparing embeddings.
Constructors
Link copied to clipboard
Creates a JVMTextDocumentEmbedder with the specified embedder.