This video shows you how to add a simple RAG to a LangGraph Agent and then have that retrieve info to answer email questions
Colab: https://drp.li/UcDYA
For more tutorials on using LLMs and building Agents, check out my Patreon:
Patreon: https://www.patreon.com/SamWitteveen
Twitter: https://twitter.com/Sam_Witteveen
🕵️ Interested in building LLM Agents? Fill out the form below
Building LLM Agents Form: https://drp.li/dIMes
👨💻Github:
https://github.com/samwit/langchain-tutorials (updated)
https://github.com/samwit/llm-tutorials
⏱️Time Stamps:
00:00 Intro
00:40 Email + RAG on LangGraph
02:36 Code Time
02:40 Demo: WestWorld Email Response
03:08 The Agents Goal
03:32 Building the RAG: Load Sheet Base
04:07 Building the RAG: Merge all loader
04:29 Building the RAG: Text Splitting
05:34 Building the RAG: BGE Embedding
06:24 Building the RAG: Vector Store
06:52 Building the RAG: Set up a Retriever
07:18 Testing out our RAG
10:37 Making the Agent
11:00 Basic Chains
15:46 Nodes
17:27 Conditional Edge
17:39 Build the Graph