Chapter 5. Basic GraphRAG Patterns
Like elsewhere in software engineering, also AI systems and architectures rely on a variety of accumulated experiences (albeit of a shorter timeframe) that are used to construct and connect components. These experiences are usually captured in the form or patterns - software design patterns originate from the architectural patterns that Christopher Alexander gathered to capture the essence of humane accomondations for humans. So similar to software patterns we can capture learnings and good practices for building RAG, GraphRAG and Agents in patterns that we can compose to larger systems. In the previous chapters we have already demonstrated some of them in practice when OMG (unwittingly) used some of these patterns to model, ingest and retrieve their data.
Let’s now take a more conscious approach to how these data model and retrieval patterns are shaped and how they build upon each other to enable building a cohesive conversational AI infrastructure.
GraphRAG ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access