Agentic AI L7: Working with memory and knowledge RAG for agents Part 2

Agentic AI L7: Working with memory and knowledge RAG for agents Part 2

🎙 Artificial Intelligence & Data Science شرح بالعربي 👥 12K 📅 June 25, 2026 ⏱ 95 min 👁 191 📄 tutorial 🧭 2026-08-16
Available in: English (current) Français

Keywords

RAGAgentVector DatabaseSemantic SearchHybrid Search

Summary

This tutorial is the seventh lecture in a course on Agentic AI, focusing on memory and knowledge RAG for agents. The instructor begins by contrasting keyword search (TF-IDF) with semantic search using embeddings, emphasizing that neither is universally better but suited to different needs. He demonstrates vector similarity using TF-IDF and cosine similarity, then moves to using OpenAI’s text-embedding-ada-002 model for semantic embeddings. He shows how to store embeddings in ChromaDB and perform semantic retrieval. The lecture covers various retrieval types: keyword, vector, hybrid, relational databases, and graph databases, explaining when to use each. He then builds an agent that uses a retrieval tool to answer questions based on a movie script, demonstrating the importance of grounding. The instructor discusses the need for chunking, embedding, and the role of the agent in orchestrating retrieval. He also shows how to implement hybrid search combining vector and keyword retrieval, and addresses common issues like inconsistent agent behavior and the importance of understanding code. The session concludes with advice to practice and explore further.

171 words

Critical Evaluation

Value of the Information & Strength of the Argument

The video provides valuable practical insights into implementing RAG for agents, with clear explanations of concepts and hands-on code examples. The instructor effectively argues for the importance of choosing the right retrieval method based on the nature of the information (factual vs. semantic). He demonstrates real-world issues and solutions, such as the need for hybrid search and the pitfalls of relying solely on semantic search for specific facts. The argumentation is solid, though informal, and the practical demonstrations reinforce the theoretical points.

Scientific Rigor, Source Quality, Title Accuracy

The scientific rigor is moderate; the instructor does not cite formal sources but references tools like ChromaDB, OpenAI embeddings, and concepts like TF-IDF and graph databases. The title accurately reflects the content. The video is a tutorial, so it does not claim to present original research but rather to teach practical skills. The lack of formal citations is typical for such content, but the technical accuracy is high.

165 words

Title / Content Match

The title accurately reflects the content, which focuses on memory and knowledge RAG for agents, specifically covering vector search, keyword search, and hybrid approaches.

Quality & Reliability

7/10

The video provides a practical tutorial on RAG for agents, with clear explanations and code demonstrations. The content is technically accurate, but the presentation is informal and lacks rigorous citations. The instructor shows real implementation issues and solutions, which adds credibility.

Key Moments

Cited Sources

  • ChromaDB — Vector database used for storing and retrieving embeddings
  • OpenAI Embeddings — Used for generating text embeddings with text-embedding-ada-002
  • scikit-learn — Used for TF-IDF vectorization and cosine similarity

Concurring Sources

Contribution & Novelties

The video offers a practical, hands-on approach to implementing RAG for agents, bridging the gap between theory and code. It emphasizes the importance of hybrid search and provides real-world examples of troubleshooting. The instructor’s informal style makes complex topics accessible.

Pour aller plus loin :

77 words

Radar Profile

The radar profile shows high scores in quantity and quality of information, with moderate technical level and reliability. This indicates a comprehensive tutorial that is informative but may lack formal rigor.

Reliability 6/10

💬 No comments were provided for analysis.