Ask a question to get started
Enter to sendā¢Shift+Enter new line
add_documents( self, documents: List[Document], ids: Optional[List[str
documents
List[Document]
Documents to add to the vectorstore.
ids
Optional[List[str]]
None
Optional list of unique ids that will be used as index in VectorStore. See note on ids in add_texts.
batch_size
int
DEFAULT_INSERT_BATCH_SIZE
Add documents to the vectorstore.
Number of documents to insert at a time. Tuning this may help with performance and sidestep MongoDB limits.