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