SlideShare a Scribd company logo
Beyond Limits: GraphRAG
Kristof Neys, Neo4j Field Engineering
Outline
1) Brave New World…
2) Why RAG?
3) Can Knowledge Graphs help?
4) From RAG to GraphRAG
5) Improve your R
6) An example….
7) Does it work?
Neo4j Inc. All rights reserved 2023
2
But First - A Word from our sponsor…
Brave New World…
The State of Generative AI
GENAI
GENAI
GENAI
GENAI
The Good 💪
The State of Generative AI
GENAI
GENAI
The Good 💪
The State of Generative AI
GENAI
GENAI
The Good 💪
The State of Generative AI
The Bad 👎
GENAI
GENAI
The Good 💪
The State of Generative AI
The Bad 👎
GENAI
GENAI
GENAI
The Good 💪 The Bad 👎
The State of Generative AI
The Ugly 😱
GENAI
GENAI
GENAI
The State of Generative AI
The Good 💪 The Bad 👎 The Ugly 😱
GenAI Alone != Right Outcomes 🤯
GENAI
Challenges with GenAI: Stochastic Parrot?
● Lack of enterprise domain knowledge
● Inability to verify answers
● Hallucination
● Ethical and data bias concerns
● and more
12 Neo4j Inc. All rights reserved 2024
GenAI
PARROT
13
Managing AI risk
is the biggest
barrier to scaling
AI initiatives1
Skepticism: Over half of business leaders are
skeptical in adopting GenAI.2
Neo4j Inc. All rights reserved 2024
Explainability: Over 80% of executives worry
about non-transparent nature of GenAI could
result in poor or unlawful decisions.2
Reliability: Inaccuracy and hallucination are two of
the most-cited risks of adopting GenAI
technology at all levels of an organisation.3
1. Deloitte’s State of AI in the Enterprise 2. BCG’s Digital Acceleration Index Study 2023 3. McKinsey: The state of AI in 2023
14 Neo4j Inc. All rights reserved 2024
How can enterprises use
domain-specific knowledge
to rapidly build accurate,
contextual, and explainable
GenAI applications?
Problem
Statement
Why RAG?
And what is it anyway…
Retrieval Augmented Generation:
The ability to dynamically query a large
text corpus to incorporate relevant factual
knowledge into the responses generated
by the underlying language model
Neo4j Inc. All rights reserved 2023
17
RAG augments LLMs by retrieving up-to-date,
contextual external data to inform responses:
Retrieve - Find documents of interest for the
user question
Augment: Combine the user question with
the relevant documents
Generate: Feed enhanced prompt to an LLM
and obtain answer
Retrieval Augmented Generation
Database of Truth
RAG is becoming an industry standard
Why RAG With Vector Databases Fall Short
Similarity is insufficient for rich enterprise reasoning
Neo4j Inc. All rights reserved 2024
18
1
3
2
4
Only leverage a fraction of
your data: Beyond simple
“metadata”, vector databases
alone fail to capture relationships
from structured data
Miss critical context: Struggle to
capture connections across
nuanced facts, making it
challenging to answer multi-step,
domain-specific, questions
Vector Similarity ≠ Relevance:
Vector search uses an incomplete
measure of similarity. Relying on it
solely can result in irrelevant and
duplicative results
Lack explainability:
The black-box nature of
vectors lacks transparency
and explainability
Can Knowledge Graphs
help?
Recap a Knowledge Graph
A knowledge graph is a
structured representation
of facts, consisting of
entities, relationships and
semantic descriptions
20 Neo4j Inc. All rights reserved 2024
MICA
ANDRE
Name: “Andre”
Born: May 29, 1970
Twitter: “@andre123”
Name: “Mica”
Born: Dec 5, 1975
CAR
Brand “Volvo”
Model: “V70”
Description: ‘Blue external, red seats’
#days: 5/7
LOVES
LOVES
LIVES WITH
O
W
N
S
D
R
I
V
E
S
Since:
Jan 10, 2011
Knowledge Graphs – New & Improved!
NOW
WITH VECTORS!
Now with Vectors!
Vectors as Node properties
=
Vector Search + Graph
Traversal
22 Neo4j Inc. All rights reserved 2024
MICA
ANDRE
Name: “Andre”
Born: May 29, 1970
Twitter: “@andre123”
Name: “Mica”
Born: Dec 5, 1975
CAR
Brand “Volvo”
Model: “V70”
Description:
#days: 5/7
LOVES
LOVES
LIVES WITH
O
W
N
S
D
R
I
V
E
S
Since:
Jan 10, 2011
Neo4j Inc. All rights reserved 2023
23
Neo4j - Vector Database Capabilities
Vector Search Data Science
Knowledge
Graph
● Find nodes using an implicit similarity search in
the vector index* and enrich with additional
explicit relationships from the knowledge graph
● Hybrid Search with text
● Create vectors of network information using
node embeddings
Now a top 10 vector database on LangChain.
Neo4j Inc. All rights reserved 2023
24
By 2025, 50% of generative AI initiatives
will have improved reliability and
transparency by combining deep learning
foundation models with knowledge graphs
or other composite AI elements.
Technological Implications of Generative AI, August 2023
Impact Radar for GenAI (2024)
From RAG to GraphRAG
GraphRAG
Technique for richly
understanding text datasets
by combining text extraction,
network analysis, LLM
prompting and summarization
into a single end-to-end
system
Neo4j Inc. All rights reserved 2024
A Neo4j Knowledge Graph combined with LLM’s
obtains some unique improvements:
Accuracy - Obtain better answers compared
to plain vector searches
Specificity: domain specific, factual
knowledge on your subject
Explainability: Provide the user with more
reasoning on how the results were obtained.
Security: Role Based Access Control
Retrieval Augmented Generation
Evolving From RAG to GraphRAG
We are not making this up…
Neo4j Inc. All rights reserved 2023
28
You need a better R…
Quick quiz for SWAG
Neo4j Inc. All rights reserved 2023
30
Neo4j Inc. All rights reserved 2023
31
Neo4j Inc. All rights reserved 2023
32
Data Science on Graphs: Graph Data Science…
Vector Search
Graph
Data Science
Knowledge
Graph
Bring the context of your connected data into
a format that other pipelines can ingest.
The Largest Catalog of
Graph Algorithms
Graph Vector Embeddings
for Machine Learning
At an
inflection
point…
Neo4j Inc. All rights reserved 2023
34
GraphRAG with Neo4j
Find similar documents
and content
Identify entities
associated to content and
patterns
in connected data
Improve GenAI inferences
and insights. Discover new
relationships and entities
Unify vector search, knowledge graph and data science
capabilities to improve RAG quality and effectiveness
Vector Search
Graph
Data Science
Knowledge
Graph
An example…
RFP Generation GenAI App
35 Neo4j Inc. All rights reserved 2024
Why a KG Matters in RFP GenAI App?
36
Challenges Outcomes
Time consuming to read previous
RFP across multiple repositories
Knowledge base to collect, store
and retrieve domain-specific
information
Repetitive and manual tasks to
synthesise the content
Drive efficient, accurate,
contextual and explainable way to
streamline RFP responses
Non-standard structure of RFP
making it difficult to do data
modelling
Flexible storage that’s adoptable
to the varying structure of an RFP
Neo4j Inc. All rights reserved 2024
Anatomy of an RFP Document
37
AWS RFP
Intro Objectives Proposal
About the Company
Financial Result
Content Subsection 1
Subsection 2
Subsection 1.1
Content
Content Content
Content
Content
Content
Content
Content
Content
Content
Neo4j Inc. All rights reserved 2024
Anatomy of an RFP Document
38
AWS RFP
Intro Objectives Proposal
About the Company
Financial Result
Content Subsection 1
Subsection 2
Subsection 1.1
Content
Content Content
Content
Content
Content
Content
Content
Content
Content
Neo4j Inc. All rights reserved 2024
RFP Document as a Graph
39
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Neo4j Inc. All rights reserved 2024
Why Neo4j KG Matters in RFP GenAI App?
40
Challenges Outcomes
Time consuming to read previous
RFP across multiple repositories
Knowledge base to collect, store
and retrieve domain-specific
information
Repetitive and manual tasks to
synthesise the content
Drive efficient, accurate,
contextual and explainable way to
streamline RFP responses
Non-standard structure of RFP
making it difficult to do data
modelling
Flexible storage that’s adoptable
to the varying structure of an RFP
Neo4j Inc. All rights reserved 2024
Why Neo4j KG Matters in RFP GenAI App?
41
Challenges Outcomes
Time consuming to read previous
RFP across multiple repositories
Knowledge base to collect, store
and retrieve domain-specific
information
Repetitive and manual tasks to
synthesise the content
Drive efficient, accurate,
contextual and explainable way to
streamline RFP responses
Non-standard structure of RFP
making it difficult to do data
modelling
Flexible storage that’s adoptable
to the varying structure of an RFP
Neo4j Inc. All rights reserved 2024
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Knowledge Graph as the Knowledge Base
Document in a KG Knowledge Graph
42 Neo4j Inc. All rights reserved 2024
Knowledge Graph as the Knowledge Base
Document in a KG Knowledge Graph
43 Neo4j Inc. All rights reserved 2024
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Why Neo4j KG Matters in RFP GenAI App?
44
Challenges Outcomes
Time consuming to read previous
RFP across multiple repositories
Knowledge base to collect, store
and retrieve domain-specific
information
Repetitive and manual tasks to
synthesise the content
Drive efficient, accurate,
contextual and explainable way to
streamline RFP responses
Non-standard structure of RFP
making it difficult to do data
modelling
Flexible storage that’s adoptable
to the varying structure of an RFP
Neo4j Inc. All rights reserved 2024
Why Neo4j KG Matters in RFP GenAI App?
45
Challenges Outcomes
Time consuming to read previous
RFP across multiple repositories
Knowledge base to collect, store
and retrieve domain-specific
information
Repetitive and manual tasks to
synthesise the content
Drive efficient, accurate,
contextual and explainable way to
streamline RFP responses
Non-standard structure of RFP
making it difficult to do data
modelling
Flexible storage that’s adoptable
to the varying structure of an RFP
Neo4j Inc. All rights reserved 2024
Accurate, Contextual and Explainable
46 Neo4j Inc. All rights reserved 2024
GenAI App
Who is the main respondent
of the AWS RFP?
Accurate, Contextual and Explainable
47 Neo4j Inc. All rights reserved 2024
Who is the main
respondent of the
AWS RFP?
GenAI App
Embedding
Model
User
Question
Accurate, Contextual and Explainable
48 Neo4j Inc. All rights reserved 2024
Who is the main
respondent of the
AWS RFP?
GenAI App
Embedding
Model
User
Question
Vector Embedding
Accurate, Contextual and Explainable
49 Neo4j Inc. All rights reserved 2024
Who is the main
respondent of the
AWS RFP?
GenAI App
Embedding
Model
User
Question
Similarity Search using
Neo4j Vector Index
Vector Embedding
Accurate, Contextual and Explainable
50 Neo4j Inc. All rights reserved 2024
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Similarity Search using
Neo4j Vector Index
Response
from ABC
Company
Signed by
John
Smith
He’s the
General
Manager
Accurate, Contextual and Explainable
51 Neo4j Inc. All rights reserved 2024
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Contextual
Knowledge Retrieval
within Neo4j KG
Response
from ABC
Company
Signed by
John
Smith
He’s the
General
Manager
Accurate, Contextual and Explainable
52 Neo4j Inc. All rights reserved 2024
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Knowledge Retrieval
to aid in
Explainability
Response
from ABC
Company
Signed by
John
Smith
He’s the
General
Manager
Accurate, Contextual and Explainable
53 Neo4j Inc. All rights reserved 2024
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Fine Grained Access
Control to prevent
unwarranted Knowledge
Retrieval
Response
from ABC
Company
Signed by
John
Smith
He’s the
General
Manager
Accurate, Contextual and Explainable
54 Neo4j Inc. All rights reserved 2024
Who is the main
respondent of the
AWS RFP?
GenAI App
Embedding
Model
User
Question
Similarity Search using
Neo4j Vector Index
Vector Embedding
Accurate, Contextual and Explainable
55 Neo4j Inc. All rights reserved 2024
Who is the main
respondent of the
AWS RFP?
GenAI App
Embedding
Model
User
Question
Vector Embedding
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Response
from ABC
Company
Signed by
John
Smith
He’s the
General
Manager
Similarity Result
Similarity Search using
Neo4j Vector Index
Bedrock
LLM
Accurate, Contextual and Explainable
56 Neo4j Inc. All rights reserved 2024
Who is the main
respondent of the
AWS RFP?
GenAI App
Embedding
Model
User
Question
Vector Embedding
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Response
from ABC
Company
Signed by
John
Smith
He’s the
General
Manager
Similarity Result
Similarity Search using
Neo4j Vector Index
The main respondent of
the AWS RFP is John
Smith, General Manager
XYZ Group representing
ABC Company (source:
RFP_AWS.pdf, page: 38)
AWS RFP
Intro Objectives Proposal
Content
Chunk
Content
Chunk
Content
Chunk
Financial
Result
About the
Company
Content
Chunk
Content
Chunk
Content
Chunk
Subsection
2
Subsection
1
Content
Chunk
Content
Chunk
Subsection
1.1
Content
Chunk
Content
Chunk
Content
Chunk
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Vector
Embedding
Response
from ABC
Company
Signed by
John
Smith
He’s the
General
Manager
Similarity +
Contextual Result
Bedrock
LLM
How about Graph
Data Science?
57
Enrich the measure of relevancy
using graph algorithms.
● Page Rank to understand the
importance of parts of
documents
● Link Prediction to find hidden
relationships that further
contextualise the results
● Community Detection to group
related parts of documents for
more focused knowledge
retrieval
Neo4j Inc. All rights reserved 2024
Try it yourself… - Neo4j Graphbuilder
But does it REALLY work??
61 Neo4j Inc. All rights reserved 2024
Neo4j Inc. All rights reserved 2023
62
Let’s Wrap up…
GraphRAG enables you to..:
● To leverage structural
information across entities to
enable more precise and
comprehensive retrieval
● To perform advanced Graph
analytics to enhance retrieval
● To have an accurate conversation
with your data that is explainable
64
Neo4j Inc. All rights reserved 2023
65
Thank You

