SlideShare a Scribd company logo
1 of 50
Download to read offline
La strada verso il successo
con i database a grafo, la
Graph Data Science e l’AI
generativa
Marco Bessi, PreSale Engineer
Neo4j Inc. All rights reserved 2023
Your friendly instructor
Neo4j
Italy
PreSale
Engineer
PhD
@PoliMI
Neo4j Inc. All rights reserved 2023
Neo4j
Neo4j Inc. All rights reserved 2023
Pioneered the
graph database
in 2002
4 Neo4j Inc. All rights reserved 2023
Neo4j is a DB
Causal
clustering
ACID
transactions
High
availability
Binary
& HTTP
protocol
Official
drivers
5 Neo4j Inc. All rights reserved 2023
Neo4j is a GRAPH DB
Causal
clustering
ACID
transactions
High
availability
Binary
& HTTP
protocol
Official
drivers
Native
graph DB
Property
graph
model
Schema
free
Index-free
adjacency
Cypher
6 Neo4j Inc. All rights reserved 2023
Labeled property graph
model components
• Nodes
- Represent objects in the graph
• Relationships
- Relate nodes by type and direction
• Properties
- Name-value pairs that can go
on nodes and relationships
- Can have indexes and composite
indexes
• Labels
- Group nodes & shape the domain
7 Neo4j Inc. All rights reserved 2023
Hybrid workload duality
Intelligent
Operational
Systems
Graph Transactions,
Storage & Querying
Built for operational and analytical workloads
Better
Predictions
for Analytics
Graph Analytics, ML,
& Data Science
8 Neo4j Inc. All rights reserved 2023
Graph Data Science
Neo4j Inc. All rights reserved 2023
GDS evolution
Local
Matching
Use embeddings to learn
the features in your
graph that you don’t even
know are important yet.
Train in-graph supervise
ML models to predict
links, labels and missing
data.
Global
Patterns
Graph
Representations
Use unsupervised
machine learning
techniques to identify
associations, anomalies,
and trends.
Graph analytics
Graph feature
engineering
Find the patterns
you’re looking for in
connected data.
Knowledge graphs
10 Neo4j Inc. All rights reserved 2023
65+ Graph Data Science Techniques in Neo4j
Pathfinding &
Search
• Shortest Path
• Single-Source Shortest Path
• All Pairs Shortest Path
• A* Shortest Path
• Yen’s K Shortest Path
• Minimum Weight Spanning Tree
• K-Spanning Tree (MST)
• Random Walk
• Breadth & Depth First Search
Centrality &
Importance
• Degree Centrality
• Closeness Centrality
• Harmonic Centrality
• Betweenness Centrality & Approx.
• PageRank
• Personalized PageRank
• ArticleRank
• Eigenvector Centrality
• Hyperlink Induced Topic Search (HITS)
• Influence Maximization (Greedy, CELF)
Community
Detection
• Triangle Count
• Local Clustering Coefficient
• Connected Components (Union Find)
• Strongly Connected Components
• Label Propagation
• Louvain Modularity
• K-1 Coloring
• Modularity Optimization
• Speaker Listener Label Propagation
Supervised
Machine Learning
• Node Classification
• Link Prediction
… and more!
Heuristic Link
Prediction
• Adamic Adar
• Common Neighbors
• Preferential Attachment
• Resource Allocations
• Same Community
• Total Neighbors
Similarity
• Node Similarity
• K-Nearest Neighbors (KNN)
• Jaccard Similarity
• Cosine Similarity
• Pearson Similarity
• Euclidean Distance
• Approximate Nearest Neighbors (ANN)
Graph
Embeddings
• Node2Vec
• FastRP
• FastRPExtended
• GraphSAGE
• Synthetic Graph Generation
• Scale Properties
• Collapse Paths
• One Hot Encoding
• Split Relationships
• Graph Export
• Pregel API (write your own algos)
11 Neo4j Inc. All rights reserved 2023
Where is graph data science applied
Predictive
Maintenance
Churn
Prediction
Fraud
Detection
Life Sciences
Personalized
Recommendations
Cybersecurity
Disambiguation &
Segmentation
GenAI and KG
12 Neo4j Inc. All rights reserved 2023
Generative AI &
Knowledge Graphs
Neo4j Inc. All rights reserved 2023
In a world of infinite
content, knowledge
becomes valuable
Denny
Vrandečić
[WikiData]
[Semantic MediaWiki]
[Wikifunctions]
14 Neo4j Inc. All rights reserved 2023
$6.6 Trillion
In Economic Value
Generative AI is Predicted to Unlock
Up to 3.3% productivity improvement annually
15 Neo4j Inc. All rights reserved 2023
Generative AI
A branch of artificial intelligence that
focuses on creating models and
algorithms capable of generating new
and original content.
ChatGPT is a well known example of a
generative AI.
A type of Generative AI that is trained on
vast amounts of content.
Currently seen as the “GenAI for
language/text”.
ChatGPT is a Large Language Model.
Large Language Model
LLMs give us an amazing opportunity to:
Automate data
retrieval tasks 1
3
2
4
Expedite reading,
understanding, &
summarizing
Improve customer
service experiences
Generate content
& code
17 Neo4j Inc. All rights reserved 2023
Save time and money
Improve growth and retention:
Customer
Operations 1
3
2
4
Software Engineering
Marketing & Sales
R&D
75% of GenAI value will come from four areas
18 Neo4j Inc. All rights reserved 2023
But there are challenges:
1
3
2
4
5
Knowledge
cut-off
Can inherit bias
through training data
Reasonable answers,
not always accurate
Lack of enterprise
domain knowledge
Inability to verify or
attribute sources
19 Neo4j Inc. All rights reserved 2023
In summary
Learns random sentences from
random people
Talks like a person but doesn’t
really understand what it’s saying
Occasionally speaks absolute
non sense
Is a cute little bird
20 Neo4j Inc. All rights reserved 2023
How can you take advantage of
this massive opportunity while
overcoming these challenges?
21 Neo4j Inc. All rights reserved 2023
LLM + Graphs
I want to use
LLM’s in my
Graph for…
22 Neo4j Inc. All rights reserved 2023
LLM + Graphs
Front-end
Natural language
to cypher
I want to use
LLM’s in my
Graph for…
23 Neo4j Inc. All rights reserved 2023
LLM + Graphs
Back-end
KG-enhanced
LLMs
Front-end
Natural language
to cypher
I want to use
LLM’s in my
Graph for…
24 Neo4j Inc. All rights reserved 2023
How to help LLM do better?
Fine tuning
Few-shot
learning
Grounding
Provide additional
training data to better
tune GenAI to your
use case
Provide completed
examples “shots” to
the AI as context in
prompts. a.k.a
In-Context Learning
Provide AI with the
information to use for
generating responses
Neo4j as the data
source for Grounding
25 Neo4j Inc. All rights reserved 2023
Ground LLMs in Neo4j’s Knowledge Graph
26 Neo4j Inc. All rights reserved 2023
Retrieval Augmented
Generation (RAG):
retrieve data from outside a
foundation model and augment
your prompts by adding the
relevant retrieved data in
context
Neo4j’s Knowledge Graph
LLM + Neo4j’s
Knowledge
Graph
Improve
accuracy
Deploy with
confidence
Unlock
innovation
27 Neo4j Inc. All rights reserved 2023
Combine the power of LLM with the stored data of
your knowledge graph for more accurate responses
and to reduce hallucinations.
Improve Accuracy
Neo4j Inc. All rights reserved 2023
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 implicit
results showcasing similar
responses
29 Neo4j Inc. All rights reserved 2023
Knowledge retrieval with Neo4j
30 Neo4j Inc. All rights reserved 2023
CALL db.index.vector.queryNodes('products', 5, $embedding)
CALL apoc.ml.openai.embedding([$question], $apiKey)
CALL apoc.ml.openai.chat([{role:'system', content: $system},
{role:'user', content: $user}], $apiKey)
1
2
3
Add a layer of context
over your LLM for
accuracy and
specificity
Neo4j knowledge graphs supply the LLM with information about your company so answers
are specific to your business, giving more context for more accurate responses.
Specificity
31 Neo4j Inc. All rights reserved 2023
Ensure your grounding-partner meets security,
scalability, and regulatory requirements so you
can deploy enterprise-wide with confidence.
Deploy with Confidence
Neo4j Inc. All rights reserved 2023
Define policies by role or identity
Integrates with identity and access
management provider with SSO
LLM retrieves and returns information governed by your enterprise security and
access control policies-down to the node level.
Security & Privacy
Build constraints on nodes, labels,
relationships, properties, specific
parts of the graph, and even
traversal depth
33 Neo4j Inc. All rights reserved 2023
Easily scale with autonomous
clustering
Reliability
Neo4j 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
34 Neo4j Inc. All rights reserved 2023
Add metadata or annotations
Map relationships between
search results and data source
nodes
Represent data sources as nodes
Verify the enriched responses from your LLM because each piece of information is
linked to its sources and origins.
Explainability
35 Neo4j Inc. All rights reserved 2023
Adopt innovation and iterate as your LLM
implementations evolve with full interoperability
across all cloud and data providers.
Unlock Innovation
Neo4j Inc. All rights reserved 2023
Any cloud, any data provider
Graph Data Science
BI & VISUALIZATIONS
INGEST
STORE
PROCESS
Apache
Kafka
MACHINE LEARNING
Cloud
Functions
Neo4j Bloom
PubSub
DataProc
Analytics
Feature
Engineering
Data
Exploration
Graph
Data
Science
Business
Applications &
Existing Systems
Files (unstructured,
structured)
TensorFlow
KNIME Python
Cloud Storage
AWS
Lambda
Graph Database
37 Neo4j Inc. All rights reserved 2023
Ground LLMs to improve accuracy and explainability with Neo4j’s
enterprise-ready knowledge graph built on a flexible schema that
integrates seamlessly with your GenAI tech platform.
Stay Grounded with Neo4j
Improve Accuracy Deploy with Confidence Unlock Innovation
Neo4j Inc. All rights reserved 2023
Nhow Milano
Via Tortona 35, Milano
Graph Talk Milano
Giovedi, 5 Ottobre 2023
9.00-13.30
Thank you
Marco Bessi, PreSale Engineer, marco.bessi@neo4j.com
Neo4j Inc. All rights reserved 2023
Support
41 Neo4j Inc. All rights reserved 2023
Better predictions with data you already have
● Traditional ML ignore network structure because it’s difficult to extract
● Add graphy data to existing ML pipelines to increase accuracy, or
● Graphs use relationships to unlock otherwise unattainable predictions
Machine Learning Pipeline
42 Neo4j Inc. All rights reserved 2023
Why do data science in Neo4j (VS Python/R )?
1
2
3
Performance: Specialized data structure; Good concurrency;
In-memory optimization & compression productions-ready.
Easy of use: Consistent syntax, including Cypher;
Comprehensive library (65+ vetted algorithms);
Persistence, every stage of the data science process
can be stored/not stored.
Product support: GDS / AuraDS is supported
by Neo4j, well documented, with a large
team of support engineers, and a sizeable
user community.
43 Neo4j Inc. All rights reserved 2023
Neo4j should be the database for Grounding
44 Neo4j Inc. All rights reserved 2023
Vector DB Limitations
Knowledge Graph
Strengths
Neo4j Differentiators
Similarity ≠ Relevance or
Accuracy
Black-Box (Sub-Symbolic)
Duplicate & incomplete
results
Missing reference information
Challenging to answer
multi-hop questions
Difficult for SME to correct
Relevancy beyond just
similarity
Transparent symbolic
representation
Condensed information
storage
References between
documents calculated before
query time
Enables human correction
LLMs understand Cypher
Vectors + Cypher
Index for many data types
(numeric, geopoints, dates)
Fine-grained security and
access control
ACID transactions,
high-availability, and scale
Ecosystem integration
Available on all clouds
Graph Data Science for
enhanced ML
New Neo4j features
From Neo4j v5.11
1
2
APOC OpenAI API:
CALL apoc.ml.openai.embedding(['Some Text'], $apiKey, {})
CALL apoc.ml.openai.completion('Question', $apiKey, {config}) yield
value;
CALL apoc.ml.query("Question") yield value, query
...
Vector index & search:
Index nodes on float or double array properties.
Based on Lucene which uses Hierarchical Navigable Small-World graphs (HNSW).
Created and queried using procedures.
Vector index
Leveraging Vector + KG
Creation
CALL db.index.vector.createNodeIndex(
)
indexName, // Name of the index to create (STRING)
label, // Label of nodes to index (STRING)
propertyKey, // Property key to index (STRING)
dimensions, // Dimensionality of vectors to index (INTEGER)
similarityFunction // “EUCLIDEAN” or “COSINE”
(case-insensitive STRING)
Querying
CALL db.index.vector.queryNodes(
)
indexName, // Name of the index to query (STRING)
k, // Number of neighbors to query for (INTEGER)
vector // Query vector whose neighbors we are searching for
(LIST<FLOAT>)
Writing vector efficiently
CALL db.create.setVectorProperty(
)
node, // Nodes to add the property to (NODE)
propertyKey, // Property key to write to (STRING)
vector, // Property value to write (LIST<FLOAT>)

