Chapter 2. A Basic RAG Assistant
The code and data for this chapter are in the
code/ch02anddata/ch02folders of the companion repository. Its README covers dependency installation, the environment variables you need, and how to create a free Neo4j Aura instance.
Enterprises increasingly compete on how well they can navigate and extract meaningful answers from their own organizational knowledge. As GenAI systems take on decision support, employee enablement, and intelligent search, companies are learning that quality information retrieval matters more than model performance.
The next two chapters follow OMG Consulting, a fictional yet relatable firm, as it journeys from a basic vector-search based assistant that helps them to manage their employee skills and assignments to a knowledge-graph-augmented retrieval system using GraphRAG. Through their story, we’ll uncover the practical steps, technical architecture, and mindset shift needed to move from text-chunks to connections, and from isolated ...
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