More Related Content

PPTX
Elsevier: Empowering Knowledge Discovery in Research with Graphs
PPTX
How Expedia’s Entity Graph Powers Global Travel
PDF
Neo4j Fundamentals
PDF
NOSQLEU - Graph Databases and Neo4j
PDF
GPT and Graph Data Science to power your Knowledge Graph
PDF
Adobe Behance Scales to Millions of Users at Lower TCO with Neo4j
PDF
Neo4j y GenAI
PDF
Neo4j: The path to success with Graph Database and Graph Data Science
Elsevier: Empowering Knowledge Discovery in Research with Graphs
How Expedia’s Entity Graph Powers Global Travel
Neo4j Fundamentals
NOSQLEU - Graph Databases and Neo4j
GPT and Graph Data Science to power your Knowledge Graph
Adobe Behance Scales to Millions of Users at Lower TCO with Neo4j
Neo4j y GenAI
Neo4j: The path to success with Graph Database and Graph Data Science

What's hot (20)

PDF
Intro to Neo4j and Graph Databases
PDF
Intro to Graphs and Neo4j
PPTX
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
PDF
AI presentation and introduction - Retrieval Augmented Generation RAG 101
PDF
Introducing Neo4j
PDF
Workshop - Build a Graph Solution
PDF
Training Week: Create a Knowledge Graph: A Simple ML Approach
PDF
Road to NODES Workshop Series - Intro to Neo4j
PDF
Neanex - Semantic Construction with Graphs
PPTX
Demystifying Graph Neural Networks
PDF
stackconf 2022: Introduction to Vector Search with Weaviate
PDF
Linked Open Data 作成支援ツールの紹介
PPTX
The art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptx
PDF
The Knowledge Graph Explosion
PDF
The Data Platform for Today’s Intelligent Applications
PPTX
How Graph Data Science can turbocharge your Knowledge Graph
PDF
Image Classification Done Simply using Keras and TensorFlow
PDF
Neo4j GraphDay Seattle- Sept19- neo4j basic training
PPTX
Neo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptx
PPTX
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
Intro to Neo4j and Graph Databases
Intro to Graphs and Neo4j
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
AI presentation and introduction - Retrieval Augmented Generation RAG 101
Introducing Neo4j
Workshop - Build a Graph Solution
Training Week: Create a Knowledge Graph: A Simple ML Approach
Road to NODES Workshop Series - Intro to Neo4j
Neanex - Semantic Construction with Graphs
Demystifying Graph Neural Networks
stackconf 2022: Introduction to Vector Search with Weaviate
Linked Open Data 作成支援ツールの紹介
The art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptx
The Knowledge Graph Explosion
The Data Platform for Today’s Intelligent Applications
How Graph Data Science can turbocharge your Knowledge Graph
Image Classification Done Simply using Keras and TensorFlow
Neo4j GraphDay Seattle- Sept19- neo4j basic training
Neo4j GraphSummit London March 2023 Emil Eifrem Keynote.pptx
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
Ad