More Related Content

Similar to La strada verso il successo con i database a grafo, la Graph Data Science e l’AI generativa

Relationships Matter: Using Connected Data for Better Machine Learning
Relationships Matter: Using Connected Data for Better Machine LearningRelationships Matter: Using Connected Data for Better Machine Learning
Relationships Matter: Using Connected Data for Better Machine LearningNeo4j
 
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...Neo4j
 
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...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...
Neo4j : la voie du succès avec les bases de données de graphes et la Graph Da...Neo4j
 
Graphs for Data Science and Machine Learning
Graphs for Data Science and Machine LearningGraphs for Data Science and Machine Learning
Graphs for Data Science and Machine LearningNeo4j
 
Tackling GenAI Challenges with Knowledge Graphs, Graph Data Science and LLMs
Tackling GenAI Challenges with Knowledge Graphs, Graph Data Science and LLMsTackling GenAI Challenges with Knowledge Graphs, Graph Data Science and LLMs
Tackling GenAI Challenges with Knowledge Graphs, Graph Data Science and LLMsNeo4j
 
Government GraphSummit: Leveraging Graphs for AI and ML
Government GraphSummit: Leveraging Graphs for AI and MLGovernment GraphSummit: Leveraging Graphs for AI and ML
Government GraphSummit: Leveraging Graphs for AI and MLNeo4j
 
