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: IZepCloudConfig
): Promise<ZepCloudVectorStore>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | The Documents to add. |
embeddings* | EmbeddingsInterface | Pass FakeEmbeddings, Zep Cloud will handle text embedding for you. |
zepConfig* | IZepCloudConfig | The configuration object for the Zep API. |