Udemy

Master Langchain v1 and Ollama - Chatbot, RAG and AI Agents

立即報名
  • 5,381 名學生
  • 更新於 11/2025
4.7
(415 個評分)
CTgoodjobs 嚴選優質課程,為職場人士提升競爭力。透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期
全年招生
課程級別
學習模式
修業期
17 小時 22 分鐘
教學語言
英語
授課導師
KGP Talkie | Laxmi Kant
評分
4.7
(415 個評分)
13次瀏覽

課程簡介

Master Langchain v1 and Ollama - Chatbot, RAG and AI Agents

Deploy Langchain v1 AI App at AWS, Local LLM Projects, Ollama, DeepSeek, LLAMA, Qwen3, Gemma3, GPT-OSS, Text to MySQL

2026 Upgrade: Course completely re-recorded with LangChain v1 and LangGraph v1.
All projects, agents, tools, and RAG pipelines rebuilt from scratch.

**Perfect for developers, AI engineers, and serious learners who want production-grade GenAI skills.**

This course is a comprehensive, practical guide to integrating Langchain v1 (latest release) and Ollama to build, automate, and deploy production-ready AI applications.

Updated with the newest technologies and frameworks, you'll learn to set up these cutting-edge tools, create advanced prompt templates, build autonomous AI agents, implement RAG (Retrieval-Augmented Generation) systems, and deploy real-world applications on AWS.

Each section is designed to provide you with hands-on skills and real-world experience with the latest AI development practices.


What You Will Learn

1. Ollama & Langchain Setup

  • Complete installation and configuration of Ollama and Langchain

  • Work with the latest models: GPT-OSS, Gemma3, Qwen3, DeepSeek R1, and LLAMA 3.2

  • Master Ollama commands, custom model creation, and raw API integration

  • Configure local LLM environments for optimal performance

2. Advanced Prompt Engineering

  • Design effective AI, human, and system message prompts

  • Use ChatPromptTemplate and MessagesPlaceholder for dynamic conversations

  • Master the invoke method and structured prompt patterns

  • Implement best practices for prompt tuning and optimization

3. LCEL Chains for Workflow Automation

  • Build Sequential, Parallel, and Router Chains with Langchain Expression Language (LCEL)

  • Create custom chains using RunnableLambda and RunnablePassthrough

  • Implement chain decorators for simplified workflow automation

  • Design conditional logic and dynamic chain routing for complex applications

4. Structured Output Parsing

  • Parse LLM outputs using Pydantic, JSON, CSV, and custom parsers

  • Use with_structured_output method for type-safe responses

  • Handle date-time parsing and structured data extraction

  • Format data for downstream processing and integration

5. Chat Memory and Conversation Management

  • Implement chat history with BaseChatMessageHistory and InMemoryChatMessageHistory

  • Use MessagesPlaceholder for dynamic conversation flow

  • Build stateful conversational AI applications

  • Manage long-term chat sessions efficiently

6. Build Production-Ready Chatbots

  • Create interactive chatbot applications using Streamlit

  • Implement streaming responses like ChatGPT

  • Maintain persistent chat history and session state

  • Deploy user-friendly chat interfaces with real-time updates

7. Document Processing with Multiple Loaders

  • Process PDFs using PyMuPDF and create QA systems

  • Work with Microsoft Office files (PPTX, DOCX, Excel)

  • Use Microsoft's MarkItDown for universal document conversion

  • Implement IBM's Docling for advanced OCR and document processing

  • Extract tables, images, and figures from any document type

8. Vector Stores and RAG Implementation

  • Build Retrieval-Augmented Generation (RAG) systems with FAISS and Chroma

  • Create and manage vector embeddings using OllamaEmbeddings

  • Implement document chunking strategies with RecursiveTextSplitter

  • Optimize chunk sizes for better retrieval performance

  • Design RAG prompt templates for context-aware responses

9. Agentic RAG Systems

  • Build autonomous RAG agents that retrieve and reason

  • Create custom tool decorators for agent capabilities

  • Implement real-time streaming for agent responses

  • Integrate vector stores with intelligent agent workflows

