Static method to create an instance of CassandraStore from texts.
fromTexts(
texts: string[],
metadatas: object | object[],
embeddings: EmbeddingsInterface,
args: CassandraLibArgs
): Promise<CassandraStore>| 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* | CassandraLibArgs | The arguments for the CassandraStore. |