SlideShare a Scribd company logo
The battle for RAG
Vector vs. Graph
Roi Lipman CTO@FalkorDB
AI empowered
List the top 3
contenders for the
data science position?
AI empowered
List the top 3
contenders for the
data science position?
The top 3 contenders are:
1. Jordan Schlansky
2. Vince Mcmahon
3. Danny Duberstein
RAG
Retrieval Augmented Generation
User question
Context
Answer
Similarity approach
Vector
RAG Vector
1. Easy!
2. Plenty of vendors
3. Well documented & rich ecosystem
Ingestion
Text Embeddings
1.6, 0.42, 0.8, 1.04, 0.2
0.24, 1.3, 1.1, 0.6, 0.3
0.2, 0.81, 1.01, 0.3, 1.4
unstructured
Query
1.2, 0.3, 1.2, 0.73, 0.4
User question
Embeddings
Query
1.2, 0.3, 1.2, 0.73, 0.4
User question
Semantic search
K nearest neighbor
Embeddings
Query
1.2, 0.3, 1.2, 0.73, 0.4
User question
Semantic search
K nearest neighbor
Embeddings
Context
Query
User question Answer
Context
Issues / Shortcomings
1. Naive
Q: Fetch the latest 5 published articles
1. Naive
Q: Fetch the latest 5 published articles
Q: Recommend painkillers
which wouldn’t conflict with
the current meds patient X is taking.
2. Unaware of the domain
1. SpO2: 95%
2. PaO2: 80 mmHg
3. PaCO2: 40 mmHg
4. pH: 7.35
5. HCO3: 22
6. HR: 88
7. BP: 100 mmHg
8. RR: 15
Q: Which patient might be at risk ?
3. Can’t see the entire dataset
Q: How many employers does company X has?
Q: Which article got the most reviews?
Q: Will a change in module A effect module Z?
Q: What’s Napoleon’s surname ?
4. Large token overhead
French Empire as
Emperor of the
French from 1804
until 1814, and
briefly again in
1815. His political
and cultural legacy
endures as a
celebrated and
controversial
Napoleon
Bonaparte (born
Napoleone di
Buonaparte;
[1][b]
15 August 1769 –
5 May 1821), later
known by his
regnal name
Napoleon I, was
considered one of
the greatest military
commanders in
history and his wars
and campaigns are
still studied at
military schools
worldwide.
However, historians
still debate the
Bonaparte
There’s a real problem relaying on this approach
● In the “best” scenario the system will not provide an answer to a question,
saying I don’t know.
● Far worse the system will come up with half truths, providing us with false
information which we might act on.
Vector conclusion
GraphRAG
Knowledge Graph
Alternative
GraphRAG / Knowledge graph
Ingestion
Text
Knowledge graph
unstructured
Query
User question
Ontology
KG
Query
Graph Query
KG
Query
User question
Context
KG
Answer
Issues / Shortcomings
How to create Knowledge Graph from unstructured data?
How do I maintain knowledge overtime ?
Graph generation
Evaluation
Q&A
Q: Who fought in the most recent match?
Graph: In the most recent match, Derek Brunson fought against Kevin Holland.
(20 March 2021)
Vector: The most recent match was fought between Markus Perez and Dalcha
Lungiambula.
(20 January 2021)
Q: Which fighter holds the fastest win?
Graph: The fighter who holds the fastest win is Jorge Masvidal, with a win in just
5 second
Vector:
The fighter with the fastest win, based on the provided context, is Andre Winner,
who won by KO/TKO against Rolando Delgado. The fight was concluded at 202
seconds into the first round.
Q&A
Q: Which fight had a clear underdog who’ve yet won the match?
Graph: In a fight where the victory was seemingly against the odds, Dan Severn
emerged as the clear underdog yet managed to secure a win against Ken
Shamrock. This was indicated by the comparison of their SLpM and TD_Avg.
Q&A
Q: Which fight had a clear underdog who’ve yet won the match?
Vector: Based on the information provided, identifying the fight with a clear underdog who then won the match requires assessing disparities in performance metrics or
fight outcomes that might suggest an unexpected victory. However, without explicit pre-fight odds or narratives indicating an underdog status, determining an "underdog"
victory from statistical data alone can be challenging, especially when fights end in decisions that don't necessarily reflect a dominant performance against the odds.
Looking at standout performances against expectations or significant performance turnarounds within the provided context might help, yet the data gives us detailed stats
rather than pre-fight expectations. One classic sign of an underdog victory might be a lower overall statistical expectation ending in a KO/TKO, suggesting a turnaround.
One instance noted is the fight between Belal Muhammad and Vicente Luque, where Luque won by KO/TKO in the first round at 79 seconds despite the fight's short duration
giving limited insight into the performance metrics before the finishing moment. However, labeling Luque as an "underdog" without pre-fight odds or broader fight context is
speculative.
The provided data focuses on fight statistics like significant strikes, control time, and method of victory without explicitly indicating favorites or underdogs. In Mixed Martial Arts
(MMA), unexpected victories often stand out due to knockout power or submission skills that defy statistical trends, but these aspects aren't directly reflected in the metrics
provided.
Without clear indicators of expectations versus outcomes, or a narrative context surrounding each fight, it's difficult to definitively pinpoint a fight featuring a clear underdog
who won.
Q&A
Q: List fighters who had a trilogy match
Graph: Matt Hughes vs. Georges St-Pierre
Daniel Cormier vs. Stipe Miocic
Junior Dos Santos vs. Cain Velasquez
Q&A
Q: List fighters who had a trilogy match
Vector: Based on the given context, identifying specific fighters who have had a trilogy match (three matches against the same opponent) within the
dataset provided is not directly possible. The context supplied is a list of fight statistics for various matchups but does not detail multiple matches
between the same pairs of fighters or explicitly label any series of fights as part of a trilogy.
To determine trilogy matches, one would typically look for repeated occurrences where the same pair of `B_fighter` and `R_fighter` appear against
each other across different dates. However, this dataset does not reveal any such repeated pairings from the given entries, or at least, such analysis
would require additional processing to identify any repeating matchups, assuming the data spans all fights in such trilogies. Moreover, the context
provided lists each fight as a separate entry without linking multiple entries to indicate ongoing rivalries or sequential matchups.
In the world of mixed martial arts (MMA), trilogies are often highlighted and marketed due to the evolving nature of the competition between two
fighters. They typically occur after both fighters have one win against each other, leading to a third match to break the tie or due to the competitive and
entertaining nature of their previous encounters that demand a rematch.
Without further data linking fights into series or direct mention of such trilogies in the supplied context, identifying fighters with trilogy matches within
this dataset is not feasible.
Q&A
Try it
https://github.com/falkorDB/UFC
Conclusion
Thank you!

