Constructs a new RocksetStore
Object used to embed queries and page content
OptionalfilterGets 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
Optionalfilter: stringThe SQL WHERE clause to filter by
StaticfromConstructs, 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
StaticfromConstructs 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
StaticwithCreates 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
OptionalcollectionOptions: CreateCollectionRequestThe arguments to sent with the
HTTP request when creating the
collection. Setting a field mapping
that VECTOR_ENFORCEs is recommended
when using this function. See
https://rockset.com/docs/vector-functions/#vector_enforce
Exposes Rockset's vector store/search functionality