GraphRAG with MongoDB

XMLWordPrintableJSON

    • Type: Epic
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: AI/ML
    • None
    • GraphRAG with MongoDB
    • Python Drivers
    • Needed
    • 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
    • 0
    • 0
    • 8
    • 100
    • None
    • Hide

      Engineer(s): Casey, Noah

      2026-07-07

      Completed over the last 2+ weeks:

      • Implemented Graph RAG in LangChain

      Focus over the next 2 weeks

      • GraphRAG Visualization
      • LlamaIndex GraphRAG Implementation

      Anything else to share?

      • After the implementation of GraphRAG, work here has taken a pause. To that end, our next lined up tasks are a GraphRAG Visualization and a LlamaIndex Port
      Show
      Engineer(s): Casey, Noah 2026-07-07 Completed over the last 2+ weeks: Implemented Graph RAG in LangChain Focus over the next 2 weeks GraphRAG Visualization LlamaIndex GraphRAG Implementation Anything else to share? After the implementation of GraphRAG, work here has taken a pause. To that end, our next lined up tasks are a GraphRAG Visualization and a LlamaIndex Port
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Casey Clements
              Reporter:
              Prakul Agarwal
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                None
                None
                None
                None
                None