Choose your language
Creating AI Applications Using Retrieval-Augmented Generation (RAG) Course
More than 2 million students worldwide

Creating AI Applications Using Retrieval-Augmented Generation (RAG) Course

Master the full stack of retrieval-augmented generation — from document ingestion and vector indexing to prompt engineering and production deployment. This course gives AI practitioners the hands-on skills to build grounded, hallucination-resistant applications that deliver real business value. Stop relying on LLMs that make things up and start shipping systems that cite their sources.

Dedika for businesses

What you will learn:

  • Design and implement complete RAG pipelines covering ingestion, retrieval, and generation stages.

  • Select, evaluate, and fine-tune embedding models for domain-specific retrieval accuracy.

  • Configure vector databases with HNSW, hybrid search, and metadata filtering for production scale.

  • Apply advanced retrieval strategies including re-ranking, HyDE, and conversational context management.

  • Evaluate RAG quality using RAGAS, TruLens, and custom golden datasets with measurable metrics.

  • Deploy secure, observable RAG services with caching, guardrails, and cost monitoring controls.

How you study in practice Creating AI Applications Using Retrieval-Augmented Generation (RAG) Course

How you practice Creating AI Applications Using Retrieval-Augmented Generation (RAG) Course

For companies looking to train their teams

With Dedika for businesses, the course includes exercises and examples tailored to your own business and the way your company needs.

Click here

Course Content

8 Chapters • 38 LessonsDuration between 4 and 360 hours (you decide)

Chapter 1See details

Foundations of RAG and AI Pipelines

  • Lesson 1 • Anatomy of a RAG Pipeline

    Breaks the pipeline into retriever, reader, and generator stages. Shows how data flows from raw documents to a final grounded response.

  • Lesson 2 • What RAG Is and Why It Matters

    Defines RAG by contrasting it with standard LLM inference and parametric memory. Establishes the core motivation for grounding AI outputs in external knowledge.

  • Lesson 3 • RAG Variants and Taxonomy

    Surveys naive, advanced, and modular RAG architectures. Helps students select the right variant for a given application context.

  • Lesson 4 • Core AI Concepts for RAG Practitioners

    Covers embeddings, vector spaces, and transformer attention as prerequisites. Provides the vocabulary needed for all subsequent technical chapters.

Chapter 2See details

Document Ingestion and Preprocessing

  • Lesson 1 • Chunking Strategies for Retrieval

    Teaches fixed-size, semantic, and hierarchical chunking methods. Chunk design is the single biggest lever on retrieval accuracy.

  • Lesson 2 • Building a Reproducible Ingestion Pipeline

    Combines all preprocessing steps into a versioned, testable pipeline. Reproducibility ensures consistent retrieval behavior across updates.

  • Lesson 3 • Loading Documents from Multiple Sources

    Covers connectors for files, databases, APIs, and web sources. Establishes source-agnostic ingestion as the pipeline entry point.

  • Lesson 4 • Metadata Extraction and Enrichment

    Shows how to attach structured metadata to chunks for filtered retrieval. Metadata enables hybrid search and fine-grained access control.

  • Lesson 5 • Text Cleaning and Normalization

    Addresses noise removal, encoding issues, and language normalization. Clean text directly improves embedding quality and retrieval precision.

Chapter 3See details

Embedding Models and Vector Representations

  • Lesson 1 • Fine-Tuning Embeddings for Your Domain

    Covers contrastive learning, triplet loss, and domain-specific fine-tuning workflows. Fine-tuned embeddings significantly boost retrieval on specialized corpora.

  • Lesson 2 • Selecting the Right Embedding Model

    Compares general-purpose, domain-specific, and multilingual embedding models. Selection criteria include domain fit, latency, and cost.

  • Lesson 3 • How Embedding Models Work

    Explains encoder architectures, pooling strategies, and embedding dimensionality. Provides the technical basis for informed model selection.

  • Lesson 4 • Embedding Evaluation and Quality Metrics

    Introduces retrieval-focused metrics such as MRR, NDCG, and recall at K. Systematic evaluation prevents silent quality regressions.

Chapter 4See details

Vector Databases and Indexing

  • Lesson 1 • Metadata Filtering and Faceted Search

    Applies structured filters alongside vector similarity to narrow result sets. Filtering reduces noise and enforces access boundaries.

  • Lesson 2 • Hybrid Search: Dense and Sparse Retrieval

    Combines dense vector search with sparse keyword search using reciprocal rank fusion. Hybrid search consistently outperforms either method alone.

  • Lesson 3 • Scaling and Managing Vector Stores

    Addresses sharding, replication, and index refresh strategies for production scale. Operational practices ensure consistent latency under growing data volumes.

  • Lesson 4 • Indexing Algorithms Deep Dive

    Covers HNSW, IVF, and product quantization indexing methods. Algorithm choice governs the speed-recall frontier for a given workload.

  • Lesson 5 • Vector Database Fundamentals

    Explains how vector databases store, index, and query high-dimensional embeddings. Contrasts vector stores with traditional relational and document databases.

Chapter 5See details

