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