Войти
  • 91893Просмотров
  • 11 месяцев назадОпубликованоAdam Lucek

Knowledge Graph or Vector Database… Which is Better?

In the evolving landscape of AI and information retrieval, knowledge graphs have emerged as a powerful way to represent complex, interconnected information. But how do they work, and are they better than traditional RAG setups? Resources: Notebook Repo - GraphRAG - GraphRAG Paper - GraphRAG Case Study from LinkedIN - Unifying Large Language Models and Knowledge Graphs - The Ultimate Guide to Fine-Tuning LLMs - Google’s Knowledge Graph Introduction - Leiden Algorithm - Chapters: 00:00 - Why RAG Fails 01:54 - What is a Knowledge Graph? 03:35 - Knowledge Graphs & LLMs 05:39 - Introducing GraphRAG 06:17 - Main Components of Knowledge Graphs 07:39 - Setting up GraphRAG 11:10 - Data Flow: Overview 12:13 - Data Flow: Entity & Relationship Extraction 16:40 - Data Flow: Community Clustering 18:28 - Data Flow: Community Report Generation 20:11 - Observing Final Knowledge Graph 22:12 - RAG Setup 23:58 - RAG: Local Search 27:10 - RAG: Global Search 30:23 - RAG: DRIFT Search 35:06 - Comparing GraphRAG vs Regular RAG 36:59 - Comparison Discussion #ai #datascience #programming