With the release of LLaMA3, we're seeing great interest in agents that can run reliably and locally (e.g., on your laptop). Here, we show to how build reliable local agents using LangGraph and LLaMA38b from scratch. We combine ideas from 3 advanced RAG papers (Adaptive RAG, Corrective RAG, and SelfRAG) into a single control flow. We run this locally w/ a local vectorstore c/o @nomic_ai & @trychroma, @tavilyai for web search, and LLaMA38b via @ollama.
Code:
https://github.com/langchainai/langg...