InMemoryTextDocumentEmbeddingStorage

constructor(embedder: Embedder, documentReader: DocumentProvider<Path, Document>)(source)

Parameters

Document

The type representing the document being managed.

Path

The type representing the path or identifier for locating documents.

embedder

The embedder used for generating vectorized representations of text.

documentReader

The document provider facilitating access to document contents.