The Path To Success With Graph Database and Analytics
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
 
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
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
 
Neo4j GraphDay Seattle- Sept19- Connected data imperative
Neo4j GraphDay Seattle- Sept19- Connected data imperativeNeo4j GraphDay Seattle- Sept19- Connected data imperative
Neo4j GraphDay Seattle- Sept19- Connected data imperativeNeo4j
 
Optimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4jNeo4j
 
Neo4j y GenAI
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI 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...
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...Neo4j
 
ntroducing to the Power of Graph Technology
ntroducing to the Power of Graph Technologyntroducing to the Power of Graph Technology
ntroducing to the Power of Graph TechnologyNeo4j
 
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...Using Connected Data and Graph Technology to Enhance Machine Learning and Art...
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...Neo4j
 
The path to success with Graph Database and Graph Data Science
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
 
GraphSummit Toronto: Leveraging Graphs for AI and ML
GraphSummit Toronto: Leveraging Graphs for AI and MLGraphSummit Toronto: Leveraging Graphs for AI and ML
GraphSummit Toronto: Leveraging Graphs for AI and MLNeo4j
 
Workshop - Build a Graph Solution
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph SolutionNeo4j
 
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
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
 
Government GraphSummit: Optimizing the Supply Chain
Government GraphSummit: Optimizing the Supply ChainGovernment GraphSummit: Optimizing the Supply Chain
Government GraphSummit: Optimizing the Supply ChainNeo4j
 

