Graph-Based RAG: Hybrid Embeddings & Explainable AI (Chapter 14)
Échec de l'ajout au panier.
Échec de l'ajout à la liste d'envies.
Échec de la suppression de la liste d’envies.
Échec du suivi du balado
Ne plus suivre le balado a échoué
-
Narrateur(s):
-
Auteur(s):
À propos de cet audio
Unlock the power of graph-based Retrieval-Augmented Generation (RAG) in this technical deep dive featuring insights from Chapter 14 of Keith Bourne's "Unlocking Data with Generative AI and RAG." Discover how combining knowledge graphs with LLMs using hybrid embeddings and explicit graph traversal can dramatically improve multi-hop reasoning accuracy and explainability.
In this episode:
- Explore ontology design and graph ingestion workflows using Protégé, RDF, and Neo4j
- Understand the advantages of hybrid embeddings over vector-only approaches
- Learn why Python static dictionaries significantly boost LLM multi-hop reasoning accuracy
- Discuss architecture trade-offs between ontology-based and cyclical graph RAG systems
- Review real-world production considerations, scalability challenges, and tooling best practices
- Hear directly from author Keith Bourne about building explainable and reliable AI pipelines
Key tools and technologies mentioned:
- Protégé for ontology creation
- RDF triples and rdflib for data parsing
- Neo4j graph database with Cypher queries
- Sentence-Transformers (all-MiniLM-L6-v2) for embedding generation
- FAISS for vector similarity search
- LangChain for orchestration
- OpenAI chat models
- python-dotenv for secrets management
Timestamps:
00:00 - Introduction & episode overview
02:30 - Surprising results: Python dicts vs natural language for KG representation
05:45 - Why graph-based RAG matters now: tech readiness & industry demand
08:15 - Architecture walkthrough: from ontology to LLM prompt input
12:00 - Comparing ontology-based vs cyclical graph RAG approaches
15:00 - Under the hood: building the pipeline step-by-step
18:30 - Real-world results, scaling challenges, and practical tips
21:00 - Closing thoughts and next steps
Resources:
- "Unlocking Data with Generative AI and RAG" by Keith Bourne - Search for 'Keith Bourne' on Amazon and grab the 2nd edition
- Visit Memriq AI at https://Memriq.ai for more AI engineering insights and tools