InMemoryDocumentEmbeddingStorage

constructor(embedder: DocumentEmbedder<Document>)(source)

Parameters

Document

The type of the documents being stored.

embedder

A mechanism responsible for embedding the documents into vector representations.