
Hacking GraphRAG with Amazon Bedrock π
Learn how to run GraphRAG pipelines backed by Amazon Bedrock using LiteLLM proxy.
"Everything is a graph" -- Matt Rickard

π‘ Tip: If you want to deep dive into the GraphRAG knowledge model, I recommend reading the Dataflow section of the GraphRAG docs.
π¨βπ» All code and documentation for this section is available on GitHub.
- π π₯ LiteLLM Proxy (preferred)
config.yaml
)
.env
which contains the environment variables required to run the GraphRAG pipeline, andsettings.yaml
which contains the settings for the pipeline
.env
file, we will place the GraphRAG API key (this is the key we defined in the LLM proxy config viz. βοΈπππ) as well as the base URL (π proxy) and our model choices
snapshots.graphml
is set to true
).π‘ Tip: I recommend watching this tutorial series if you're not familiar with Gephi (like I was).

- (Edge et al., 2024) From Local to Global: A Graph RAG Approach to Query-Focused Summarization

Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.