Free course · AI and machine learning
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.
Free to learn. Verifiable certificate £19 when you pass the final exam (optional, VAT included).

Sample certificate. Optional, issued when you pass the final exam.
- Level
- Intermediate
- Modules
- 12
- Video
- 15 hours
- Price
- Free
Outcome
What you will be able to do
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
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.
Syllabus
12 modules
Each module has video lessons, notes and a short quiz. The final exam closes the course.
- What RAG is, and what it fixes4 lessons
- LangChain: models, prompts, chains1 lesson
- Loading and chunking documents1 lessonLab
- Embeddings, vector stores and hybrid search2 lessonsLab
- The basic RAG chain and chat memory1 lessonLab
- Better queries: multi-query, fusion, decomposition, HyDE5 lessons
- Routing and structured data2 lessonsLab
- Re-ranking and advanced indexing3 lessons
- Evaluating a RAG system1 lessonLab
- Agentic RAG with LangGraph3 lessonsLab
- Build, serve, keep private2 lessons
- Final assessment0 lessons
How it works
How this course works
- Watch the video lessonsOne module at a time, at your own pace.
- Take the module quizA short quiz at the end of each module shows what stuck.
- Keep your notesWrite in My notes beside each module and ask the trainer if you are stuck.
- Practise in the labOptionalTry a task from the module in the EDWartens Lab, in your browser.
- Sit the final examPass it once you have been through the modules.
- Certificate, if you want oneOptionalPaid, and only after you pass. Anyone can check it online.
EDWartens Lab
Practise this in the EDWartens Lab
Tune a document assistant by hand: set the chunking and retrieval so it cites the right section, make it refuse when the documents are silent, and keep an agent safe.
Works alongside RAG and Chatbots with LangChain. The Lab is ai for industry practice in your browser: no install, no hardware, free to use. Sign in as a learner and it opens with your account.
Levels to try with this course
AIW-07 · AI Workbench
Answers with sources
Open in the lab (opens in a new tab)AIW-08 · AI Workbench
A safe agent
Open in the lab (opens in a new tab)
Optional. Skip it whenever you like: it never blocks your progress or your certificate.
Why practise in a lab
Technical work is judged on what you can do: wiring, commissioning, finding a fault. Doing a task yourself teaches more than watching it a second time, and a lab lets you try it safely before you meet real equipment. It does not replace working on real hardware.
- Practise safely, so a mistake costs nothing.
- The lab checks your work like a site test, so you know when it is right.
- Free, in your browser, with nothing to install.
Certificate
An optional certificate when you pass
Learning is free. Pass the final exam and you can have a certificate for £19, including VAT, with a number employers can check online. It records that you completed a free online course; it is not a regulated qualification or a CPD certificate.
- Your name, the course, its study time and your final exam score
- A unique certificate number and a QR code to its verification page
- Issued by Wartens Ltd; add it to your LinkedIn profile in one click
- Pay now or after you pass: it is issued the moment you pass the final

Credits
Who made the lessons
The video lessons belong to their creators. EDWartens wrote the study plan, notes, quizzes and the final exam.
- LangChain
the RAG From Scratch series
- Krish Naik
the complete RAG crash course with LangChain
- codebasics
the LangChain crash course
- IBM Technology
What is RAG
- KodeKloud
RAG explained for beginners
- Microsoft Developer
the search-apps, RAG and agents lessons
- freeCodeCamp.org
the LangGraph complete course
- SingleStore
a lesson in "Evaluating a RAG system"
- Tech With Tim
a lesson in "Build, serve, keep private"
Questions
About this course
What do I need before this course?
Do I need a paid API?
What are the projects?
Why so much on evaluation?
Is the course really free?
What certificate do I get?
Who made the video lessons?
Want a live class and career support?
The Professional Module is five live days of Siemens PLC, HMI and SCADA with an instructor, then a resume session and a CPD certificate.
