AI and machine learning · Free

RAG and Chatbots with LangChain

A skill AI job posts name again and again, built properly: a chatbot that answers from PLC and drive manuals, cites the page, refuses what it cannot find, and is measured on a test set. Loading and chunking, embeddings and hybrid search, the RAG chain, query translation, routing, re-ranking, evaluation, LangGraph agents and serving — on free models throughout.

12 modules 11h 4m of video English · self-paced

Inside the course

RAG and Chatbots with LangChain: Syllabus at a glanceRAG and Chatbots with LangChain: What you will be able to doRAG and Chatbots with LangChain: Tools and credits

From the lessons

  • What is Retrieval-Augmented Generation (RAG)?

    What RAG is, and what it fixes

    IBM Technology

  • LangChain Crash Course For Beginners | LangChain Tutorial

    LangChain: models, prompts, chains

    codebasics

  • RAG From Scratch: Part 2 (Indexing)

    Loading and chunking documents

    LangChain

  • RAG From Scratch: Part 3 (Retrieval)

    Embeddings, vector stores and hybrid search

    LangChain

  • RAG From Scratch: Part 4 (Generation)

    The basic RAG chain and chat memory

    LangChain

  • RAG from scratch: Part 5 (Query Translation -- Multi Query)

    Better queries: multi-query, fusion, decomposition, HyDE

    LangChain

Lesson frames belong to the creators named in the Credits below and are shown from YouTube.

What you will learn

Build a LangChain RAG pipeline end to end: load and chunk manuals with metadata, embed locally and search with hybrid retrieval and a re-ranker, generate cited answers with a refusal rule, handle follow-up questions, route questions between documents and a database, evaluate recall, correctness and refusal on a real test set, add a bounded corrective loop with LangGraph, and serve it with Streamlit or FastAPI — hosted or fully local.

  • Load, clean and chunk vendor manuals so parameter tables survive
  • Embed locally, search with hybrid BM25 + vector retrieval and re-rank with a cross-encoder
  • Build a RAG chain that cites (doc p.N), refuses with NOT FOUND and handles follow-ups
  • Route questions between manuals and a read-only database, with structured output
  • Measure recall@k, correctness and refusal on a thirty-question test set, and improve one thing at a time
  • Add a bounded corrective loop with LangGraph and serve the assistant, hosted or fully local

For you

Taking RAG and Chatbots with LangChain from the United States

The course project · about 8 hours

A manual-reading assistant over three vendor manuals, with citations and a measured score

Index a PLC manual, a drive manual and a transmitter datasheet with metadata; hybrid retrieval and a re-ranker; a RAG chain that cites (doc p.N) and says NOT FOUND; a thirty-question test set scored for recall, correctness and refusal; a Streamlit page with sources. Everything on free models.

The course project · about 5 hours

Ask the maintenance history: RAG over work orders plus routed SQL for counts

Four hundred maintenance work orders with free-text notes. Index the text for questions like 'what was done last time the agitator seal leaked', route counting questions to templated SQL, and evaluate both paths.

Course content

12 modules · 25 lessons · 11h 4m

In order, at whatever pace suits you. Each module ends with a practice task that builds on the last.

  1. 01What RAG is, and what it fixes33m
  2. 02LangChain: models, prompts, chains46m
  3. 03Loading and chunking documents5m
  4. 04Embeddings, vector stores and hybrid search23m
  5. 05The basic RAG chain and chat memory6m
  6. 06Better queries: multi-query, fusion, decomposition, HyDE30m
  7. 07Routing and structured data13m
  8. 08Re-ranking and advanced indexing21m

Requirements

Who it is for
Intermediate. Needs Python (the Python for AI course) and the Generative AI and LLM Foundations course, or equivalent.
Software
Google Colab or a laptop; LangChain, sentence-transformers, FAISS; a free OpenRouter key or Ollama. What to download, and how
Hardware
None. A laptop with 8 GB RAM for the fully local build.

Software you need

What to download, where from, what it costs and how to install it. Every link goes to the maker's own site, never a mirror.

Required

  1. 01

    Google Colab

    Google, in the browser

    Free, GPU time not guaranteed
    Runs on
    Any modern web browser
    Account
    A free Google account

    Colab is free to use. In the free version GPUs and TPUs are heavily restricted and not guaranteed, sessions can run for at most 12 hours, and idle sessions are stopped. Paid plans give more reliable access.

    Open Google Colabcolab.research.google.com
  2. 02

    OpenRouter

    OpenRouter, Inc., in the browser

    Free models with rate limits
    Runs on
    Any modern web browser (API works from any language)
    Account
    A free OpenRouter account

    Models with IDs ending in :free cost nothing but are limited to 20 requests per minute and 50 requests per day. Buying at least 10 credits raises the daily free-model limit to 1,000 requests.

    Open OpenRouteropenrouter.ai

Optional

Useful, not needed to finish the course.

  1. 03

    LangChain

    LangChain, Inc., a Python or npm package

    Free
    Runs on
    Any system with Python 3.10 or later
    Account
    None needed

    Free, open source under the MIT licence. Model providers you call may charge for use.

    Official download pagedocs.langchain.com
  2. 04

    Ollama

    Ollama Inc.

    Free
    Runs on
    macOS 14 Sonoma or later, Windows 10 or later, Linux
    Account
    None needed

    Ollama is free and open source (MIT licence). Each model you download has its own licence; check it before commercial use.