10. Tool Calling and Function Execution

  • Set up built-in tools: Tavily Search, DuckDuckGo, PubMed, Wikipedia

  • Create custom tools and bind them to LLMs

  • Implement tool calling loops for multi-step reasoning

  • Pass tool results back to LLMs for informed responses

11. AI Agents with Langchain

  • Master the create_agent API for building intelligent agents

  • Build web search agents with DuckDuckGo integration

  • Implement agent state management and middleware

  • Create dynamic model selection for intelligent agent routing

  • Stream agent responses in real-time using values, updates, and messages

12. Text-to-SQL Agent (MySQL Integration)

  • Build natural language to SQL query systems

  • Create schema inspection, query generation, and validation tools

  • Implement automatic SQL error correction with LLMs

  • Execute complex database queries from natural language

13. Real-World AI Projects

  • Stock Market News Analysis: Scrape web data and generate comprehensive reports

  • LinkedIn Profile Scraper: Extract and parse profile data with LLMs

  • Resume Parser: Build AI-powered CV analysis and JSON extraction system

  • Health Supplements QA: Create domain-specific RAG question-answering systems

14. Production Deployment on AWS

  • Launch and configure AWS EC2 instances for LLM applications

  • Install Ollama and Langchain on cloud servers

  • Deploy Streamlit applications in production environments

  • Connect VS Code to remote servers for seamless development


By the end of this course, you'll have the expertise to build, deploy, and manage production-grade AI-powered applications using Langchain and Ollama. You'll be able to create intelligent chatbots, RAG systems, autonomous agents, and document processors that are ready for real-world deployment.

Start building the future of AI applications today.

課程章節

  • 10 個章節
  • 170 堂課
  • 第 1 章 Introduction
  • 第 2 章 Ollama Setup
  • 第 3 章 Latest LLM Updates
  • 第 4 章 Getting Started with Langchain
  • 第 5 章 Chat Prompt Templates
  • 第 6 章 Chains
  • 第 7 章 Output Parsing
  • 第 8 章 Chat Message Memory | How to Keep Chat History
  • 第 9 章 Make Your Own Chatbot Application
  • 第 10 章 Document Loaders | Projects on PDF Documents

課程內容

  • Install and integrate LangChain v1 and Ollama to run Qwen3, Gemma3, DeepSeek R1, GPT-OSS, LLAMA, and custom GGUF models locally.
  • Build complete chatbots with memory, history, streaming responses, and a Streamlit UI.
  • Use prompt templates, LCEL chains, chain routing, parallel chains, custom chains, and runnable pipelines to structure LLM workflows.
  • Parse structured output using Pydantic, JSON, CSV parsers, and .with_structured_output() methods.
  • Implement advanced retrieval systems including similarity search, MMR search, threshold search, and optimized chunking.
  • Use tool calling and function calling with DuckDuckGo, Tavily, Wikipedia, PubMed, and custom tools.
  • Build production-ready AI agents using LangChain v1 agent API, dynamic model selection, middleware, state management, and real-time streaming.
  • Create Agentic RAG systems including autonomous retrieval, context citation, custom FAISS tools, and streamed agentic responses.
  • Build a complete Text-to-SQL Agent for MySQL with schema extraction, SQL generation, validation, execution, and automated error correction.
  • Build LinkedIn scraper, resume parser, and data extraction workflows using Selenium, BeautifulSoup, LLM parsing, and Streamlit apps.
  • Deploy LangChain v1 + Ollama applications to AWS EC2, configure remote servers, and run production-level AI apps.


評價

  • S
    Sakul
    5.0

    depth in detail

  • S
    Samuel Njiraini
    5.0

    The course is simple enough to understand, yet complex enough for real life application. This is my second course by Laxmi and I have a feeling I will end up doing all his courses for they are so intuitive, especially if you already have use-cases in mind, but don't know how to execute

  • S
    S S
    5.0

    fantastic.one of the best course i ever took on udemy. this is how a traning should be done. slow and explaining in layman terms

  • H
    Hernan Felipe Medina Sanchez
    5.0

    It was amazing, understand a alot of LLM and how I can create new features on day by day.

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策使用條款才繼續瀏覽。

我已閱讀及同意