The perfect couple: Uniting Large Language Models and Knowledge Graphs for Enhanced Knowledge Representation

Neo4j
Neo4jOpen Source NOSQL Graph Database
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
LLM 💕 KG: The Perfect Couple
Uniting Large Language Models and Knowledge
Graphs for Enhanced Knowledge Representation
Kristof Neys
Director Graph Data Science Technology
© 2023 Neo4j, Inc. All rights reserved.
7/10
20/25
7/10
Top Retail Firms
Top Financial Firms
Top Software Vendors
Anyway You Like It
2
Creator of the Property
Graph and Cypher language
at the core of the GQL ISO
project. Fully integrated Data
Science Library
Thousands of Customers
World-Wide
250,000 developers
worldwide
Industry Leaders use Neo4j
On-Prem
DB-as-a-Service
In the Cloud
© 2022 Neo4j, Inc. All rights reserved.
3
Topics
We will cover:
1) Knowledge Graphs
2) Knowledge Graphs + LLMs ~ As a Front end
3) Knowledge Graphs + LLMs ~ As a Back end
4) How to get started on your graph journey
© 2023 Neo4j, Inc. All rights reserved.
4
“In a world of infinite content, knowledge
becomes [very] valuable”
Denny Vrandečić, Wikidata
© 2023 Neo4j, Inc. All rights reserved.
5
The Core Graph Object:
A Knowledge Graph
© 2023 Neo4j, Inc. All rights reserved.
What are Knowledge Graphs?
● Entities can be real-world objects and abstract concepts
● Relationships represent the connections between entities
● Semantic description of the entities and relationships
A knowledge graph is a structured representation of
facts, consisting of entities, relationships and semantic
descriptions
© 2023 Neo4j, Inc. All rights reserved.
7
From Data points to a Knowledge Graph
Car
DRIVES
name: “Dan”
born: May 29, 1978
twitter: “@dan”
name: “Ann”
born: Dec 5, 1979
brand: “Volvo”
model: “V90”
description:
since:
Jan 10, 2021
LOVES
LOVES
LIVES_WITH
O
W
N
S
Person Person
© 2023 Neo4j, Inc. All rights reserved.
User
:VISITED
Website
User
IPLocation
Website
IPLocation
Website
Website
Website
:VISITED
:VISITED
:VISITED
:USED
:USED
:
U
S
E
D
:
V
I
S
I
T
E
D
:
V
I
S
I
T
E
D
:VISITED
:SAME_AS
Graphs allows you to make implicit
relationships….
….explicit
Graphs….Grow!
© 2023 Neo4j, Inc. All rights reserved.
:SAME_AS
User
:VISITED
Website
User
IPLocation
Website
IPLocation
Website
Website
Website
:VISITED
:VISITED
:VISITED
:USED
:USED
:
U
S
E
D
:
V
I
S
I
T
E
D
:
V
I
S
I
T
E
D
:VISITED
User
:SAM
E_AS
:USED
:VISITED
PersonId: 1
PersonId: 1 PersonId: 1
User
PersonId: 2
:VISITED
…and can then group similar nodes…and
create a new graph from the explicit
relationships…
A graph grows organically - gaining
insights and enriching your data
Graphs….Grow!
© 2023 Neo4j, Inc. All rights reserved.
Come and see us for the book on Knowledge Graphs
© 2023 Neo4j, Inc. All rights reserved.
11
Knowledge Graph + LLM
A marriage made in heaven
© 2023 Neo4j, Inc. All rights reserved.
12
Setting the context - From a user point of view
© 2023 Neo4j, Inc. All rights reserved.
13
As a front-end…
© 2023 Neo4j, Inc. All rights reserved.
14
Architecture
NeoDash
Dashboard UI
Neo4j
Free text input
APOC call Graph representations
Embeddings
Graph visualization of results
NeoDash
Dashboard UI
Persist results
Conceptual flow for a
text-to-graph or graph-to-text
application based on Neo4j +
OpenAI.
© 2023 Neo4j, Inc. All rights reserved.
15
Writing Code is soo last year….
© 2023 Neo4j, Inc. All rights reserved.
16
As a back-end…
© 2023 Neo4j, Inc. All rights reserved.
17
We are not making this up…
© 2023 Neo4j, Inc. All rights reserved.
18
Three main ways to let LLM’s work with your Graph
© 2023 Neo4j, Inc. All rights reserved.
19
Knowledge Graphs that enhance LLMs
© 2023 Neo4j, Inc. All rights reserved.
LLMs Core function…To manipulate strings…
• GPT training focuses primarily on predicting the probability of text sequences and
specifically for predicting which words come next in a sequence
“When you play the
game of thrones….
Input
LLM
…you win or you die.
There is no middle
ground.”
Output
© 2023 Neo4j, Inc. All rights reserved.
21
Nothing is perfect…
but don’t push it!
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
There is no need for this…!
© 2023 Neo4j, Inc. All rights reserved.
Whereas we all know what The Truth is…
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
It’s all about Knowledge and Accuracy
• Training data can be false
• LLMs: training is focused on self-supervised learning
• Cut-off date: i.e ChatGPT is only trained on pre Sep 2021 data
• Inability to verify sources for answers
• Sensitive to prompt (input) phrasing
• Lack of explainability
© 2023 Neo4j, Inc. All rights reserved.
Making stuff up…
© 2023 Neo4j, Inc. All rights reserved.
In Summary…
© 2023 Neo4j, Inc. All rights reserved.
29
So…, let’s solve this problem!
© 2023 Neo4j, Inc. All rights reserved.
How to Help LLMs Do Better?
Few-Shot Learning
Fine-Tuning Grounding
Provide completed
examples “shots” to the AI
as context in prompts.
a.k.a In-Context Learning
Provide additional training
data to better tune GenAI
to your use case
Provide AI with the
information to use for
generating responses
© 2023 Neo4j, Inc. All rights reserved.
Grounding
Provide AI with the information to use for generating responses
Best of Both Worlds
Use the language understanding skills of LLMs but control the knowledge/sources it uses
● Improve accuracy & tailor to enterprise and use case
● Reduce hallucinations and other inconsistencies
● Control provenance
Methods
● Internet search, plugins, agents
● Query generation
● Retrieval Augmented Generation (RAG)
Image by GenAI (DALL-E)
© 2023 Neo4j, Inc. All rights reserved.
32
Grounding with Retrieval Augmented Generation (RAG)
Neo4j, Inc. All rights reserved 2021
33
What’s in it for me…?
© 2023 Neo4j, Inc. All rights reserved.
LLMs can help generate more accurate responses by
considering the connections and dependencies within the
graph and mapping new links as new data is identified.
Flexible Schema means it is
easy to grow your knowledge
base whenever new
information is available
Relationships are data
that is used to return
explicit results
Accuracy
Vector Search adds semantic
search
© 2023 Neo4j, Inc. All rights reserved.
Knowledge graphs supply the LLM with information about your
company so answers are specific to your business, giving more
context for more accurate responses.
Add a layer of context over
your LLM for accuracy and
specificity
Specificity
© 2023 Neo4j, Inc. All rights reserved.
Map relationships between search
results and data source nodes
Represent data sources as nodes
Add metadata or annotations
Verify the enriched responses from your LLM because each piece of
information is linked to its sources and origins.
Explainability
© 2023 Neo4j, Inc. All rights reserved.
LLM retrieves and returns information governed by your enterprise security
and access control policies-down to the node level.
Define policies by role or
identity
Integrates with identity and
access management provider
with SSO
Security & Privacy
Build constraints on nodes,
labels, relationships, properties,
specific parts of the graph, and
even traversal depth
© 2023 Neo4j, Inc. All rights reserved.
Easily scale with autonomous
clustering
Reliability & Low-latency
Knowledge graphs scale and are battle-tested to thousands of
concurrent users, get answers quickly with incredibly fast query speeds.
Incredibly fast traversals with index
free adjacency
© 2023 Neo4j, Inc. All rights reserved.
39
Use LLM to augment Knowledge Graphs
● Named Entity Recognition
● Knowledge Compression
© 2023 Neo4j, Inc. All rights reserved.
40
Use LLM to augment Knowledge Graphs:
Named Entity Recognition
© 2023 Neo4j, Inc. All rights reserved.
Creating a Knowledge Graph From Unstructured Text is
Difficult
Traditional entity extraction pipelines can be
• resource intensive
• difficult to transfer/generalize:
◦ specialized NLP libraries/tools
◦ domain specific
◦ require subject matter expertise
◦ lots of trial & error
◦ Mix of business rules, machine learning,
and custom hand-rolled logic
© 2023 Neo4j, Inc. All rights reserved.
LLMs can Jumpstart Knowledge Graph Creation
LLMs can be prompted to:
1. Extract data from unstructured text
• Entity extraction, including pronouns and
partial references
• Entity disambiguation
• Extraction of semantic relationships
2. Aide or directly perform graph ingestion
• Determine desired output (Pandas DataFrame
etc)
• Structure extracted data (triples, json, csv) to
work with Cypher insert templates
Input Data
LLM
User
Neo4j
© 2023 Neo4j, Inc. All rights reserved.
43
Use LLM to augment Knowledge Graphs:
Knowledge Compression
© 2023 Neo4j, Inc. All rights reserved.
Text Embeddings are a Key Concept for Knowledge Compression
Consider the question: What is text embedding?
It can be represented / translated as a vector using the OpenAI Embedding API:
[-0.03156438, 0.0013196499, -0.01716885, -0.0008197554, 0.011872382, 0.0036221128,
-0.022915626, -0.005925469, … (1528 more items to go here …]
• This translation process is called Embedding. It is a machine learning process to
convert complex, high-dimensional data e.g. text, image etc. into lower-dimensional
representations(vectors) while preserving essential relationships and structure.
• Embedding is the knowledge for AI as it is produced, understood and used by
various algorithms and AI systems.
© 2023 Neo4j, Inc. All rights reserved.
Text Embedding Vectors for Semantic Search
Given a question, find the most relevant documents based on a similarity metric (such as
Cosine Similarity) between vector of the question and vectors of contents.
Moving from keyword search to similarity (semantic) search.
Q: what is text
embedding?
abstractId similarity
456 0.923445
22 0.892114
… ...
Top K by similarity
Use LLMs for Graph Enrichment
Neo4j Inc. All rights reserved 2023
46
[0.2322,0.3321,….,0.0021]
[0.3233,0.3543,….,0.0047]
[0.5674,0.2134,….,0.0054]
[0.4565,0.2345,….,0.0342]
[0.8743,0.4343,….,0.0234]
LLM APIs
(OpenAI/ VertexAI/
AWS Bedrock etc.)
Text
Embeddings
Article PDFs
(Unstructured Data)
© 2023 Neo4j, Inc. All rights reserved.
47
One last thing…
© 2023 Neo4j, Inc. All rights reserved.
48
https://neo4j.com/blog/vector-search-deeper-insights/
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
50
How to get started on your Graph Journey?
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
© 2023 Neo4j, Inc. All rights reserved.
53
And now in APOC too…
© 2023 Neo4j, Inc. All rights reserved.
54
Some examples…
© 2023 Neo4j, Inc. All rights reserved.
55
© 2023 Neo4j, Inc. All rights reserved.
56
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
Thank you!
Contact us at
sales@neo4j.com
1 of 57

Recommended

Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx by
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptxKnowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptxNeo4j
226 views31 slides
GPT and Graph Data Science to power your Knowledge Graph by
GPT and Graph Data Science to power your Knowledge GraphGPT and Graph Data Science to power your Knowledge Graph
GPT and Graph Data Science to power your Knowledge GraphNeo4j
268 views49 slides
Graph-Powered Machine Learning by
Graph-Powered Machine LearningGraph-Powered Machine Learning
Graph-Powered Machine LearningDatabricks
644 views26 slides
Knowledge Graphs and Graph Data Science: More Context, Better Predictions (Ne... by
Knowledge Graphs and Graph Data Science: More Context, Better Predictions (Ne...Knowledge Graphs and Graph Data Science: More Context, Better Predictions (Ne...
Knowledge Graphs and Graph Data Science: More Context, Better Predictions (Ne...Neo4j
193 views17 slides
Introduction to Knowledge Graphs by
Introduction to Knowledge GraphsIntroduction to Knowledge Graphs
Introduction to Knowledge Graphsmukuljoshi
132 views74 slides
Benchmark comparison of Large Language Models by
Benchmark comparison of Large Language ModelsBenchmark comparison of Large Language Models
Benchmark comparison of Large Language ModelsMatej Varga
149 views8 slides

More Related Content

What's hot

How Graph Data Science can turbocharge your Knowledge Graph by
How Graph Data Science can turbocharge your Knowledge GraphHow Graph Data Science can turbocharge your Knowledge Graph
How Graph Data Science can turbocharge your Knowledge GraphNeo4j
160 views39 slides
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth... by
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...Edureka!
1.5K views29 slides
LLMs_talk_March23.pdf by
LLMs_talk_March23.pdfLLMs_talk_March23.pdf
LLMs_talk_March23.pdfChaoYang81
85 views160 slides
Neo4j: The path to success with Graph Database and Graph Data Science by
Neo4j: The path to success with Graph Database and Graph Data ScienceNeo4j: The path to success with Graph Database and Graph Data Science
Neo4j: The path to success with Graph Database and Graph Data ScienceNeo4j
83 views44 slides
Building a Knowledge Graph using NLP and Ontologies by
Building a Knowledge Graph using NLP and OntologiesBuilding a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and OntologiesNeo4j
864 views14 slides
Large Language Models Bootcamp by
Large Language Models BootcampLarge Language Models Bootcamp
Large Language Models BootcampData Science Dojo
3.3K views15 slides

What's hot(20)

How Graph Data Science can turbocharge your Knowledge Graph by Neo4j
How Graph Data Science can turbocharge your Knowledge GraphHow Graph Data Science can turbocharge your Knowledge Graph
How Graph Data Science can turbocharge your Knowledge Graph
Neo4j160 views
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth... by Edureka!
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...
AI vs Machine Learning vs Deep Learning | Machine Learning Training with Pyth...
Edureka!1.5K views
LLMs_talk_March23.pdf by ChaoYang81
LLMs_talk_March23.pdfLLMs_talk_March23.pdf
LLMs_talk_March23.pdf
ChaoYang8185 views
Neo4j: The path to success with Graph Database and Graph Data Science by Neo4j
Neo4j: The path to success with Graph Database and Graph Data ScienceNeo4j: The path to success with Graph Database and Graph Data Science
Neo4j: The path to success with Graph Database and Graph Data Science
Neo4j83 views
Building a Knowledge Graph using NLP and Ontologies by Neo4j
Building a Knowledge Graph using NLP and OntologiesBuilding a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and Ontologies
Neo4j864 views
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo... by Neo4j
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...
Neo4j152 views
Slides: Knowledge Graphs vs. Property Graphs by DATAVERSITY
Slides: Knowledge Graphs vs. Property GraphsSlides: Knowledge Graphs vs. Property Graphs
Slides: Knowledge Graphs vs. Property Graphs
DATAVERSITY2K views
Knowledge Graphs for Transformation: Dynamic Context for the Intelligent Ente... by Neo4j
Knowledge Graphs for Transformation: Dynamic Context for the Intelligent Ente...Knowledge Graphs for Transformation: Dynamic Context for the Intelligent Ente...
Knowledge Graphs for Transformation: Dynamic Context for the Intelligent Ente...
Neo4j848 views
A Comprehensive Review of Large Language Models for.pptx by SaiPragnaKancheti
A Comprehensive Review of Large Language Models for.pptxA Comprehensive Review of Large Language Models for.pptx
A Comprehensive Review of Large Language Models for.pptx
SaiPragnaKancheti2.3K views
Property graph vs. RDF Triplestore comparison in 2020 by Ontotext
Property graph vs. RDF Triplestore comparison in 2020Property graph vs. RDF Triplestore comparison in 2020
Property graph vs. RDF Triplestore comparison in 2020
Ontotext17K views
Large Language Models - Chat AI.pdf by David Rostcheck
Large Language Models - Chat AI.pdfLarge Language Models - Chat AI.pdf
Large Language Models - Chat AI.pdf
David Rostcheck679 views
A Knowledge Graph for Reaction & Synthesis Prediction (AstraZeneca) by Neo4j
A Knowledge Graph for Reaction & Synthesis Prediction (AstraZeneca)A Knowledge Graph for Reaction & Synthesis Prediction (AstraZeneca)
A Knowledge Graph for Reaction & Synthesis Prediction (AstraZeneca)
Neo4j216 views
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science by Neo4j
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data ScienceGet Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Neo4j167 views
Fine tuning large LMs by SylvainGugger
Fine tuning large LMsFine tuning large LMs
Fine tuning large LMs
SylvainGugger2.4K views
Leveraging Knowledge Graphs in your Enterprise Knowledge Management System by Semantic Web Company
Leveraging Knowledge Graphs in your Enterprise Knowledge Management SystemLeveraging Knowledge Graphs in your Enterprise Knowledge Management System
Leveraging Knowledge Graphs in your Enterprise Knowledge Management System
MLflow: A Platform for Production Machine Learning by Matei Zaharia
MLflow: A Platform for Production Machine LearningMLflow: A Platform for Production Machine Learning
MLflow: A Platform for Production Machine Learning
Matei Zaharia945 views
The Data Platform for Today’s Intelligent Applications by Neo4j
The Data Platform for Today’s Intelligent ApplicationsThe Data Platform for Today’s Intelligent Applications
The Data Platform for Today’s Intelligent Applications
Neo4j215 views

Similar to The perfect couple: Uniting Large Language Models and Knowledge Graphs for Enhanced Knowledge Representation

Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf by
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j
58 views57 slides
The Art of the Possible with Graph Technology by
The Art of the Possible with Graph TechnologyThe Art of the Possible with Graph Technology
The Art of the Possible with Graph TechnologyNeo4j
29 views28 slides
La strada verso il successo con i database a grafo, la Graph Data Science e l... by
La strada verso il successo con i database a grafo, la Graph Data Science e l...La strada verso il successo con i database a grafo, la Graph Data Science e l...
La strada verso il successo con i database a grafo, la Graph Data Science e l...Neo4j
50 views50 slides
The Path To Success With Graph Database and Analytics by
The Path To Success With Graph Database and AnalyticsThe Path To Success With Graph Database and Analytics
The Path To Success With Graph Database and AnalyticsNeo4j
39 views39 slides
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da... by
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...Neo4j
39 views30 slides
The path to success with Graph Database and Graph Data Science by
The path to success with Graph Database and Graph Data ScienceThe path to success with Graph Database and Graph Data Science
The path to success with Graph Database and Graph Data ScienceNeo4j
106 views31 slides

Similar to The perfect couple: Uniting Large Language Models and Knowledge Graphs for Enhanced Knowledge Representation(20)

Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf by Neo4j
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j58 views
The Art of the Possible with Graph Technology by Neo4j
The Art of the Possible with Graph TechnologyThe Art of the Possible with Graph Technology
The Art of the Possible with Graph Technology
Neo4j29 views
La strada verso il successo con i database a grafo, la Graph Data Science e l... by Neo4j
La strada verso il successo con i database a grafo, la Graph Data Science e l...La strada verso il successo con i database a grafo, la Graph Data Science e l...
La strada verso il successo con i database a grafo, la Graph Data Science e l...
Neo4j50 views
The Path To Success With Graph Database and Analytics by Neo4j
The Path To Success With Graph Database and AnalyticsThe Path To Success With Graph Database and Analytics
The Path To Success With Graph Database and Analytics
Neo4j39 views
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da... by Neo4j
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...
Neo4j39 views
The path to success with Graph Database and Graph Data Science by Neo4j
The path to success with Graph Database and Graph Data ScienceThe path to success with Graph Database and Graph Data Science
The path to success with Graph Database and Graph Data Science
Neo4j106 views
The art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptx by Neo4j
The art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptxThe art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptx
The art of the possible with graph technology_Neo4j GraphSummit Dublin 2023.pptx
Neo4j188 views
Knowledge Graphs and Generative AI by Neo4j
Knowledge Graphs and Generative AIKnowledge Graphs and Generative AI
Knowledge Graphs and Generative AI
Neo4j139 views
Deeper Insights with Graph Data Science by Neo4j
Deeper Insights with Graph Data ScienceDeeper Insights with Graph Data Science
Deeper Insights with Graph Data Science
Neo4j50 views
The path to success with graph database and graph data science_ Neo4j GraphSu... by Neo4j
The path to success with graph database and graph data science_ Neo4j GraphSu...The path to success with graph database and graph data science_ Neo4j GraphSu...
The path to success with graph database and graph data science_ Neo4j GraphSu...
Neo4j91 views
The Neo4j Data Platform for Today & Tomorrow.pdf by Neo4j
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdf
Neo4j157 views
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov... by Neo4j
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
Neo4j77 views
Neo4j GraphSummit Copenhagen - The Art Of The Possible With Graph Technology ... by Neo4j
Neo4j GraphSummit Copenhagen - The Art Of The Possible With Graph Technology ...Neo4j GraphSummit Copenhagen - The Art Of The Possible With Graph Technology ...
Neo4j GraphSummit Copenhagen - The Art Of The Possible With Graph Technology ...
Neo4j54 views
Leveraging Graphs for Artificial Intelligence and Machine Learning - Phani Da... by Neo4j
Leveraging Graphs for Artificial Intelligence and Machine Learning - Phani Da...Leveraging Graphs for Artificial Intelligence and Machine Learning - Phani Da...
Leveraging Graphs for Artificial Intelligence and Machine Learning - Phani Da...
Neo4j41 views
The Data Platform for Today's Intelligent Applications.pdf by Neo4j
The Data Platform for Today's Intelligent Applications.pdfThe Data Platform for Today's Intelligent Applications.pdf
The Data Platform for Today's Intelligent Applications.pdf
Neo4j98 views
Modeling Cybersecurity with Neo4j, Based on Real-Life Data Insights by Neo4j
Modeling Cybersecurity with Neo4j, Based on Real-Life Data InsightsModeling Cybersecurity with Neo4j, Based on Real-Life Data Insights
Modeling Cybersecurity with Neo4j, Based on Real-Life Data Insights
Neo4j66 views
The Art of the Possible with Graph Technology by Neo4j
The Art of the Possible with Graph TechnologyThe Art of the Possible with Graph Technology
The Art of the Possible with Graph Technology
Neo4j15 views
La strada verso il successo con i database a grafo, la Graph Data Science e l... by Neo4j
La strada verso il successo con i database a grafo, la Graph Data Science e l...La strada verso il successo con i database a grafo, la Graph Data Science e l...
La strada verso il successo con i database a grafo, la Graph Data Science e l...
Neo4j9 views
Knowledge and Scalability Through Graph Composition by Neo4j
Knowledge and Scalability Through Graph CompositionKnowledge and Scalability Through Graph Composition
Knowledge and Scalability Through Graph Composition
Neo4j291 views
Nordics Edition - The Neo4j Graph Data Platform Today & Tomorrow by Neo4j
Nordics Edition - The Neo4j Graph Data Platform Today & TomorrowNordics Edition - The Neo4j Graph Data Platform Today & Tomorrow
Nordics Edition - The Neo4j Graph Data Platform Today & Tomorrow
Neo4j44 views

More from Neo4j

FIMA 2023 Neo4j & FS - Entity Resolution.pptx by
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptxNeo4j
6 views26 slides
Operations & Data Graph by
Operations & Data GraphOperations & Data Graph
Operations & Data GraphNeo4j
36 views25 slides
TAGTTOO: La nova xarxa social by
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa socialNeo4j
24 views19 slides
El Arte de lo Possible by
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo PossibleNeo4j
40 views35 slides
Neo4j y GenAI by
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI Neo4j
45 views41 slides
Roadmap y Novedades de producto by
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de productoNeo4j
51 views33 slides

More from Neo4j(20)

FIMA 2023 Neo4j & FS - Entity Resolution.pptx by Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j6 views
Operations & Data Graph by Neo4j
Operations & Data GraphOperations & Data Graph
Operations & Data Graph
Neo4j36 views
TAGTTOO: La nova xarxa social by Neo4j
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa social
Neo4j24 views
El Arte de lo Possible by Neo4j
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo Possible
Neo4j40 views
Neo4j y GenAI by Neo4j
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI
Neo4j45 views
Roadmap y Novedades de producto by Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j51 views
Neo4j : Graphes de Connaissance, IA et LLMs by Neo4j
Neo4j : Graphes de Connaissance, IA et LLMsNeo4j : Graphes de Connaissance, IA et LLMs
Neo4j : Graphes de Connaissance, IA et LLMs
Neo4j48 views
Les nouveautés produit Neo4j by Neo4j
 Les nouveautés produit Neo4j Les nouveautés produit Neo4j
Les nouveautés produit Neo4j
Neo4j28 views
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu... by Neo4j
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...
Neo4j25 views
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com... by Neo4j
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...
Neo4j53 views
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx by Neo4j
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptxNeo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Neo4j49 views
Neo4j workshop at GraphSummit London 14 Nov 2023.pdf by Neo4j
Neo4j workshop at GraphSummit London 14 Nov 2023.pdfNeo4j workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j50 views
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx by Neo4j
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptxNeo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx
Neo4j62 views
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx by Neo4j
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptxAstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
Neo4j41 views
Google Cloud at GraphSummit London 14 Nov 2023.pptx by Neo4j
Google Cloud at GraphSummit London 14 Nov 2023.pptxGoogle Cloud at GraphSummit London 14 Nov 2023.pptx
Google Cloud at GraphSummit London 14 Nov 2023.pptx
Neo4j27 views
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx by Neo4j
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptxNorthern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx
Neo4j46 views
Peek into Neo4j Product Strategy and Roadmap by Neo4j
Peek into Neo4j Product Strategy and RoadmapPeek into Neo4j Product Strategy and Roadmap
Peek into Neo4j Product Strategy and Roadmap
Neo4j87 views
Transforming Intelligence Analysis with Knowledge Graphs by Neo4j
Transforming Intelligence Analysis with Knowledge GraphsTransforming Intelligence Analysis with Knowledge Graphs
Transforming Intelligence Analysis with Knowledge Graphs
Neo4j60 views
Optimizing Your Supply Chain with Neo4j by Neo4j
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4j
Neo4j44 views
Ontology Driven Data for Fleet Management by Neo4j
Ontology Driven Data for Fleet ManagementOntology Driven Data for Fleet Management
Ontology Driven Data for Fleet Management
Neo4j54 views

Recently uploaded

[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx by
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptxDataScienceConferenc1
5 views16 slides
Advanced_Recommendation_Systems_Presentation.pptx by
Advanced_Recommendation_Systems_Presentation.pptxAdvanced_Recommendation_Systems_Presentation.pptx
Advanced_Recommendation_Systems_Presentation.pptxneeharikasingh29
5 views9 slides
[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx by
[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx
[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptxDataScienceConferenc1
5 views15 slides
How Leaders See Data? (Level 1) by
How Leaders See Data? (Level 1)How Leaders See Data? (Level 1)
How Leaders See Data? (Level 1)Narendra Narendra
14 views76 slides
Short Story Assignment by Kelly Nguyen by
Short Story Assignment by Kelly NguyenShort Story Assignment by Kelly Nguyen
Short Story Assignment by Kelly Nguyenkellynguyen01
19 views17 slides
Organic Shopping in Google Analytics 4.pdf by
Organic Shopping in Google Analytics 4.pdfOrganic Shopping in Google Analytics 4.pdf
Organic Shopping in Google Analytics 4.pdfGA4 Tutorials
14 views13 slides

Recently uploaded(20)

[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx by DataScienceConferenc1
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx
[DSC Europe 23] Stefan Mrsic_Goran Savic - Evolving Technology Excellence.pptx
Advanced_Recommendation_Systems_Presentation.pptx by neeharikasingh29
Advanced_Recommendation_Systems_Presentation.pptxAdvanced_Recommendation_Systems_Presentation.pptx
Advanced_Recommendation_Systems_Presentation.pptx
Short Story Assignment by Kelly Nguyen by kellynguyen01
Short Story Assignment by Kelly NguyenShort Story Assignment by Kelly Nguyen
Short Story Assignment by Kelly Nguyen
kellynguyen0119 views
Organic Shopping in Google Analytics 4.pdf by GA4 Tutorials
Organic Shopping in Google Analytics 4.pdfOrganic Shopping in Google Analytics 4.pdf
Organic Shopping in Google Analytics 4.pdf
GA4 Tutorials14 views
Cross-network in Google Analytics 4.pdf by GA4 Tutorials
Cross-network in Google Analytics 4.pdfCross-network in Google Analytics 4.pdf
Cross-network in Google Analytics 4.pdf
GA4 Tutorials6 views
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M... by DataScienceConferenc1
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
Chapter 3b- Process Communication (1) (1)(1) (1).pptx by ayeshabaig2004
Chapter 3b- Process Communication (1) (1)(1) (1).pptxChapter 3b- Process Communication (1) (1)(1) (1).pptx
Chapter 3b- Process Communication (1) (1)(1) (1).pptx
ayeshabaig20046 views
Data about the sector workshop by info828217
Data about the sector workshopData about the sector workshop
Data about the sector workshop
info82821712 views
CRM stick or twist.pptx by info828217
CRM stick or twist.pptxCRM stick or twist.pptx
CRM stick or twist.pptx
info82821710 views
Data Journeys Hard Talk workshop final.pptx by info828217
Data Journeys Hard Talk workshop final.pptxData Journeys Hard Talk workshop final.pptx
Data Journeys Hard Talk workshop final.pptx
info82821710 views
CRM stick or twist workshop by info828217
CRM stick or twist workshopCRM stick or twist workshop
CRM stick or twist workshop
info8282179 views
3196 The Case of The East River by ErickANDRADE90
3196 The Case of The East River3196 The Case of The East River
3196 The Case of The East River
ErickANDRADE9016 views
UNEP FI CRS Climate Risk Results.pptx by pekka28
UNEP FI CRS Climate Risk Results.pptxUNEP FI CRS Climate Risk Results.pptx
UNEP FI CRS Climate Risk Results.pptx
pekka2811 views
Survey on Factuality in LLM's.pptx by NeethaSherra1
Survey on Factuality in LLM's.pptxSurvey on Factuality in LLM's.pptx
Survey on Factuality in LLM's.pptx
NeethaSherra16 views

The perfect couple: Uniting Large Language Models and Knowledge Graphs for Enhanced Knowledge Representation

  • 1. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. LLM 💕 KG: The Perfect Couple Uniting Large Language Models and Knowledge Graphs for Enhanced Knowledge Representation Kristof Neys Director Graph Data Science Technology
  • 2. © 2023 Neo4j, Inc. All rights reserved. 7/10 20/25 7/10 Top Retail Firms Top Financial Firms Top Software Vendors Anyway You Like It 2 Creator of the Property Graph and Cypher language at the core of the GQL ISO project. Fully integrated Data Science Library Thousands of Customers World-Wide 250,000 developers worldwide Industry Leaders use Neo4j On-Prem DB-as-a-Service In the Cloud
  • 3. © 2022 Neo4j, Inc. All rights reserved. 3 Topics We will cover: 1) Knowledge Graphs 2) Knowledge Graphs + LLMs ~ As a Front end 3) Knowledge Graphs + LLMs ~ As a Back end 4) How to get started on your graph journey
  • 4. © 2023 Neo4j, Inc. All rights reserved. 4 “In a world of infinite content, knowledge becomes [very] valuable” Denny Vrandečić, Wikidata
  • 5. © 2023 Neo4j, Inc. All rights reserved. 5 The Core Graph Object: A Knowledge Graph
  • 6. © 2023 Neo4j, Inc. All rights reserved. What are Knowledge Graphs? ● Entities can be real-world objects and abstract concepts ● Relationships represent the connections between entities ● Semantic description of the entities and relationships A knowledge graph is a structured representation of facts, consisting of entities, relationships and semantic descriptions
  • 7. © 2023 Neo4j, Inc. All rights reserved. 7 From Data points to a Knowledge Graph Car DRIVES name: “Dan” born: May 29, 1978 twitter: “@dan” name: “Ann” born: Dec 5, 1979 brand: “Volvo” model: “V90” description: since: Jan 10, 2021 LOVES LOVES LIVES_WITH O W N S Person Person
  • 8. © 2023 Neo4j, Inc. All rights reserved. User :VISITED Website User IPLocation Website IPLocation Website Website Website :VISITED :VISITED :VISITED :USED :USED : U S E D : V I S I T E D : V I S I T E D :VISITED :SAME_AS Graphs allows you to make implicit relationships…. ….explicit Graphs….Grow!
  • 9. © 2023 Neo4j, Inc. All rights reserved. :SAME_AS User :VISITED Website User IPLocation Website IPLocation Website Website Website :VISITED :VISITED :VISITED :USED :USED : U S E D : V I S I T E D : V I S I T E D :VISITED User :SAM E_AS :USED :VISITED PersonId: 1 PersonId: 1 PersonId: 1 User PersonId: 2 :VISITED …and can then group similar nodes…and create a new graph from the explicit relationships… A graph grows organically - gaining insights and enriching your data Graphs….Grow!
  • 10. © 2023 Neo4j, Inc. All rights reserved. Come and see us for the book on Knowledge Graphs
  • 11. © 2023 Neo4j, Inc. All rights reserved. 11 Knowledge Graph + LLM A marriage made in heaven
  • 12. © 2023 Neo4j, Inc. All rights reserved. 12 Setting the context - From a user point of view
  • 13. © 2023 Neo4j, Inc. All rights reserved. 13 As a front-end…
  • 14. © 2023 Neo4j, Inc. All rights reserved. 14 Architecture NeoDash Dashboard UI Neo4j Free text input APOC call Graph representations Embeddings Graph visualization of results NeoDash Dashboard UI Persist results Conceptual flow for a text-to-graph or graph-to-text application based on Neo4j + OpenAI.
  • 15. © 2023 Neo4j, Inc. All rights reserved. 15 Writing Code is soo last year….
  • 16. © 2023 Neo4j, Inc. All rights reserved. 16 As a back-end…
  • 17. © 2023 Neo4j, Inc. All rights reserved. 17 We are not making this up…
  • 18. © 2023 Neo4j, Inc. All rights reserved. 18 Three main ways to let LLM’s work with your Graph
  • 19. © 2023 Neo4j, Inc. All rights reserved. 19 Knowledge Graphs that enhance LLMs
  • 20. © 2023 Neo4j, Inc. All rights reserved. LLMs Core function…To manipulate strings… • GPT training focuses primarily on predicting the probability of text sequences and specifically for predicting which words come next in a sequence “When you play the game of thrones…. Input LLM …you win or you die. There is no middle ground.” Output
  • 21. © 2023 Neo4j, Inc. All rights reserved. 21 Nothing is perfect… but don’t push it!
  • 22. © 2023 Neo4j, Inc. All rights reserved.
  • 23. © 2023 Neo4j, Inc. All rights reserved. There is no need for this…!
  • 24. © 2023 Neo4j, Inc. All rights reserved. Whereas we all know what The Truth is…
  • 25. © 2023 Neo4j, Inc. All rights reserved.
  • 26. © 2023 Neo4j, Inc. All rights reserved. It’s all about Knowledge and Accuracy • Training data can be false • LLMs: training is focused on self-supervised learning • Cut-off date: i.e ChatGPT is only trained on pre Sep 2021 data • Inability to verify sources for answers • Sensitive to prompt (input) phrasing • Lack of explainability
  • 27. © 2023 Neo4j, Inc. All rights reserved. Making stuff up…
  • 28. © 2023 Neo4j, Inc. All rights reserved. In Summary…
  • 29. © 2023 Neo4j, Inc. All rights reserved. 29 So…, let’s solve this problem!
  • 30. © 2023 Neo4j, Inc. All rights reserved. How to Help LLMs Do Better? Few-Shot Learning Fine-Tuning Grounding Provide completed examples “shots” to the AI as context in prompts. a.k.a In-Context Learning Provide additional training data to better tune GenAI to your use case Provide AI with the information to use for generating responses
  • 31. © 2023 Neo4j, Inc. All rights reserved. Grounding Provide AI with the information to use for generating responses Best of Both Worlds Use the language understanding skills of LLMs but control the knowledge/sources it uses ● Improve accuracy & tailor to enterprise and use case ● Reduce hallucinations and other inconsistencies ● Control provenance Methods ● Internet search, plugins, agents ● Query generation ● Retrieval Augmented Generation (RAG) Image by GenAI (DALL-E)
  • 32. © 2023 Neo4j, Inc. All rights reserved. 32 Grounding with Retrieval Augmented Generation (RAG)
  • 33. Neo4j, Inc. All rights reserved 2021 33 What’s in it for me…?
  • 34. © 2023 Neo4j, Inc. All rights reserved. LLMs can help generate more accurate responses by considering the connections and dependencies within the graph and mapping new links as new data is identified. Flexible Schema means it is easy to grow your knowledge base whenever new information is available Relationships are data that is used to return explicit results Accuracy Vector Search adds semantic search
  • 35. © 2023 Neo4j, Inc. All rights reserved. Knowledge graphs supply the LLM with information about your company so answers are specific to your business, giving more context for more accurate responses. Add a layer of context over your LLM for accuracy and specificity Specificity
  • 36. © 2023 Neo4j, Inc. All rights reserved. Map relationships between search results and data source nodes Represent data sources as nodes Add metadata or annotations Verify the enriched responses from your LLM because each piece of information is linked to its sources and origins. Explainability
  • 37. © 2023 Neo4j, Inc. All rights reserved. LLM retrieves and returns information governed by your enterprise security and access control policies-down to the node level. Define policies by role or identity Integrates with identity and access management provider with SSO Security & Privacy Build constraints on nodes, labels, relationships, properties, specific parts of the graph, and even traversal depth
  • 38. © 2023 Neo4j, Inc. All rights reserved. Easily scale with autonomous clustering Reliability & Low-latency Knowledge graphs scale and are battle-tested to thousands of concurrent users, get answers quickly with incredibly fast query speeds. Incredibly fast traversals with index free adjacency
  • 39. © 2023 Neo4j, Inc. All rights reserved. 39 Use LLM to augment Knowledge Graphs ● Named Entity Recognition ● Knowledge Compression
  • 40. © 2023 Neo4j, Inc. All rights reserved. 40 Use LLM to augment Knowledge Graphs: Named Entity Recognition
  • 41. © 2023 Neo4j, Inc. All rights reserved. Creating a Knowledge Graph From Unstructured Text is Difficult Traditional entity extraction pipelines can be • resource intensive • difficult to transfer/generalize: ◦ specialized NLP libraries/tools ◦ domain specific ◦ require subject matter expertise ◦ lots of trial & error ◦ Mix of business rules, machine learning, and custom hand-rolled logic
  • 42. © 2023 Neo4j, Inc. All rights reserved. LLMs can Jumpstart Knowledge Graph Creation LLMs can be prompted to: 1. Extract data from unstructured text • Entity extraction, including pronouns and partial references • Entity disambiguation • Extraction of semantic relationships 2. Aide or directly perform graph ingestion • Determine desired output (Pandas DataFrame etc) • Structure extracted data (triples, json, csv) to work with Cypher insert templates Input Data LLM User Neo4j
  • 43. © 2023 Neo4j, Inc. All rights reserved. 43 Use LLM to augment Knowledge Graphs: Knowledge Compression
  • 44. © 2023 Neo4j, Inc. All rights reserved. Text Embeddings are a Key Concept for Knowledge Compression Consider the question: What is text embedding? It can be represented / translated as a vector using the OpenAI Embedding API: [-0.03156438, 0.0013196499, -0.01716885, -0.0008197554, 0.011872382, 0.0036221128, -0.022915626, -0.005925469, … (1528 more items to go here …] • This translation process is called Embedding. It is a machine learning process to convert complex, high-dimensional data e.g. text, image etc. into lower-dimensional representations(vectors) while preserving essential relationships and structure. • Embedding is the knowledge for AI as it is produced, understood and used by various algorithms and AI systems.
  • 45. © 2023 Neo4j, Inc. All rights reserved. Text Embedding Vectors for Semantic Search Given a question, find the most relevant documents based on a similarity metric (such as Cosine Similarity) between vector of the question and vectors of contents. Moving from keyword search to similarity (semantic) search. Q: what is text embedding? abstractId similarity 456 0.923445 22 0.892114 … ... Top K by similarity
  • 46. Use LLMs for Graph Enrichment Neo4j Inc. All rights reserved 2023 46 [0.2322,0.3321,….,0.0021] [0.3233,0.3543,….,0.0047] [0.5674,0.2134,….,0.0054] [0.4565,0.2345,….,0.0342] [0.8743,0.4343,….,0.0234] LLM APIs (OpenAI/ VertexAI/ AWS Bedrock etc.) Text Embeddings Article PDFs (Unstructured Data)
  • 47. © 2023 Neo4j, Inc. All rights reserved. 47 One last thing…
  • 48. © 2023 Neo4j, Inc. All rights reserved. 48 https://neo4j.com/blog/vector-search-deeper-insights/
  • 49. © 2023 Neo4j, Inc. All rights reserved.
  • 50. © 2023 Neo4j, Inc. All rights reserved. 50 How to get started on your Graph Journey?
  • 51. Neo4j, Inc. All rights reserved 2021
  • 52. Neo4j, Inc. All rights reserved 2021
  • 53. © 2023 Neo4j, Inc. All rights reserved. 53 And now in APOC too…
  • 54. © 2023 Neo4j, Inc. All rights reserved. 54 Some examples…
  • 55. © 2023 Neo4j, Inc. All rights reserved. 55
  • 56. © 2023 Neo4j, Inc. All rights reserved. 56
  • 57. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. Thank you! Contact us at sales@neo4j.com