Checked against each maker's own page on 27 September 2026. Trial lengths and editions change; the maker's page is the final word.

RAG and Chatbots with LangChain at a glance

RAG and Chatbots with LangChain is a free, self-paced online course from EDWartens for engineers, developers and students applying AI to real work. It has 12 modules and 11h 4m of video lessons by LangChain, Krish Naik, codebasics and others, with written notes and worked problems, a practical project with a document pack and a 15-question final assessment (pass mark 60%). Learning is free with an account; an optional certificate with a public verification code is issued when you pass. Last updated 27 September 2026.

All course facts
Price
Free, for good. No trial, no card. The only paid item is the optional certificate, a small one-off fee.
Who it is for
Engineers, developers and students applying AI to real work
Format
12 self-paced modules, 11h 4m of video, written notes, a practice task per module and one final assessment.
Level
Intermediate. Intermediate. Needs Python (the Python for AI course) and the Generative AI and LLM Foundations course, or equivalent.
Brand
Vendor-neutral
Software
Google Colab or a laptop; LangChain, sentence-transformers, FAISS; a free OpenRouter key or Ollama.
Hardware
None. A laptop with 8 GB RAM for the fully local build.
Certificate
Optional EDWartens Certificate of Completion, verifiable by code. Not a vendor credential.
Video lessons by
LangChain, Krish Naik, codebasics, IBM Technology, KodeKloud, Microsoft Developer, freeCodeCamp.org, SingleStore, Tech With Tim (independent creators, credited below)
Language
English
Last updated
27 September 2026

A shareable EDWartens certificate

Finish every module and pass the final assessment, and the optional EDWartens certificate is yours. It carries a unique verification code on a public page anyone can check, so it stands up when a recruiter looks it up. See it below.

The course itself stays free whether or not you ever buy one.

Stuck? Ask a practising engineer

A free course usually means a comment section and hope. This one does not. Every module has an Ask-your-trainer panel that reaches the same engineers who teach our paid programme: people who commission panels for a living, not moderators.

Pairs well with

More free courses: Free AI courses for engineers · Free generative AI and ChatGPT courses

Learning paths with this course

  • Applied AI engineer · 4 courses

Learner reviews

No reviews yet

Reviews here are written only by learners who have finished every module of RAG and Chatbots with LangChain, and they are published exactly as written. Finish the course and yours will be the first.

Common questions

What do I need before this course?

Comfortable Python and the ideas from the Generative AI course — tokens, prompts, embeddings. If you have done those two courses you are ready.

Do I need a paid API?

No. Hosted models come from OpenRouter's free tier; embeddings and the re-ranker run locally with sentence-transformers; FAISS is local. The fully local build with Ollama needs nothing online at all.

What are the projects in the RAG and Chatbots with LangChain course?

A manual-reading assistant over three vendor manuals with citations, a re-ranker, a thirty-question evaluation and a Streamlit page; and an assistant over a year of maintenance work orders that routes text questions to RAG and counting questions to templated SQL.

Why so much on evaluation?

Because a RAG demo is easy and a RAG tool is not. The service desk in the project will accept the assistant when the numbers say recall above 0.85 and refusal at 1.0 — that is the standard the course teaches you to reach and to prove.

Is the RAG and Chatbots with LangChain course really free?

Yes. Every module, practice task, project and assessment. You create an account so your progress is saved and the assessments can be marked. The certificate is the only paid item, and only if you want it.

What certificate does the RAG and Chatbots with LangChain course give?

An EDWartens Certificate of Completion, issued when you have finished the modules and passed the final assessment (the project is optional practice), with a verification code anyone can check. It is not a vendor credential and is never described as one.

Who made the video lessons in the RAG and Chatbots with LangChain course?

The creators named in the Credits block at the foot of this page, on their own YouTube channels. EDWartens did not make the videos and the creators are not affiliated with EDWartens. What EDWartens wrote is the study plan, the notes, the practice tasks, the projects and the assessments.

What you walk away with

Your certificate for RAG and Chatbots with LangChain

Finish the course, pass the final, and this is the document with your name on it.

Sample EDWartens Certificate of Completion for RAG and Chatbots with LangChain
Sample. The issued certificate carries your name, admission number, a unique certificate number and its own QR code.
  • Verifiable by anyone

  • Adds to LinkedIn in one click

  • QR code on the certificate

  • Names what you can do

  • A permanent link

  • Earned, not attended

Learning is free. The certificate is optional.

Add it now and pay only when you have finished the course, or come back for it later. One-off, US$28.99, with a receipt.

Issued by EDWartens, the training division of Wartens, as a Certificate of Completion for this self-paced course. Sold by Wartens Ltd (England and Wales). It is not a vendor certification, a university award or a CPD-accredited activity, and it does not certify competence on live equipment. Delivered electronically; see the refund policy.

Credits

Who made the video lessons

The video lessons in this course were created by the people below, not by EDWartens. Every lesson streams from its creator's own YouTube channel; EDWartens neither hosts nor sells that footage, and the creators are not affiliated with EDWartens and do not endorse this course. What EDWartens wrote is the study plan, the notes, the practice tasks and the assessments.

If you are one of these creators and would like a lesson removed or credited differently, write to info@wartens.com.