Ask a question to get started
Enter to send•Shift+Enter new line
Method to add documents to the vector store. It converts the documents into vectors, and adds them to the store.
addDocuments(documents: Document<Record<string, any>>[], options: __type): Promise<void>
documents
Document<Record<string, any>>[]
Array of Document instances.
Document
options
__type
Optional arguments for adding documents