LangChain Tutorial: The Core Building Blocks | LLMs, JSON output, RAGs, Tools and Observability @venelin_valkov
LangChain Tutorial: The Core Building Blocks | LLMs, JSON output, RAGs, Tools and Observability  @venelin_valkov
Uploaded June 2025 | Updated November 2026, 3 hours ago
Read the complete free tutorial: mlexpert.io/academy/v1/ai-systems-engineering/langchain-foundations

Before you build complex AI agents, you need to master the fundamentals. This tutorial breaks down the "magic" of LangChain into its essential engineering components. We go step-by-step through the core abstractions that make building LLM applications maintainable and scalable.

AI Bootcamp: mlexpert.io
LinkedIn: linkedin.com/in/venelin-valkov
Follow me on X: twitter.com/venelin_valkov
Discord: discord.gg/UaNPxVD6tv
Subscribe: bit.ly/venelin-subscribe
GitHub repository: github.com/curiousily/AI-Bootcamp

👍 Don't Forget to Like, Comment, and Subscribe for More Tutorials!

00:00 - Welcome
01:22 - LangChain ecosystem (with LangGraph)
02:00 - Notebook setup
03:15 - Call LLM (OpenAI)
04:51 - Multiple LLM provider support (Gemini, Qwen3)
06:57 - Token usage
08:48 - Simple chatbot (messages, ChatPromptTemplate, chat history)
13:09 - Structured output (JSON mode with Pydantic)
17:20 - Loading external PDF document
18:45 - Simple RAG (embeddings, vector store and chat with a PDF)
24:14 - Tool calling (tool documentation, tool execution and ToolMessage)
28:08 - Debugging and Tracing with MLFlow
32:22 - Conclusion

Join this channel to get access to the perks and support my work:
youtube.com/channel/UCoW_WzQNJVAjxo4osNAxd_g/join
LangChain Tutorial: The Core Building Blocks | LLMs, JSON output, RAGs, Tools and ObservabilityGemini 2.0 Flash Thinking Test - Coding, Data Extraction, Summarization, Data Labelling, RAGBuild Private AI Assistant That Actually Remembers | Chatbot Memory with Ollama, LangChain & SQLiteBuild 100% Local Chatbot with Gemma 3, Ollama and LangChain | AI Assistant with Memory and Tool UseKarpathys LLM Wiki with Local Gemma 4 & llama.cpp | Agentic Tool Calling TestConvert Any Document To LLM Knowledge with Docling & Ollama (100% Local) | PDF to Markdown PipelineGemma 3n: Open Multimodal Model by Google (Image, Audio, Video & Text) | Install and TestBuild Production-Ready Retrieval RAG Pipeline in LangChain | Hybrid Search (BM25), Re-ranking & HyDEThe New Prompting Rules: How to Prompt Frontier LLM Models like Gemini 2.5, GPT 4.1 & Claude 3.7Build 100% Local AI Agent to Chat with Your Files | Private AI Knowledge Base with MCP & RAGMuse Glimmer Local Test | Metas New Open Model | Coding with OpenCode, Agentic Work, FrontendHaiku 5.5 vs GPT-6 Luna | Faster but Pricier on Tasks? | Coding, Agentic Work & Frontend Design Test
Venelin Valkov |

LangChain Tutorial: The Core Building Blocks | LLMs, JSON output, RAGs, Tools and Observability

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER