0
0
Support the library.
Your support helps keep books free for everyone ❤️
📍 Noticed
Essential GraphRAG: Knowledge Graph-Enhanced RAG
by Tomaž Bratanic
Sponsored
Synopsis
Upgrade your RAG applications with the power of knowledge graphs.
Retrieval Augmented Generation (RAG) is a great way to harness the power of generative AI for information not contained in a LLM’s training data and to avoid depending on LLM for factual information. However, RAG only works when ...
Retrieval Augmented Generation (RAG) is a great way to harness the power of generative AI for information not contained in a LLM’s training data and to avoid depending on LLM for factual information. However, RAG only works when ...
Upgrade your RAG applications with the power of knowledge graphs.
Retrieval Augmented Generation (RAG) is a great way to harness the power of generative AI for information not contained in a LLM’s training data and to avoid depending on LLM for factual information. However, RAG only works when you can quickly identify and supply the most relevant context to your LLM. Essential GraphRAG shows you how to use knowledge graphs to model your RAG data and deliver better performance, accuracy, traceability, and completeness.
Inside Essential GraphRAG you’ll learn:
• The benefits of using Knowledge Graphs in a RAG system
• How to implement a GraphRAG system from scratch
• The process of building a fully working production RAG system
• Constructing knowledge graphs using LLMs
• Evaluating performance of a RAG pipeline
Essential GraphRAG is a practical guide to empowering LLMs with RAG. You’ll learn to deliver vector similarity-based approaches to find relevant information, as well as work with semantic layers, deliver agentic RAG, and generate Cypher statements to retrieve data from a knowledge graph.
About the technology
A Retrieval Augmented Generation (RAG) system automatically selects and supplies domain-specific context to an LLM, radically improving its ability to generate accurate, hallucination-free responses. The GraphRAG pattern employs a knowledge graph to structure the RAG’s input, taking advantage of existing relationships in the data to generate rich, relevant prompts.
About the book
Essential GraphRAG shows you how to build and deploy a production-quality GraphRAG system. You’ll learn to extract structured knowledge from text and how to combine vector-based and graph-based retrieval methods. The book is rich in practical examples, from building a vector similarity search retrieval tool and an Agentic RAG application, to evaluating performance and accuracy, and more.
What's inside
• Embeddings, vector similarity search, and hybrid search
• Turning natural language into Cypher database queries
• Microsoft’s GraphRAG pipeline
• Agentic RAG
About the reader
For readers with intermediate Python skills and some experience with a graph database like Neo4j.
About the author
The author of Manning’s Graph Algorithms for Data Science and a contributor to LangChain and LlamaIndex, Tomaž Bratanic has extensive experience with graphs, machine learning, and generative AI. Oskar Hane leads the Generative AI engineering team at Neo4j.
Table of Contents
1 Improving LLM accuracy
2 Vector similarity search and hybrid search
3 Advanced vector retrieval strategies
4 Generating Cypher queries from natural language questions
5 Agentic RAG
6 Constructing knowledge graphs with LLMs
7 Microsoft’s GraphRAG implementation
8 RAG application evaluation
A The Neo4j environment
You May Also Like
My Favourite Top Models
Stefan Soell
Journey to Munich: A Maisie Dobbs Novel
Jacqueline Winspear
I Was Always Becoming: A Memoir of Trauma, Motherhood, Generational Healing & Finding Strength as a Māori Woman
Pauline Dunn Muriwai Gray
Creative Nature & Outdoor Photography
Brenda Tharp
Mediumship Scrying & Transfiguration for Beginners: A Guide to Spirit Communication (Llewellyn's For Beginners, 51)
Diana Palm
Rare First Edition Francis Trevelyan Miller Byrd s Great Adventure Winston 1930 [Hardcover] Francis Trevelyan Miller
Francis Trevelyan Miller
Non Fiction Picks
View All
Behind Caesar's Back: Rumor, Gossip, and the Making of the Roman Emperors
Caillan Davenport
Sociopath: A Memoir
Patric Gagne
I’m Glad My Mom Died
Jennette McCurdy
Of Boys and Men: Why the Modern Male Is Struggling, Why It Matters, and What to Do About It
Richard V. Reeves
Being Thomas Jefferson: An Intimate History
Andrew Burstein
V13
Emmanuel Carrère