-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: AI/ML
-
None
-
Python Drivers
A self-querying retriever is one that, as the name suggests, has the ability to query itself. Specifically, given any natural language query, the retriever uses a query-constructing LLM chain to write a structured query and then applies that structured query to its underlying VectorStore. This allows the retriever to not only use the user-input query for semantic similarity comparison with the contents of stored documents but to also extract filters from the user query on the metadata of stored documents and to execute those filters.
MongoDB Atlas has basic implicit support for self-querying as demonstrated in this notebook. Enhance the features like support for filters, etc
https://python.langchain.com/docs/integrations/retrievers/self_query/mongodb_atlas/
- is related to
-
INTPYTHON-275 LangChain: Natural language to MQL Database tool
- Backlog