Creates a new ZepVectorStore instance from an array of Documents. Each Document is added to a Zep collection.
fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
zepConfig: IZepConfig
): Promise<ZepVectorStore>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | The Documents to add. |
embeddings* | EmbeddingsInterface | The embeddings to use for vectorizing the Document contents. |
zepConfig* | IZepConfig | The configuration object for the Zep API. |