Similar to Beyond Limits: How GraphRAG Revolutionises Data Interaction (20)

PDF
Neo4j and Generative AI: New Frontiers in Data Intelligence
PDF
Matinée GenAI & GraphRAG Paris - Décembre 24
PPTX
The Art of the Possible with Graph by Dr Jim Webber Neo4j.pptx
PDF
Adobe Substance 3D Designer 14.1.2.8986
PDF
Neo4j Public Graph Slides - BioTech X Basel 2024
PDF
Neo4j Jesus Barrasa The Art of the Possible with Graph
PDF
La strada verso il successo con i database a grafo, la Graph Data Science e l...
PDF
Large Language Models ❤️ Knowledge Graphs - Michael Hunger
PDF
YouTube Downloader v3.4.9 APK Download
PDF
Wondershare UniConverter for MacOS Download
PPTX
GraphSummit Milan & Stockholm - Neo4j: The Art of the Possible with Graph
PDF
TunesKit Video Repair 2.0.0.11 Free Download
PDF
Minitab Free crack Download (Latest 2025)
PDF
Deeper Insights with Graph Data Science
PPTX
GraphSummit Paris - The art of the possible with Graph Technology
PDF
The Data Platform for Today's Intelligent Applications.pdf
PPTX
Neo4j Knowledge for Customer Experience.pptx
PDF
Internet Download Manager (IDM) Free crack
PDF
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
PDF
Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j and Generative AI: New Frontiers in Data Intelligence
Matinée GenAI & GraphRAG Paris - Décembre 24
The Art of the Possible with Graph by Dr Jim Webber Neo4j.pptx
Adobe Substance 3D Designer 14.1.2.8986
Neo4j Public Graph Slides - BioTech X Basel 2024
Neo4j Jesus Barrasa The Art of the Possible with Graph
La strada verso il successo con i database a grafo, la Graph Data Science e l...
Large Language Models ❤️ Knowledge Graphs - Michael Hunger
YouTube Downloader v3.4.9 APK Download
Wondershare UniConverter for MacOS Download
GraphSummit Milan & Stockholm - Neo4j: The Art of the Possible with Graph
TunesKit Video Repair 2.0.0.11 Free Download
Minitab Free crack Download (Latest 2025)
Deeper Insights with Graph Data Science
GraphSummit Paris - The art of the possible with Graph Technology
The Data Platform for Today's Intelligent Applications.pdf
Neo4j Knowledge for Customer Experience.pptx
Internet Download Manager (IDM) Free crack
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
Neo4j: Data Engineering for RAG (retrieval augmented generation)
Ad