More Related Content

Recently uploaded

Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 

Recently uploaded (20)

Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

The battle for RAG, explore the pros and cons of using KnowledgeGraphs and VectorDB in you RAG solution

  • 1. The battle for RAG Vector vs. Graph Roi Lipman CTO@FalkorDB
  • 2. AI empowered List the top 3 contenders for the data science position?
  • 3. AI empowered List the top 3 contenders for the data science position? The top 3 contenders are: 1. Jordan Schlansky 2. Vince Mcmahon 3. Danny Duberstein
  • 4. RAG Retrieval Augmented Generation User question Context Answer
  • 6. RAG Vector 1. Easy! 2. Plenty of vendors 3. Well documented & rich ecosystem
  • 7. Ingestion Text Embeddings 1.6, 0.42, 0.8, 1.04, 0.2 0.24, 1.3, 1.1, 0.6, 0.3 0.2, 0.81, 1.01, 0.3, 1.4 unstructured
  • 8. Query 1.2, 0.3, 1.2, 0.73, 0.4 User question Embeddings
  • 9. Query 1.2, 0.3, 1.2, 0.73, 0.4 User question Semantic search K nearest neighbor Embeddings
  • 10. Query 1.2, 0.3, 1.2, 0.73, 0.4 User question Semantic search K nearest neighbor Embeddings Context
  • 13. 1. Naive Q: Fetch the latest 5 published articles
  • 14. 1. Naive Q: Fetch the latest 5 published articles Q: Recommend painkillers which wouldn’t conflict with the current meds patient X is taking.
  • 15. 2. Unaware of the domain 1. SpO2: 95% 2. PaO2: 80 mmHg 3. PaCO2: 40 mmHg 4. pH: 7.35 5. HCO3: 22 6. HR: 88 7. BP: 100 mmHg 8. RR: 15 Q: Which patient might be at risk ?
  • 16. 3. Can’t see the entire dataset Q: How many employers does company X has? Q: Which article got the most reviews? Q: Will a change in module A effect module Z?
  • 17. Q: What’s Napoleon’s surname ? 4. Large token overhead French Empire as Emperor of the French from 1804 until 1814, and briefly again in 1815. His political and cultural legacy endures as a celebrated and controversial Napoleon Bonaparte (born Napoleone di Buonaparte; [1][b] 15 August 1769 – 5 May 1821), later known by his regnal name Napoleon I, was considered one of the greatest military commanders in history and his wars and campaigns are still studied at military schools worldwide. However, historians still debate the Bonaparte
  • 18. There’s a real problem relaying on this approach ● In the “best” scenario the system will not provide an answer to a question, saying I don’t know. ● Far worse the system will come up with half truths, providing us with false information which we might act on. Vector conclusion
  • 26. How to create Knowledge Graph from unstructured data? How do I maintain knowledge overtime ? Graph generation
  • 28. Q&A Q: Who fought in the most recent match? Graph: In the most recent match, Derek Brunson fought against Kevin Holland. (20 March 2021) Vector: The most recent match was fought between Markus Perez and Dalcha Lungiambula. (20 January 2021)
  • 29. Q: Which fighter holds the fastest win? Graph: The fighter who holds the fastest win is Jorge Masvidal, with a win in just 5 second Vector: The fighter with the fastest win, based on the provided context, is Andre Winner, who won by KO/TKO against Rolando Delgado. The fight was concluded at 202 seconds into the first round. Q&A
  • 30. Q: Which fight had a clear underdog who’ve yet won the match? Graph: In a fight where the victory was seemingly against the odds, Dan Severn emerged as the clear underdog yet managed to secure a win against Ken Shamrock. This was indicated by the comparison of their SLpM and TD_Avg. Q&A
  • 31. Q: Which fight had a clear underdog who’ve yet won the match? Vector: Based on the information provided, identifying the fight with a clear underdog who then won the match requires assessing disparities in performance metrics or fight outcomes that might suggest an unexpected victory. However, without explicit pre-fight odds or narratives indicating an underdog status, determining an "underdog" victory from statistical data alone can be challenging, especially when fights end in decisions that don't necessarily reflect a dominant performance against the odds. Looking at standout performances against expectations or significant performance turnarounds within the provided context might help, yet the data gives us detailed stats rather than pre-fight expectations. One classic sign of an underdog victory might be a lower overall statistical expectation ending in a KO/TKO, suggesting a turnaround. One instance noted is the fight between Belal Muhammad and Vicente Luque, where Luque won by KO/TKO in the first round at 79 seconds despite the fight's short duration giving limited insight into the performance metrics before the finishing moment. However, labeling Luque as an "underdog" without pre-fight odds or broader fight context is speculative. The provided data focuses on fight statistics like significant strikes, control time, and method of victory without explicitly indicating favorites or underdogs. In Mixed Martial Arts (MMA), unexpected victories often stand out due to knockout power or submission skills that defy statistical trends, but these aspects aren't directly reflected in the metrics provided. Without clear indicators of expectations versus outcomes, or a narrative context surrounding each fight, it's difficult to definitively pinpoint a fight featuring a clear underdog who won. Q&A
  • 32. Q: List fighters who had a trilogy match Graph: Matt Hughes vs. Georges St-Pierre Daniel Cormier vs. Stipe Miocic Junior Dos Santos vs. Cain Velasquez Q&A
  • 33. Q: List fighters who had a trilogy match Vector: Based on the given context, identifying specific fighters who have had a trilogy match (three matches against the same opponent) within the dataset provided is not directly possible. The context supplied is a list of fight statistics for various matchups but does not detail multiple matches between the same pairs of fighters or explicitly label any series of fights as part of a trilogy. To determine trilogy matches, one would typically look for repeated occurrences where the same pair of `B_fighter` and `R_fighter` appear against each other across different dates. However, this dataset does not reveal any such repeated pairings from the given entries, or at least, such analysis would require additional processing to identify any repeating matchups, assuming the data spans all fights in such trilogies. Moreover, the context provided lists each fight as a separate entry without linking multiple entries to indicate ongoing rivalries or sequential matchups. In the world of mixed martial arts (MMA), trilogies are often highlighted and marketed due to the evolving nature of the competition between two fighters. They typically occur after both fighters have one win against each other, leading to a third match to break the tie or due to the competitive and entertaining nature of their previous encounters that demand a rematch. Without further data linking fights into series or direct mention of such trilogies in the supplied context, identifying fighters with trilogy matches within this dataset is not feasible. Q&A