Static method to create an instance of MyScaleStore from documents.
fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
args: MyScaleLibArgs
): Promise<MyScaleStore>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | The documents to use. |
embeddings* | EmbeddingsInterface | The embeddings to use. |
args* | MyScaleLibArgs | The arguments for the MyScaleStore. |