fromTexts(
texts: string[],
metadatas: object | object[],
_embeddings: EmbeddingsInterface| Name | Type | Description |
|---|---|---|
texts* | string[] | An array of text strings. |
metadatas* | object | object[] | Metadata for the texts. Can be a single object or an array of objects. |
_embeddings* | EmbeddingsInterface | Not used. |
args* | VectaraLibArgs |
Creates a VectaraStore instance from texts.
A VectaraLibArgs object for initializing the VectaraStore instance.