Creates a VectaraStore instance from documents.
fromDocuments(
docs: Document<Record<string, any>>[],
_embeddings: EmbeddingsInterface,
args: VectaraLibArgs
): Promise<VectaraStore>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | An array of Document objects. |
_embeddings* | EmbeddingsInterface | Not used. |
args* | VectaraLibArgs | A VectaraLibArgs object for initializing the VectaraStore instance. |