Abstract
addDocuments
Optional
options: AddDocumentOptionsA promise resolving to an array of document IDs or void, based on implementation.
Implementation of VectorStoreInterface.addDocuments
Abstract
addVectors
Optional
options: AddDocumentOptionsA promise resolving to an array of document IDs or void, based on implementation.
Implementation of VectorStoreInterface.addVectors
Optional
kOrFields: number | Partial<VectorStoreRetrieverInput<VectorStore>>Optional
filter: string | objectOptional
callbacks: CallbacksOptional
tags: string[]Optional
metadata: Record<string, unknown>Optional
verbose: booleanVectorStoreRetriever
instance based on the provided parameters.Implementation of VectorStoreInterface.asRetriever
Optional
_params: Record<string, any>A promise that resolves once the deletion is complete.
Implementation of VectorStoreInterface.delete
Optional
maxMarginalRelevanceSearch
Implementation of VectorStoreInterface.maxMarginalRelevanceSearch
A promise resolving to an array of DocumentInterface
instances representing similar documents.
Implementation of VectorStoreInterface.similaritySearch
Abstract
similaritySearchVectorWithScore
Optional
filter: string | objectA promise resolving to an array of tuples containing documents and their similarity scores.
Implementation of VectorStoreInterface.similaritySearchVectorWithScore
A promise resolving to an array of tuples, each containing a document and its similarity score.
Implementation of VectorStoreInterface.similaritySearchWithScore
Implementation of VectorStoreInterface.toJSON
Inherited from Serializable.toJSON
Implementation of VectorStoreInterface.toJSONNotImplemented
Inherited from Serializable.toJSONNotImplemented
Static
fromDocuments
A promise that resolves to a new VectorStore
instance.
Static
fromTexts
A promise that resolves to a new VectorStore
instance.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4