Protected
apiProtected
apiProtected
distanceProtected
namespaceOptional
kOrFields: number | Partial<VectorStoreRetrieverInput<TurbopufferVectorStore>>Optional
filter: TurbopufferFilterTypeOptional
callbacks: CallbacksOptional
tags: string[]Optional
metadata: Record<string, unknown>Optional
verbose: booleanOptional
maxText to look up documents similar to.
Protected
queryOptional
includeVector: booleanOptional
filter: TurbopufferFilterTypeOptional
k: numberOptional
filter: TurbopufferFilterTypeOptional
_callbacks: CallbacksOptional
filter: TurbopufferFilterTypeOptional
k: numberOptional
filter: TurbopufferFilterTypeOptional
_callbacks: CallbacksStatic
fromStatic
from
Return documents selected using the maximal marginal relevance. Maximal marginal relevance optimizes for similarity to the query AND diversity among selected documents.