Constructs, adds docs to, and returns a RocksetStore object
fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
dbConfig: RocksetLibArgs
): Promise<RocksetStore>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | The Documents to store |
embeddings* | EmbeddingsInterface | The object used to embed queries and page content |
dbConfig* | RocksetLibArgs | The options to be passed into the RocksetStore constructor |