Similar to La strada verso il successo con i database a grafo, la Graph Data Science e l’AI generativa (20)

Relationships Matter: Using Connected Data for Better Machine Learning
Relationships Matter: Using Connected Data for Better Machine LearningRelationships Matter: Using Connected Data for Better Machine Learning
Relationships Matter: Using Connected Data for Better Machine Learning
 
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
 
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
 
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 : la voie du succès avec les bases de données de graphes et la Graph Da...
 
Graphs for Data Science and Machine Learning
Graphs for Data Science and Machine LearningGraphs for Data Science and Machine Learning
Graphs for Data Science and Machine Learning
 
Tackling GenAI Challenges with Knowledge Graphs, Graph Data Science and LLMs
Tackling GenAI Challenges with Knowledge Graphs, Graph Data Science and LLMsTackling GenAI Challenges with Knowledge Graphs, Graph Data Science and LLMs
Tackling GenAI Challenges with Knowledge Graphs, Graph Data Science and LLMs
 
Government GraphSummit: Leveraging Graphs for AI and ML
Government GraphSummit: Leveraging Graphs for AI and MLGovernment GraphSummit: Leveraging Graphs for AI and ML
Government GraphSummit: Leveraging Graphs for AI and ML
 
The Path To Success With Graph Database and Analytics
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
 
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
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.pptx
 
