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

GraphRAG with MongoDB

    • Type: Icon: Epic Epic
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: AI/ML
    • None
    • Python Drivers
    • Hide
      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?
      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • To Do
    • GraphRAG with MongoDB
    • 0
    • 0
    • 0
    • 100

      Context

      Graph retrieval augmented generation (Graph RAG, https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/) is emerging as a powerful complement to traditional vector search methods. 

      Key points:

      • Leverages structured data in graph databases (nodes and relationships)
      • Enhances depth and context of retrieved information
      • Complements existing vector search methods

      This provides a unique opportunity for MongoDB to put forth our differentiator of being a developer data platform and being able to provide a graph DB support in addition to Vector DB support. With GraphRAG, the knowledge graph is shallow enough to be represented in MongoDB document model, and the graph triplet be lookuped via the $graphLookup syntax. We should explore implementing this approach to improve our information retrieval capabilities.

       

      Next steps:

      1. Implement Graph RAG in LangChain (requested by Cisco)
      2. Implement Graph RAG support in LlamaIndex (requested by GE HC)
      3. Provide a proof-of-concept implementation
      4. Identify any performance/ resource limitations and potential challenges when using MongoDB for GraphRAG

       

       

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

              Created:
              Updated: