Creates a new Rockset collection and returns a RocksetStore that uses it
withNewCollection(
embeddings: EmbeddingsInterface,
dbConfig: RocksetLibArgs,
collectionOptions: CreateCollectionRequest
): Promise<RocksetStore>| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | Object used to embed queries and page content |
dbConfig* | RocksetLibArgs | The options to be passed into the RocksetStore constructor |
collectionOptions | CreateCollectionRequest | The arguments to sent with the
HTTP request when creating the
collection. Setting a field mapping
that |