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
k: numberOptional
filter: TurbopufferFilterTypeOptional
_callbacks: CallbacksOptional
filter: TurbopufferFilterTypeOptional
k: numberOptional
filter: TurbopufferFilterTypeOptional
_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
fromProtected
queryOptional
includeVector: booleanOptional
filter: TurbopufferFilterTypeGenerated using TypeDoc
Abstract class representing a store of vectors. Provides methods for adding vectors and documents, deleting from the store, and searching the store.