Neo4j GraphDay Seattle- Sept19- Connected data imperative
Neo4j GraphDay Seattle- Sept19- Connected data imperativeNeo4j GraphDay Seattle- Sept19- Connected data imperative
Neo4j GraphDay Seattle- Sept19- Connected data imperative
 
Optimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4j
 
Neo4j y GenAI
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI
 
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...
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
 
ntroducing to the Power of Graph Technology
ntroducing to the Power of Graph Technologyntroducing to the Power of Graph Technology
ntroducing to the Power of Graph Technology
 
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...Using Connected Data and Graph Technology to Enhance Machine Learning and Art...
Using Connected Data and Graph Technology to Enhance Machine Learning and Art...
 
The path to success with Graph Database and Graph Data Science
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
 
GraphSummit Toronto: Leveraging Graphs for AI and ML
GraphSummit Toronto: Leveraging Graphs for AI and MLGraphSummit Toronto: Leveraging Graphs for AI and ML
GraphSummit Toronto: Leveraging Graphs for AI and ML
 
Workshop - Build a Graph Solution
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph Solution
 
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
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
 
Government GraphSummit: Optimizing the Supply Chain
Government GraphSummit: Optimizing the Supply ChainGovernment GraphSummit: Optimizing the Supply Chain
Government GraphSummit: Optimizing the Supply Chain
 

More from Neo4j

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansQIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansNeo4j
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...Neo4j
 
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafosBBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafosNeo4j
 
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...Neo4j
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jNeo4j
 
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdfNeo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdfNeo4j
 
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdfRabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdfNeo4j
 
IA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeIA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeNeo4j
 
Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)Neo4j
 
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j
 
Enabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge GraphsEnabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge GraphsNeo4j
 
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdfNeo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdfNeo4j
 
Neo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with GraphNeo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with GraphNeo4j
 
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...Neo4j
 
Deloitte & Red Cross: Talk to your data with Knowledge-enriched Generative AI
Deloitte & Red Cross: Talk to your data with Knowledge-enriched Generative AIDeloitte & Red Cross: Talk to your data with Knowledge-enriched Generative AI
Deloitte & Red Cross: Talk to your data with Knowledge-enriched Generative AINeo4j
 

More from Neo4j (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansQIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
 
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafosBBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
 
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
 
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdfNeo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
 
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdfRabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
 
IA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeIA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG time
 
Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)
 
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
 
Enabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge GraphsEnabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge Graphs
 
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdfNeo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
 
Neo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with GraphNeo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with Graph
 
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
 
Deloitte & Red Cross: Talk to your data with Knowledge-enriched Generative AI
Deloitte & Red Cross: Talk to your data with Knowledge-enriched Generative AIDeloitte & Red Cross: Talk to your data with Knowledge-enriched Generative AI
Deloitte & Red Cross: Talk to your data with Knowledge-enriched Generative AI
 

Recently uploaded

Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 

Recently uploaded (20)

Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 

