Abstract
Abstract
addAbstract
addOptional
kOrFields: number | Partial<VectorStoreRetrieverInput<SaveableVectorStore>>Optional
filter: string | objectOptional
callbacks: CallbacksOptional
tags: string[]Optional
metadata: Record<string, unknown>Optional
verbose: booleanAbstract
saveOptional
k: numberOptional
filter: string | objectOptional
_callbacks: CallbacksAbstract
similarityOptional
k: numberOptional
filter: string | objectOptional
_callbacks: CallbacksOptional
maxReturn documents selected using the maximal marginal relevance. Maximal marginal relevance optimizes for similarity to the query AND diversity among selected documents.
Text to look up documents similar to.
Static
fromStatic
fromStatic
loadGenerated using TypeDoc
Abstract class extending VectorStore with functionality for saving and loading the vector store.