Render the extracted graph via GraphViz.
Lots of the other implementations float around include this. It's an obvious selling point.
Would actually like it for blog posts.
Description
GraphRAG produces a knowledge graph and we want to create a visualization from it. At minimum the class should be able to take in this knowledge graph and render a PNG that can be rendered in something like a notebook.
Example of Outcome
Acceptance Criteria
Required Steps
Additional Context
- You would need to set up an API key
Background Information
What GraphRAG effectively does is extract information from an LLM and converts that Into an entity graph. This creates relationships that get placed into a document within a collection. This builds a knowledge graph of nodes where each entity has a one-directional relationship between other entities. With that you can feed the information back to the LLM to get more tailored answers based on the graph built. Because it is a graph, we should also be able to make graph visualizations to create an easy to Intuit visual between entities and the information that interlinks them.