More from Neo4j (20)

PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
PDF
Jin Foo - Prospa GraphSummit Sydney Presentation.pdf
PDF
GraphSummit Singapore Master Deck - May 20, 2025
PPTX
Graphs & GraphRAG - Essential Ingredients for GenAI
PPTX
GraphTalk New Zealand - The Art of The Possible.pptx
PDF
Neo4j: The Art of the Possible with Graph
PDF
Smarter Knowledge Graphs For Public Sector
PDF
GraphRAG and Knowledge Graphs Exploring AI's Future
PDF
ANZ Presentation: GraphSummit Melbourne 2024
PDF
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
PDF
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
PDF
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
PDF
Démonstration Digital Twin Building Wire Management
PDF
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
PDF
Démonstration Supply Chain - GraphTalk Paris
PDF
The Art of Possible - GraphTalk Paris Opening Session
PPTX
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
PDF
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...
PDF
Neo4j Graph Data Modelling Session - GraphTalk
PDF
Neo4j: The Art of Possible with Graph Technology
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Jin Foo - Prospa GraphSummit Sydney Presentation.pdf
GraphSummit Singapore Master Deck - May 20, 2025
Graphs & GraphRAG - Essential Ingredients for GenAI
GraphTalk New Zealand - The Art of The Possible.pptx
Neo4j: The Art of the Possible with Graph
Smarter Knowledge Graphs For Public Sector
GraphRAG and Knowledge Graphs Exploring AI's Future
ANZ Presentation: GraphSummit Melbourne 2024
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
Démonstration Digital Twin Building Wire Management
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
Démonstration Supply Chain - GraphTalk Paris
The Art of Possible - GraphTalk Paris Opening Session
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...
Neo4j Graph Data Modelling Session - GraphTalk
Neo4j: The Art of Possible with Graph Technology

