In this video, you'll learn how to use Agentic RAG with a locally running, open-source model. We'll use the latest model, Llama 3.1 from Meta, in combination with Ollama. We'll write the agent using Langgraph and structure the code so that we can switch from Llama to OpenAI models simply by changing the value of an environment variable.
Introduction to LangGraph: • Introduction to LangGraph: A Quick Dive in...
Code: https://github.com/Coding-Crashkurse/...
Timestamps:
0:00 Introduction
0:35 Download & Install Ollama
2:43 Agent walkthrough
3:48 Create functions for Nodes & Edges
13:20 Create Agent with StateGraph
15:30 Llama 3.1 vs GPT-4o-mini
#langgraph #llama3