Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4339

LangChain: Enhance support for Self querying retriever

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: 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/

            Assignee:
            Unassigned Unassigned
            Reporter:
            prakul.agarwal@mongodb.com Prakul Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: