Chapter 5. Basic GraphRAG Construction Patterns
Like elsewhere in software engineering, 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 of patterns. Just like there are software engineering patterns, there are also a number of patterns for building RAG, GraphRAG, and Agents. 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.
This chapter introduces the GraphRAG pattern catalog and covers the basic construction patterns in detail. Chapter 6 covers the basic model and retrieval patterns. Chapter 11 covers the advanced patterns ...
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