Constructs a new RocksetStore
Object used to embed queries and page content
Optional
filterGets a string representation of the type of this VectorStore
Embeds and adds Documents to the store.
The documents to store
The _id's of the documents added
Adds vectors to the store given their corresponding Documents
The vectors to store
The Documents they represent
The _id's of the added documents
Deletes Rockset documements given their _id's
The IDS to remove documents with
Deletes the collection this RocksetStore uses
Optional
waitUntilDeletion: booleanWhether to sleep until the collection is ready to be queried
Gets the most relevant documents to a query along with their similarity score. The returned documents are ordered by similarity (most similar at the first index)
The embedded query to search the store by
The number of documents to retreive
Optional
filter: stringThe SQL WHERE
clause to filter by
Static
fromConstructs, adds docs to, and returns a RocksetStore object
The Documents to store
The object used to embed queries and page content
The options to be passed into the RocksetStore constructor
Static
fromConstructs and returns a RocksetStore object given texts to store.
The texts to store
The metadatas that correspond to
The object used to embed queries and page content
The options to be passed into the RocksetStore constructor
Static
withCreates a new Rockset collection and returns a RocksetStore that uses it
Object used to embed queries and page content
The options to be passed into the RocksetStore constructor
Optional
collectionOptions: CreateCollectionRequestThe arguments to sent with the
HTTP request when creating the
collection. Setting a field mapping
that VECTOR_ENFORCE
s is recommended
when using this function. See
https://rockset.com/docs/vector-functions/#vector_enforce
Exposes Rockset's vector store/search functionality