OptionalVectorDBSettings: anyOptionalcandidate: AccessCandidateDelete a document from the vector database
The name of the document
true if the document was deleted, false otherwise
ProtectedinitProtectedinitInsert a document into the vector database
The name of the document
The data to insert. Can be a string or a TParsedDocument
Optionaloptions: TInsertDocOptionsSearch the vector database for a query
The query to search for
Optionaloptions: TVectorDBSearchOptionsThe options for the search
The search results
Update a document in the vector database.
Note : this will index the new data on top of the existing data. if you want to replace the existing data, you should delete the document first (see deleteDoc)
The name of the document
The data to update. Can be a string or a TParsedDocument
Optionaloptions: TInsertDocOptions
Base class for all SDK objects.
This class provides a base implementation for all SDK objects. It handles event emission, promise management, and initialization.
This object is used to ensure that an SRE instance is initialized, and if not, create one with default settings.