Creates a new instance of the SingleStoreVectorStore class from a list of texts.
fromTexts(
texts: string[],
metadatas: object[],
embeddings: EmbeddingsInterface,
dbConfig: SingleStoreVectorStoreConfig
): Promise<SingleStoreVectorStore>| Name | Type | Description |
|---|---|---|
texts* | string[] | An array of strings. |
metadatas* | object[] | An array of metadata objects. |
embeddings* | EmbeddingsInterface | An Embeddings object. |
dbConfig* | SingleStoreVectorStoreConfig | A SingleStoreVectorStoreConfig object. |