Static method to create an instance of MyScaleStore from texts.
fromTexts(
texts: string[],
metadatas: object | object[],
embeddings: EmbeddingsInterface,
args: MyScaleLibArgs
): Promise<MyScaleStore>| Name | Type | Description |
|---|---|---|
texts* | string[] | The texts to use. |
metadatas* | object | object[] | The metadata associated with the texts. |
embeddings* | EmbeddingsInterface | The embeddings to use. |
args* | MyScaleLibArgs | The arguments for the MyScaleStore. |