Creates a VectaraStore instance from texts.
fromTexts(
texts: string[],
metadatas: object | object[],
_embeddings: EmbeddingsInterface,
args: VectaraLibArgs
): Promise<VectaraStore>| 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 | A VectaraLibArgs object for initializing the VectaraStore instance. |