Learn how to design, build, evaluate, and deploy production-quality Retrieval-Augmented Generation (RAG) systems for real-world enterprise use cases. You’ll start by understanding why LLMs hallucinate and how RAG differs from fine-tuning and long-context strategies. Then you’ll implement a complete naive RAG pipeline from scratch in Python: generating embeddings with OpenAI, computing cosine similarity, building a simple vector store, and wiring up retrieval-augmented prompts that produce grounded, cited answers.

RAG from Scratch: Build a Knowledge-Powered Chatbot

RAG from Scratch: Build a Knowledge-Powered Chatbot

Instructor: Board Infinity
Included with Learn more
Ask Coursera
Gain insight into a topic and learn the fundamentals.
Intermediate level
Recommended experience
1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
What you'll learn
Understand the RAG architecture end-to-end: why LLMs hallucinate, how retrieval grounds responses, and where each component fits.
Implement document ingestion pipelines that parse PDFs, Markdown, HTML, and spreadsheets into clean, chunked text.
Build and query vector databases (ChromaDB, Pinecone, FAISS) with metadata filtering and namespace management.
Details to know

Shareable certificate
Add to your LinkedIn profile
Recently updated!
August 2026
Assessments
9 assignments
Taught in English
See how employees at top companies are mastering in-demand skills

There are 5 modules in this course
Instructor

Offered by
Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Advance your career with an online degree
Earn a degree from world-class universities - 100% online