La strada verso il successo con i database a grafo, la Graph Data Science e l’AI generativa

  • 1. La strada verso il successo con i database a grafo, la Graph Data Science e l’AI generativa Marco Bessi, PreSale Engineer Neo4j Inc. All rights reserved 2023
  • 3. Neo4j Neo4j Inc. All rights reserved 2023
  • 4. Pioneered the graph database in 2002 4 Neo4j Inc. All rights reserved 2023
  • 5. Neo4j is a DB Causal clustering ACID transactions High availability Binary & HTTP protocol Official drivers 5 Neo4j Inc. All rights reserved 2023
  • 6. Neo4j is a GRAPH DB Causal clustering ACID transactions High availability Binary & HTTP protocol Official drivers Native graph DB Property graph model Schema free Index-free adjacency Cypher 6 Neo4j Inc. All rights reserved 2023
  • 7. Labeled property graph model components • Nodes - Represent objects in the graph • Relationships - Relate nodes by type and direction • Properties - Name-value pairs that can go on nodes and relationships - Can have indexes and composite indexes • Labels - Group nodes & shape the domain 7 Neo4j Inc. All rights reserved 2023
  • 8. Hybrid workload duality Intelligent Operational Systems Graph Transactions, Storage & Querying Built for operational and analytical workloads Better Predictions for Analytics Graph Analytics, ML, & Data Science 8 Neo4j Inc. All rights reserved 2023
  • 9. Graph Data Science Neo4j Inc. All rights reserved 2023
  • 10. GDS evolution Local Matching Use embeddings to learn the features in your graph that you don’t even know are important yet. Train in-graph supervise ML models to predict links, labels and missing data. Global Patterns Graph Representations Use unsupervised machine learning techniques to identify associations, anomalies, and trends. Graph analytics Graph feature engineering Find the patterns you’re looking for in connected data. Knowledge graphs 10 Neo4j Inc. All rights reserved 2023
  • 11. 65+ Graph Data Science Techniques in Neo4j Pathfinding & Search • Shortest Path • Single-Source Shortest Path • All Pairs Shortest Path • A* Shortest Path • Yen’s K Shortest Path • Minimum Weight Spanning Tree • K-Spanning Tree (MST) • Random Walk • Breadth & Depth First Search Centrality & Importance • Degree Centrality • Closeness Centrality • Harmonic Centrality • Betweenness Centrality & Approx. • PageRank • Personalized PageRank • ArticleRank • Eigenvector Centrality • Hyperlink Induced Topic Search (HITS) • Influence Maximization (Greedy, CELF) Community Detection • Triangle Count • Local Clustering Coefficient • Connected Components (Union Find) • Strongly Connected Components • Label Propagation • Louvain Modularity • K-1 Coloring • Modularity Optimization • Speaker Listener Label Propagation Supervised Machine Learning • Node Classification • Link Prediction … and more! Heuristic Link Prediction • Adamic Adar • Common Neighbors • Preferential Attachment • Resource Allocations • Same Community • Total Neighbors Similarity • Node Similarity • K-Nearest Neighbors (KNN) • Jaccard Similarity • Cosine Similarity • Pearson Similarity • Euclidean Distance • Approximate Nearest Neighbors (ANN) Graph Embeddings • Node2Vec • FastRP • FastRPExtended • GraphSAGE • Synthetic Graph Generation • Scale Properties • Collapse Paths • One Hot Encoding • Split Relationships • Graph Export • Pregel API (write your own algos) 11 Neo4j Inc. All rights reserved 2023
  • 12. Where is graph data science applied Predictive Maintenance Churn Prediction Fraud Detection Life Sciences Personalized Recommendations Cybersecurity Disambiguation & Segmentation GenAI and KG 12 Neo4j Inc. All rights reserved 2023
  • 13. Generative AI & Knowledge Graphs Neo4j Inc. All rights reserved 2023
  • 14. In a world of infinite content, knowledge becomes valuable Denny Vrandečić [WikiData] [Semantic MediaWiki] [Wikifunctions] 14 Neo4j Inc. All rights reserved 2023
  • 15. $6.6 Trillion In Economic Value Generative AI is Predicted to Unlock Up to 3.3% productivity improvement annually 15 Neo4j Inc. All rights reserved 2023
  • 16. Generative AI A branch of artificial intelligence that focuses on creating models and algorithms capable of generating new and original content. ChatGPT is a well known example of a generative AI. A type of Generative AI that is trained on vast amounts of content. Currently seen as the “GenAI for language/text”. ChatGPT is a Large Language Model. Large Language Model
  • 17. LLMs give us an amazing opportunity to: Automate data retrieval tasks 1 3 2 4 Expedite reading, understanding, & summarizing Improve customer service experiences Generate content & code 17 Neo4j Inc. All rights reserved 2023
  • 18. Save time and money Improve growth and retention: Customer Operations 1 3 2 4 Software Engineering Marketing & Sales R&D 75% of GenAI value will come from four areas 18 Neo4j Inc. All rights reserved 2023
  • 19. But there are challenges: 1 3 2 4 5 Knowledge cut-off Can inherit bias through training data Reasonable answers, not always accurate Lack of enterprise domain knowledge Inability to verify or attribute sources 19 Neo4j Inc. All rights reserved 2023
  • 20. In summary Learns random sentences from random people Talks like a person but doesn’t really understand what it’s saying Occasionally speaks absolute non sense Is a cute little bird 20 Neo4j Inc. All rights reserved 2023
  • 21. How can you take advantage of this massive opportunity while overcoming these challenges? 21 Neo4j Inc. All rights reserved 2023
  • 22. LLM + Graphs I want to use LLM’s in my Graph for… 22 Neo4j Inc. All rights reserved 2023
  • 23. LLM + Graphs Front-end Natural language to cypher I want to use LLM’s in my Graph for… 23 Neo4j Inc. All rights reserved 2023
  • 24. LLM + Graphs Back-end KG-enhanced LLMs Front-end Natural language to cypher I want to use LLM’s in my Graph for… 24 Neo4j Inc. All rights reserved 2023
  • 25. How to help LLM do better? Fine tuning Few-shot learning Grounding Provide additional training data to better tune GenAI to your use case Provide completed examples “shots” to the AI as context in prompts. a.k.a In-Context Learning Provide AI with the information to use for generating responses Neo4j as the data source for Grounding 25 Neo4j Inc. All rights reserved 2023
  • 26. Ground LLMs in Neo4j’s Knowledge Graph 26 Neo4j Inc. All rights reserved 2023 Retrieval Augmented Generation (RAG): retrieve data from outside a foundation model and augment your prompts by adding the relevant retrieved data in context
  • 27. Neo4j’s Knowledge Graph LLM + Neo4j’s Knowledge Graph Improve accuracy Deploy with confidence Unlock innovation 27 Neo4j Inc. All rights reserved 2023
  • 28. Combine the power of LLM with the stored data of your knowledge graph for more accurate responses and to reduce hallucinations. Improve Accuracy Neo4j Inc. All rights reserved 2023
  • 29. 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 implicit results showcasing similar responses 29 Neo4j Inc. All rights reserved 2023
  • 30. Knowledge retrieval with Neo4j 30 Neo4j Inc. All rights reserved 2023 CALL db.index.vector.queryNodes('products', 5, $embedding) CALL apoc.ml.openai.embedding([$question], $apiKey) CALL apoc.ml.openai.chat([{role:'system', content: $system}, {role:'user', content: $user}], $apiKey) 1 2 3
  • 31. Add a layer of context over your LLM for accuracy and specificity Neo4j knowledge graphs supply the LLM with information about your company so answers are specific to your business, giving more context for more accurate responses. Specificity 31 Neo4j Inc. All rights reserved 2023
  • 32. Ensure your grounding-partner meets security, scalability, and regulatory requirements so you can deploy enterprise-wide with confidence. Deploy with Confidence Neo4j Inc. All rights reserved 2023
  • 33. Define policies by role or identity Integrates with identity and access management provider with SSO LLM retrieves and returns information governed by your enterprise security and access control policies-down to the node level. Security & Privacy Build constraints on nodes, labels, relationships, properties, specific parts of the graph, and even traversal depth 33 Neo4j Inc. All rights reserved 2023
  • 34. Easily scale with autonomous clustering Reliability Neo4j 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 34 Neo4j Inc. All rights reserved 2023
  • 35. Add metadata or annotations Map relationships between search results and data source nodes Represent data sources as nodes Verify the enriched responses from your LLM because each piece of information is linked to its sources and origins. Explainability 35 Neo4j Inc. All rights reserved 2023
  • 36. Adopt innovation and iterate as your LLM implementations evolve with full interoperability across all cloud and data providers. Unlock Innovation Neo4j Inc. All rights reserved 2023
  • 37. Any cloud, any data provider Graph Data Science BI & VISUALIZATIONS INGEST STORE PROCESS Apache Kafka MACHINE LEARNING Cloud Functions Neo4j Bloom PubSub DataProc Analytics Feature Engineering Data Exploration Graph Data Science Business Applications & Existing Systems Files (unstructured, structured) TensorFlow KNIME Python Cloud Storage AWS Lambda Graph Database 37 Neo4j Inc. All rights reserved 2023
  • 38. Ground LLMs to improve accuracy and explainability with Neo4j’s enterprise-ready knowledge graph built on a flexible schema that integrates seamlessly with your GenAI tech platform. Stay Grounded with Neo4j Improve Accuracy Deploy with Confidence Unlock Innovation Neo4j Inc. All rights reserved 2023
  • 39. Nhow Milano Via Tortona 35, Milano Graph Talk Milano Giovedi, 5 Ottobre 2023 9.00-13.30
  • 40. Thank you Marco Bessi, PreSale Engineer, marco.bessi@neo4j.com Neo4j Inc. All rights reserved 2023
  • 41. Support 41 Neo4j Inc. All rights reserved 2023
  • 42. Better predictions with data you already have ● Traditional ML ignore network structure because it’s difficult to extract ● Add graphy data to existing ML pipelines to increase accuracy, or ● Graphs use relationships to unlock otherwise unattainable predictions Machine Learning Pipeline 42 Neo4j Inc. All rights reserved 2023
  • 43. Why do data science in Neo4j (VS Python/R )? 1 2 3 Performance: Specialized data structure; Good concurrency; In-memory optimization & compression productions-ready. Easy of use: Consistent syntax, including Cypher; Comprehensive library (65+ vetted algorithms); Persistence, every stage of the data science process can be stored/not stored. Product support: GDS / AuraDS is supported by Neo4j, well documented, with a large team of support engineers, and a sizeable user community. 43 Neo4j Inc. All rights reserved 2023
  • 44. Neo4j should be the database for Grounding 44 Neo4j Inc. All rights reserved 2023 Vector DB Limitations Knowledge Graph Strengths Neo4j Differentiators Similarity ≠ Relevance or Accuracy Black-Box (Sub-Symbolic) Duplicate & incomplete results Missing reference information Challenging to answer multi-hop questions Difficult for SME to correct Relevancy beyond just similarity Transparent symbolic representation Condensed information storage References between documents calculated before query time Enables human correction LLMs understand Cypher Vectors + Cypher Index for many data types (numeric, geopoints, dates) Fine-grained security and access control ACID transactions, high-availability, and scale Ecosystem integration Available on all clouds Graph Data Science for enhanced ML
  • 45. New Neo4j features From Neo4j v5.11 1 2 APOC OpenAI API: CALL apoc.ml.openai.embedding(['Some Text'], $apiKey, {}) CALL apoc.ml.openai.completion('Question', $apiKey, {config}) yield value; CALL apoc.ml.query("Question") yield value, query ... Vector index & search: Index nodes on float or double array properties. Based on Lucene which uses Hierarchical Navigable Small-World graphs (HNSW). Created and queried using procedures.
  • 48. Creation CALL db.index.vector.createNodeIndex( ) indexName, // Name of the index to create (STRING) label, // Label of nodes to index (STRING) propertyKey, // Property key to index (STRING) dimensions, // Dimensionality of vectors to index (INTEGER) similarityFunction // “EUCLIDEAN” or “COSINE” (case-insensitive STRING)
  • 49. Querying CALL db.index.vector.queryNodes( ) indexName, // Name of the index to query (STRING) k, // Number of neighbors to query for (INTEGER) vector // Query vector whose neighbors we are searching for (LIST<FLOAT>)
  • 50. Writing vector efficiently CALL db.create.setVectorProperty( ) node, // Nodes to add the property to (NODE) propertyKey, // Property key to write to (STRING) vector, // Property value to write (LIST<FLOAT>)