addDocuments(
documents: DocumentInterface<Record<string, any>>[],
options: AddDocumentOptions
): Promise| Name | Type | Description |
|---|---|---|
documents* | DocumentInterface<Record<string, any>>[] | |
options | AddDocumentOptions |
Adds an array of documents to the vector store.
An array of documents to be embedded and stored in the vector store.
Optional configurations for embedding and storage operations.