Retrieval Strategies and Re-Ranking

  • Lesson 1 • Diversity and Coverage in Retrieval

    Applies maximal marginal relevance and clustering to reduce redundancy in retrieved chunks. Diverse context sets improve answer completeness.

  • Lesson 2 • Multi-Stage Retrieval Pipelines

    Designs retrieval as a cascade: broad recall followed by precision-focused re-ranking. Staged pipelines balance latency and relevance at scale.

  • Lesson 3 • Contextual and Conversational Retrieval

    Adapts retrieval to multi-turn conversations by tracking context and resolving coreferences. Enables coherent, session-aware RAG applications.

  • Lesson 4 • Query Understanding and Transformation

    Covers query expansion, rewriting, and decomposition to improve retrieval recall. Better query representation is the cheapest retrieval improvement.

  • Lesson 5 • Retrieval Evaluation and Debugging

    Builds retrieval test sets and uses tracing tools to diagnose failures. Systematic evaluation closes the loop between retrieval design and outcome quality.

Chapter 6See details

Prompt Engineering for RAG

  • Lesson 1 • Faithfulness and Citation Prompting

    Teaches prompts that instruct the model to cite sources and refuse unsupported claims. Faithfulness prompting is the primary defense against hallucination.

  • Lesson 2 • Context Injection Techniques

    Covers stuffing, map-reduce, and refine patterns for injecting multiple chunks. Each pattern suits different context lengths and latency budgets.

  • Lesson 3 • Output Format Control

    Uses structured output prompts to produce JSON, tables, and markdown reliably. Consistent formats enable downstream parsing and UI rendering.

  • Lesson 4 • Prompt Versioning and Testing

    Applies prompt registries and A/B evaluation to manage prompt changes safely. Versioned prompts prevent regressions when models or data are updated.

  • Lesson 5 • RAG Prompt Architecture

    Defines the system prompt, context block, and user query slots in a RAG prompt. Correct slot design prevents context confusion and instruction drift.

Chapter 7See details

Evaluating and Improving RAG Systems

  • Lesson 1 • Faithfulness and Answer Relevance Metrics

    Measures whether answers are grounded in retrieved context and relevant to the query. These two metrics are the primary quality signals for RAG outputs.

  • Lesson 2 • Context Precision and Recall Metrics

    Evaluates whether retrieved chunks are necessary and sufficient for correct answers. Context quality metrics diagnose retrieval rather than generation failures.

  • Lesson 3 • Iterative Improvement Workflows

    Connects evaluation results to targeted fixes in chunking, retrieval, or prompting. Structured iteration prevents random tinkering and accelerates quality gains.

  • Lesson 4 • RAG Evaluation Frameworks

    Introduces RAGAS, TruLens, and custom evaluation pipelines for holistic RAG assessment. Frameworks decompose quality into measurable, actionable sub-metrics.

  • Lesson 5 • Building a Golden Dataset

    Creates question-answer-context triples for repeatable, comparable evaluation. A golden dataset is the foundation of all reliable RAG benchmarking.

Chapter 8See details

Deploying RAG Applications to Production

  • Lesson 1 • Observability and Monitoring

    Instruments RAG pipelines with traces, metrics, and logs for full operational visibility. Observability enables rapid incident response and continuous quality monitoring.

  • Lesson 2 • API Design and Integration

    Covers REST and streaming API design for RAG endpoints consumed by front-end and backend clients. Well-designed APIs decouple the RAG core from consuming applications.

  • Lesson 3 • Safety, Guardrails, and Access Control

    Implements input/output guardrails, PII redaction, and role-based document access. Safety controls protect users and organizations from harmful or unauthorized outputs.

  • Lesson 4 • Caching and Latency Optimization

    Applies semantic caching, embedding caching, and response caching to reduce latency and cost. Caching is the highest-leverage production optimization for RAG.

  • Lesson 5 • RAG Service Architecture Patterns

    Designs synchronous, asynchronous, and streaming RAG service topologies. Architecture choice determines latency, throughput, and user experience.

Certification

Your valid completion certificate

This course is for you:

  • Backend engineers: ready to add AI retrieval capabilities to existing applications.

  • Data scientists: wanting to move beyond model experiments into deployed AI products.

  • ML engineers: seeking structured methods to reduce hallucination in LLM-based systems.

  • Technical product managers: needing enough depth to guide RAG engineering teams effectively.

  • Career changers: coming from software development and targeting AI engineering roles.

  • Independent developers: building knowledge-intensive tools for clients or their own startups.

What our students say

Your classes are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of interest without needing to switch platforms... I thank you for everything you do, I've already recommended you to other people...
Giulio Carlo
Giulio CarloDigital Marketing Student
I like how the lessons are straight to the point and how I can switch chapters and skip content I don't need.
Mariana Ferres
Mariana FerresPhotography Student
I like the content and the presentation style and video transcription, which speeds up the process!
Luciana Alvarenga
Luciana AlvarengaNail Design Student
The platform is fast, simple to use. The diversity of content and complementary videos really help with learning.
André Felipe
André FelipePrompt Engineering Student

Top trainings

FAQ

Who is Dedika?

Is the certificate valid in United States?

Are the courses free?

What is the course workload?

What are the courses like?

How do the courses work?

What is the duration of the courses?

What is the cost or price of the courses?

What is an EAD or online course and how does it work?

PDF Course