interface MatryoshkaRetrieverFields {
    largeEmbeddingModel: Embeddings;
    largeEmbeddingKey?: string;
    largeK?: number;
    searchType?: "cosine" | "innerProduct" | "euclidean";
    smallK?: number;
}

Properties

largeEmbeddingModel: Embeddings

The embedding model to use when generating the large embeddings.

largeEmbeddingKey?: string

The metadata key to store the larger embeddings.

Default

"lc_large_embedding"
largeK?: number

The number of documents to retrieve from the large store.

Default

8
searchType?: "cosine" | "innerProduct" | "euclidean"

The type of search to perform using the large embeddings.

Default

"cosine"
smallK?: number

The number of documents to retrieve from the small store.

Default

50

Generated using TypeDoc