Recently uploaded (20)

PDF
Empathic Computing: Creating Shared Understanding
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPT
Teaching material agriculture food technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Big Data Technologies - Introduction.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
cuic standard and advanced reporting.pdf
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Machine Learning_overview_presentation.pptx
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Tartificialntelligence_presentation.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
MYSQL Presentation for SQL database connectivity
Empathic Computing: Creating Shared Understanding
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Teaching material agriculture food technology
MIND Revenue Release Quarter 2 2025 Press Release
Big Data Technologies - Introduction.pptx
Machine learning based COVID-19 study performance prediction
Assigned Numbers - 2025 - Bluetooth® Document
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Group 1 Presentation -Planning and Decision Making .pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
1. Introduction to Computer Programming.pptx
Machine Learning_overview_presentation.pptx
Getting Started with Data Integration: FME Form 101
Tartificialntelligence_presentation.pptx
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
MYSQL Presentation for SQL database connectivity

Beyond Limits: How GraphRAG Revolutionises Data Interaction

  • 1. Beyond Limits: GraphRAG Kristof Neys, Neo4j Field Engineering
  • 2. Outline 1) Brave New World… 2) Why RAG? 3) Can Knowledge Graphs help? 4) From RAG to GraphRAG 5) Improve your R 6) An example…. 7) Does it work? Neo4j Inc. All rights reserved 2023 2
  • 3. But First - A Word from our sponsor…
  • 5. The State of Generative AI GENAI GENAI
  • 6. GENAI GENAI The Good 💪 The State of Generative AI
  • 7. GENAI GENAI The Good 💪 The State of Generative AI
  • 8. GENAI GENAI The Good 💪 The State of Generative AI The Bad 👎
  • 9. GENAI GENAI The Good 💪 The State of Generative AI The Bad 👎 GENAI
  • 10. GENAI GENAI The Good 💪 The Bad 👎 The State of Generative AI The Ugly 😱 GENAI
  • 11. GENAI GENAI The State of Generative AI The Good 💪 The Bad 👎 The Ugly 😱 GenAI Alone != Right Outcomes 🤯 GENAI
  • 12. Challenges with GenAI: Stochastic Parrot? ● Lack of enterprise domain knowledge ● Inability to verify answers ● Hallucination ● Ethical and data bias concerns ● and more 12 Neo4j Inc. All rights reserved 2024 GenAI PARROT
  • 13. 13 Managing AI risk is the biggest barrier to scaling AI initiatives1 Skepticism: Over half of business leaders are skeptical in adopting GenAI.2 Neo4j Inc. All rights reserved 2024 Explainability: Over 80% of executives worry about non-transparent nature of GenAI could result in poor or unlawful decisions.2 Reliability: Inaccuracy and hallucination are two of the most-cited risks of adopting GenAI technology at all levels of an organisation.3 1. Deloitte’s State of AI in the Enterprise 2. BCG’s Digital Acceleration Index Study 2023 3. McKinsey: The state of AI in 2023
  • 14. 14 Neo4j Inc. All rights reserved 2024 How can enterprises use domain-specific knowledge to rapidly build accurate, contextual, and explainable GenAI applications? Problem Statement
  • 15. Why RAG? And what is it anyway…
  • 16. Retrieval Augmented Generation: The ability to dynamically query a large text corpus to incorporate relevant factual knowledge into the responses generated by the underlying language model
  • 17. Neo4j Inc. All rights reserved 2023 17 RAG augments LLMs by retrieving up-to-date, contextual external data to inform responses: Retrieve - Find documents of interest for the user question Augment: Combine the user question with the relevant documents Generate: Feed enhanced prompt to an LLM and obtain answer Retrieval Augmented Generation Database of Truth RAG is becoming an industry standard
  • 18. Why RAG With Vector Databases Fall Short Similarity is insufficient for rich enterprise reasoning Neo4j Inc. All rights reserved 2024 18 1 3 2 4 Only leverage a fraction of your data: Beyond simple “metadata”, vector databases alone fail to capture relationships from structured data Miss critical context: Struggle to capture connections across nuanced facts, making it challenging to answer multi-step, domain-specific, questions Vector Similarity ≠ Relevance: Vector search uses an incomplete measure of similarity. Relying on it solely can result in irrelevant and duplicative results Lack explainability: The black-box nature of vectors lacks transparency and explainability
  • 20. Recap a Knowledge Graph A knowledge graph is a structured representation of facts, consisting of entities, relationships and semantic descriptions 20 Neo4j Inc. All rights reserved 2024 MICA ANDRE Name: “Andre” Born: May 29, 1970 Twitter: “@andre123” Name: “Mica” Born: Dec 5, 1975 CAR Brand “Volvo” Model: “V70” Description: ‘Blue external, red seats’ #days: 5/7 LOVES LOVES LIVES WITH O W N S D R I V E S Since: Jan 10, 2011
  • 21. Knowledge Graphs – New & Improved! NOW WITH VECTORS!
  • 22. Now with Vectors! Vectors as Node properties = Vector Search + Graph Traversal 22 Neo4j Inc. All rights reserved 2024 MICA ANDRE Name: “Andre” Born: May 29, 1970 Twitter: “@andre123” Name: “Mica” Born: Dec 5, 1975 CAR Brand “Volvo” Model: “V70” Description: #days: 5/7 LOVES LOVES LIVES WITH O W N S D R I V E S Since: Jan 10, 2011
  • 23. Neo4j Inc. All rights reserved 2023 23 Neo4j - Vector Database Capabilities Vector Search Data Science Knowledge Graph ● Find nodes using an implicit similarity search in the vector index* and enrich with additional explicit relationships from the knowledge graph ● Hybrid Search with text ● Create vectors of network information using node embeddings Now a top 10 vector database on LangChain.
  • 24. Neo4j Inc. All rights reserved 2023 24 By 2025, 50% of generative AI initiatives will have improved reliability and transparency by combining deep learning foundation models with knowledge graphs or other composite AI elements. Technological Implications of Generative AI, August 2023 Impact Radar for GenAI (2024)
  • 25. From RAG to GraphRAG
  • 26. GraphRAG Technique for richly understanding text datasets by combining text extraction, network analysis, LLM prompting and summarization into a single end-to-end system
  • 27. Neo4j Inc. All rights reserved 2024 A Neo4j Knowledge Graph combined with LLM’s obtains some unique improvements: Accuracy - Obtain better answers compared to plain vector searches Specificity: domain specific, factual knowledge on your subject Explainability: Provide the user with more reasoning on how the results were obtained. Security: Role Based Access Control Retrieval Augmented Generation Evolving From RAG to GraphRAG
  • 28. We are not making this up… Neo4j Inc. All rights reserved 2023 28
  • 29. You need a better R…
  • 30. Quick quiz for SWAG Neo4j Inc. All rights reserved 2023 30
  • 31. Neo4j Inc. All rights reserved 2023 31
  • 32. Neo4j Inc. All rights reserved 2023 32 Data Science on Graphs: Graph Data Science… Vector Search Graph Data Science Knowledge Graph Bring the context of your connected data into a format that other pipelines can ingest. The Largest Catalog of Graph Algorithms Graph Vector Embeddings for Machine Learning
  • 34. Neo4j Inc. All rights reserved 2023 34 GraphRAG with Neo4j Find similar documents and content Identify entities associated to content and patterns in connected data Improve GenAI inferences and insights. Discover new relationships and entities Unify vector search, knowledge graph and data science capabilities to improve RAG quality and effectiveness Vector Search Graph Data Science Knowledge Graph
  • 35. An example… RFP Generation GenAI App 35 Neo4j Inc. All rights reserved 2024
  • 36. Why a KG Matters in RFP GenAI App? 36 Challenges Outcomes Time consuming to read previous RFP across multiple repositories Knowledge base to collect, store and retrieve domain-specific information Repetitive and manual tasks to synthesise the content Drive efficient, accurate, contextual and explainable way to streamline RFP responses Non-standard structure of RFP making it difficult to do data modelling Flexible storage that’s adoptable to the varying structure of an RFP Neo4j Inc. All rights reserved 2024
  • 37. Anatomy of an RFP Document 37 AWS RFP Intro Objectives Proposal About the Company Financial Result Content Subsection 1 Subsection 2 Subsection 1.1 Content Content Content Content Content Content Content Content Content Content Neo4j Inc. All rights reserved 2024
  • 38. Anatomy of an RFP Document 38 AWS RFP Intro Objectives Proposal About the Company Financial Result Content Subsection 1 Subsection 2 Subsection 1.1 Content Content Content Content Content Content Content Content Content Content Neo4j Inc. All rights reserved 2024
  • 39. RFP Document as a Graph 39 AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Neo4j Inc. All rights reserved 2024
  • 40. Why Neo4j KG Matters in RFP GenAI App? 40 Challenges Outcomes Time consuming to read previous RFP across multiple repositories Knowledge base to collect, store and retrieve domain-specific information Repetitive and manual tasks to synthesise the content Drive efficient, accurate, contextual and explainable way to streamline RFP responses Non-standard structure of RFP making it difficult to do data modelling Flexible storage that’s adoptable to the varying structure of an RFP Neo4j Inc. All rights reserved 2024
  • 41. Why Neo4j KG Matters in RFP GenAI App? 41 Challenges Outcomes Time consuming to read previous RFP across multiple repositories Knowledge base to collect, store and retrieve domain-specific information Repetitive and manual tasks to synthesise the content Drive efficient, accurate, contextual and explainable way to streamline RFP responses Non-standard structure of RFP making it difficult to do data modelling Flexible storage that’s adoptable to the varying structure of an RFP Neo4j Inc. All rights reserved 2024
  • 42. AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Knowledge Graph as the Knowledge Base Document in a KG Knowledge Graph 42 Neo4j Inc. All rights reserved 2024
  • 43. Knowledge Graph as the Knowledge Base Document in a KG Knowledge Graph 43 Neo4j Inc. All rights reserved 2024 AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding
  • 44. Why Neo4j KG Matters in RFP GenAI App? 44 Challenges Outcomes Time consuming to read previous RFP across multiple repositories Knowledge base to collect, store and retrieve domain-specific information Repetitive and manual tasks to synthesise the content Drive efficient, accurate, contextual and explainable way to streamline RFP responses Non-standard structure of RFP making it difficult to do data modelling Flexible storage that’s adoptable to the varying structure of an RFP Neo4j Inc. All rights reserved 2024
  • 45. Why Neo4j KG Matters in RFP GenAI App? 45 Challenges Outcomes Time consuming to read previous RFP across multiple repositories Knowledge base to collect, store and retrieve domain-specific information Repetitive and manual tasks to synthesise the content Drive efficient, accurate, contextual and explainable way to streamline RFP responses Non-standard structure of RFP making it difficult to do data modelling Flexible storage that’s adoptable to the varying structure of an RFP Neo4j Inc. All rights reserved 2024
  • 46. Accurate, Contextual and Explainable 46 Neo4j Inc. All rights reserved 2024 GenAI App Who is the main respondent of the AWS RFP?
  • 47. Accurate, Contextual and Explainable 47 Neo4j Inc. All rights reserved 2024 Who is the main respondent of the AWS RFP? GenAI App Embedding Model User Question
  • 48. Accurate, Contextual and Explainable 48 Neo4j Inc. All rights reserved 2024 Who is the main respondent of the AWS RFP? GenAI App Embedding Model User Question Vector Embedding
  • 49. Accurate, Contextual and Explainable 49 Neo4j Inc. All rights reserved 2024 Who is the main respondent of the AWS RFP? GenAI App Embedding Model User Question Similarity Search using Neo4j Vector Index Vector Embedding
  • 50. Accurate, Contextual and Explainable 50 Neo4j Inc. All rights reserved 2024 AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Similarity Search using Neo4j Vector Index Response from ABC Company Signed by John Smith He’s the General Manager
  • 51. Accurate, Contextual and Explainable 51 Neo4j Inc. All rights reserved 2024 AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Contextual Knowledge Retrieval within Neo4j KG Response from ABC Company Signed by John Smith He’s the General Manager
  • 52. Accurate, Contextual and Explainable 52 Neo4j Inc. All rights reserved 2024 AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Knowledge Retrieval to aid in Explainability Response from ABC Company Signed by John Smith He’s the General Manager
  • 53. Accurate, Contextual and Explainable 53 Neo4j Inc. All rights reserved 2024 AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Fine Grained Access Control to prevent unwarranted Knowledge Retrieval Response from ABC Company Signed by John Smith He’s the General Manager
  • 54. Accurate, Contextual and Explainable 54 Neo4j Inc. All rights reserved 2024 Who is the main respondent of the AWS RFP? GenAI App Embedding Model User Question Similarity Search using Neo4j Vector Index Vector Embedding
  • 55. Accurate, Contextual and Explainable 55 Neo4j Inc. All rights reserved 2024 Who is the main respondent of the AWS RFP? GenAI App Embedding Model User Question Vector Embedding AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Response from ABC Company Signed by John Smith He’s the General Manager Similarity Result Similarity Search using Neo4j Vector Index Bedrock LLM
  • 56. Accurate, Contextual and Explainable 56 Neo4j Inc. All rights reserved 2024 Who is the main respondent of the AWS RFP? GenAI App Embedding Model User Question Vector Embedding AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Response from ABC Company Signed by John Smith He’s the General Manager Similarity Result Similarity Search using Neo4j Vector Index The main respondent of the AWS RFP is John Smith, General Manager XYZ Group representing ABC Company (source: RFP_AWS.pdf, page: 38) AWS RFP Intro Objectives Proposal Content Chunk Content Chunk Content Chunk Financial Result About the Company Content Chunk Content Chunk Content Chunk Subsection 2 Subsection 1 Content Chunk Content Chunk Subsection 1.1 Content Chunk Content Chunk Content Chunk Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Vector Embedding Response from ABC Company Signed by John Smith He’s the General Manager Similarity + Contextual Result Bedrock LLM
  • 57. How about Graph Data Science? 57 Enrich the measure of relevancy using graph algorithms. ● Page Rank to understand the importance of parts of documents ● Link Prediction to find hidden relationships that further contextualise the results ● Community Detection to group related parts of documents for more focused knowledge retrieval Neo4j Inc. All rights reserved 2024
  • 58. Try it yourself… - Neo4j Graphbuilder
  • 59. But does it REALLY work??
  • 60. 61 Neo4j Inc. All rights reserved 2024
  • 61. Neo4j Inc. All rights reserved 2023 62
  • 63. GraphRAG enables you to..: ● To leverage structural information across entities to enable more precise and comprehensive retrieval ● To perform advanced Graph analytics to enhance retrieval ● To have an accurate conversation with your data that is explainable 64
  • 64. Neo4j Inc. All rights reserved 2023 65 Thank You