Ask a question to get started
Enter to sendā¢Shift+Enter new line
addDocuments(documents: Document<Record<string, any>>[]): Promise<void>
documents
Document<Record<string, any>>[]
Array of Document instances to be added to the store.
Document
Method to add documents to the memory vector store. It extracts the text from each document, generates embeddings for them, and adds the resulting vectors to the store.