-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: AI/ML
-
None
-
Python Drivers
TLDR: Set custom ids on `add_documents` in MongoDBAtlasVectorSearch
Context
One of our stakeholders wants support for a LangChain feature [LangChain Indexing|https://python.langchain.com/docs/modules/data_connection/indexing/] and our library currently does not support it. In order to get that support, we need to add `ids` to our function `add_documents` function signature and entertain submitting documents with custom ids rather than the explicit MongoDB defined ones.
Our change will need to be made to the `add_texts` which is the inner function called by `add_documents`.
- is depended on by
-
PYTHON-4534 Langchain: Ensure datetimes are json-serializable
- Closed
-
INTPYTHON-328 [LangChain] MongoDBVectorSearch.delete/.add_texts function rework
- Closed
- is related to
-
INTPYTHON-328 [LangChain] MongoDBVectorSearch.delete/.add_texts function rework
- Closed