Board Infinity

RAG from Scratch: Build a Knowledge-Powered Chatbot

Board Infinity

RAG from Scratch: Build a Knowledge-Powered Chatbot

Board Infinity

Instructor: Board Infinity

Included with Coursera PlusLearn 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
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

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 5 modules in this course

In this module, you'll explore the core concepts behind retrieval-augmented generation, understanding why language models hallucinate and how retrieval grounds answers in real evidence. You'll build intuition from first principles, create embeddings, and implement similarity search in raw Python. By completing a naive RAG pipeline without frameworks, you'll connect each technical step to building an enterprise knowledge base chatbot that answers questions with citations.

What's included

6 videos2 assignments

This module lays the data foundation for a production RAG system. You'll learn to parse PDFs, Markdown, HTML, and CSV files into clean text and unified document objects. You'll apply various chunking strategies that impact retrieval quality and enrich chunks with metadata for filtering and attribution. Additionally, you'll compare embedding models and explore when domain-specific fine-tuning is beneficial for enterprise documentation.

What's included

6 videos2 assignments

In this module, you'll focus on the retrieval layer that ensures your RAG system finds the right evidence at scale. You'll work with local and managed vector databases, implement metadata filtering and namespace strategies for enterprise control, and enhance retrieval by combining semantic and lexical methods. By the end, you'll build a production-style retrieval pipeline using hybrid search and reranking for precise context delivery.

What's included

6 videos1 assignment

This module transitions from retrieval to answer generation, conversational behavior, and advanced RAG orchestration. You'll design prompts that encourage faithful, cited answers, manage context windows and streaming, and address follow-up question challenges with memory and query reformulation. You'll build a conversational chatbot interface and explore advanced architectures like Agentic RAG, Multi-Index RAG, and GraphRAG for complex enterprise workflows.

What's included

6 videos2 assignments

In this final module, you'll transform your prototype into a measurable, optimized, and deployable RAG system. You'll evaluate pipeline quality using RAGAS metrics, generate test datasets, and build dashboards to monitor retrieval and generation failures. You'll optimize quality, latency, and cost, then deploy a production chatbot with authentication, monitoring, feedback loops, and continuous improvement practices reflecting real enterprise operations.

What's included

7 videos2 assignments

Instructor

Board Infinity
Board Infinity
279 Courses452,532 learners

Offered by

Board Infinity

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."

Frequently asked questions