Optional
options: AddDocumentOptionsOptional
options: AddDocumentOptionsOptional
kOrFields: number | Partial<VectorStoreRetrieverInput<VectorStoreInterface>>Optional
filter: string | objectOptional
callbacks: CallbacksOptional
tags: string[]Optional
metadata: Record<string, unknown>Optional
verbose: booleanOptional
k: numberOptional
filter: string | objectOptional
callbacks: CallbacksOptional
filter: string | objectOptional
k: numberOptional
filter: string | objectOptional
callbacks: CallbacksOptional
maxText to look up documents similar to.
Return documents selected using the maximal marginal relevance. Maximal marginal relevance optimizes for similarity to the query AND diversity among selected documents.