Adds documents to the vector store, embedding them first through the
embeddings instance.
addDocuments(
documents: DocumentInterface<Record<string, any>>[],
options: __type
): Promise<string[]>| Name | Type | Description |
|---|---|---|
documents* | DocumentInterface<Record<string, any>>[] | Array of documents to embed and add. |
options | __type | Optional configuration for embedding and storing documents. |