Abstract
Abstract
addOptional
options: AddDocumentOptionsAbstract
addOptional
options: AddDocumentOptionsOptional
kOrFields: number | Partial<VectorStoreRetrieverInput<VectorStore>>Optional
filter: string | objectOptional
callbacks: CallbacksOptional
tags: string[]Optional
metadata: Record<string, unknown>Optional
verbose: booleanOptional
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.
Abstract
similarityOptional
filter: string | objectStatic
fromStatic
from
Abstract class representing a store of vectors. Provides methods for adding vectors and documents, deleting from the store, and searching the store.