Constructs and returns a RocksetStore object given texts to store.
fromTexts(
texts: string[],
metadatas: object | object[],
embeddings: EmbeddingsInterface,
dbConfig: RocksetLibArgs
): Promise<RocksetStore>| Name | Type | Description |
|---|---|---|
texts* | string[] | The texts to store |
metadatas* | object | object[] | The metadatas that correspond to |
embeddings* | EmbeddingsInterface | The object used to embed queries and page content |
dbConfig* | RocksetLibArgs | The options to be passed into the RocksetStore constructor |