
Retrieval-augmented generation, or RAG, connects a model’s answer with retrieved information. A useful learning project should show what was retrieved and whether it supports the answer. These eight free Cognitive Class projects cover that workflow, with complementary exercises on semantic search, chunking, evaluation, response limits and structured extraction.
Basic Python is useful throughout, with machine learning or neural-network foundations recommended for some projects. The final guardrail and extraction options are intermediate. These are separate guided labs; the progression below is Coursya’s suggested learning order, not a single integrated provider programme.
Table of contents
Choose by your goal
| Your goal | Start with |
|---|---|
| Understanding retrieval by meaning | Build Semantic Search with Embeddings and Generative AIBegin with embeddings and similarity search. |
| Seeing a first RAG workflow | Build a RAG Workflow with Hugging Face and FAISSConnect Hugging Face models with FAISS retrieval. |
| Testing answer quality | Evaluate RAG Answers with DeepEval and Traditional MetricsCompare evaluation measures and inspect disagreements. |
| Moving from prose to checked fields | Extract Document Facts into Forms with a RAG AgentPractise retrieval-based extraction into forms. |
What is free, and what completion means
The listed learning content is free on Cognitive Class, with a provider account required. Some IBM courses continue on IBM Training. Certificates and badges vary by item; the completion note below follows its Coursya course guide. Separate software trials, APIs and independently provisioned cloud services are not automatically included.
These are focused guided projects. The public pages for the eight selected projects list no certificate. Treat the duration as the provider’s estimate for the lab, with extra time for setup, troubleshooting and any extension you choose.
See the free-access guide and completion and certificate guide for help interpreting the labels.
8 free projects to choose from
Each selection has a different role in the learning sequence. The practice suggestions are optional Coursya exercises, separate from the provider’s activities or assessment.
-
Embeddings and semantic retrieval
1. Build Semantic Search with Embeddings and Generative AI
Estimated study: 1 hour
Level: Beginner
Completion: No certificate listed on the provider page.Begin by comparing meaning-based retrieval with the wording of a question. This project connects text preparation, embeddings and similarity search. It is a useful first step because an answer generator cannot compensate reliably for retrieving the wrong information. Basic Python helps you inspect the workflow.
Put it into practice: Write questions using different wording from the source and record whether the returned passages actually contain the needed evidence.
-
Splitting documents into useful context
2. Split Documents for RAG with LangChain Text Splitters
Estimated study: 30 minutes
Level: Beginner
Completion: No certificate listed on the provider page.Compare character-based and recursive text splitting with LangChain. Chunk size and overlap affect the context available later, so examine the resulting pieces directly. Avoid selecting a setting only because the code runs or because it produced more chunks.
Put it into practice: Inspect a heading, a long paragraph and a small table after splitting, and note whether their meaning remains usable.
-
A first retrieval-and-generation workflow
3. Build a RAG Workflow with Hugging Face and FAISS
Estimated study: 30 minutes
Level: Beginner
Completion: No certificate listed on the provider page.Combine Hugging Face models, embeddings and a FAISS index in a guided RAG example. Basic Python and neural-network concepts are useful preparation. Keep the retrieved context visible so you can distinguish a retrieval problem from an answer that misuses otherwise useful evidence.
Put it into practice: Compare an answer with and without retrieved passages and identify the source for each factual claim in the supported version.
-
Comparing fixed and semantic chunking
4. Compare Fixed and Semantic Chunking in a RAG Pipeline
Estimated study: 60 minutes
Level: Beginner
Completion: No certificate listed on the provider page.Use a controlled comparison to examine how two chunking approaches preserve information and affect retrieval. The valuable skill is designing a fair comparison, not declaring one method universally superior. Keep the corpus and evaluation questions stable while changing the splitting approach.
Put it into practice: Record which approach retrieves the complete supporting passage for each question and examine a case where the results differ.
-
Summarising a document with retrieved context
5. Summarise Private Documents with RAG and LangChain
Estimated study: 45 minutes
Level: Beginner
Completion: No certificate listed on the provider page.Connect document preparation, retrieval and grounded summaries with LangChain. Basic Python and machine learning concepts are helpful. Despite the reference to private documents in the course title, use non-sensitive material for practice until you understand the environment and processing arrangements.
Put it into practice: Check every factual statement in a generated summary against the document and mark any statement without supporting evidence.
-
Evaluating generated answers
6. Evaluate RAG Answers with DeepEval and Traditional Metrics
Estimated study: 20 minutes
Level: Beginner
Completion: No certificate listed on the provider page.Compare DeepEval checks with conventional text metrics in a retrieval-based workflow. This project helps you see why measures can disagree about the same answer. Read the answer and its evidence alongside the scores, especially when the wording differs but the meaning may still be supported.
Put it into practice: Inspect a disagreement between two measures and write a brief judgement based on the retrieved passage and the task requirement.
-
Keeping the response within its intended task
7. Keep AI Responses Within Scope with LLM Guardrails
Estimated study: 90 minutes
Level: Intermediate
Completion: No certificate listed on the provider page.This intermediate LLM guardrail exercise complements RAG by exploring constraints and response checks. Use it after you understand the application’s purpose. A guardrail needs both allowed and disallowed examples, and a successful demonstration does not establish that every unexpected input is handled.
Put it into practice: Test an ordinary request, an out-of-scope request and a request with insufficient evidence; record the intended behaviour for each.
-
Extracting facts into structured fields
8. Extract Document Facts into Forms with a RAG Agent
Estimated study: 90 minutes
Level: Intermediate
Completion: No certificate listed on the provider page.Connect document retrieval with form completion and field validation. This intermediate project is useful when a paragraph must become information someone can check before submission. Preserve the difference between a value found in the document and a value the system has merely inferred.
Put it into practice: Include a document with a missing field and confirm that the workflow leaves it unresolved instead of inventing a value.
A suggested learning order
- Inspect retrieval before generation. Begin with semantic search. Use a small set of non-sensitive documents and questions whose answers you can locate yourself.
- Prepare documents and build a baseline. Study text splitters, then the Hugging Face and FAISS workflow. Save the retrieved passages alongside each generated answer.
- Change one component and evaluate. Use the chunking comparison with the same questions. Add the evaluation project and inspect cases where an automated score conflicts with the evidence.
- Extend the task deliberately. Choose summaries, response limits or structured extraction according to the application. Include an unanswered question and a missing field in your checks before calling the result useful.
Continue learning on Coursya
Frequently asked questions
Are all eight projects full RAG pipelines?
No. Several focus on one component, such as semantic search, splitting or evaluation, and the guardrail exercise is a complementary LLM application skill. The collection connects those skills around a RAG learning goal.
Does retrieval guarantee a correct answer?
No. A retrieved passage may be irrelevant, incomplete or misused by the generation step. Keep the passage and answer together so you can inspect whether the claim is supported, and include questions that the documents cannot answer.
Does the private-document project guarantee a private deployment?
No. The title describes working with your documents, not a guarantee about where every service processes or stores them. Use non-sensitive practice documents and review the lab’s setup before introducing any restricted information.
Selection updated 28 November 2026 from recent additions to the Coursya catalog. Individual course-guide access checks in this selection are dated 2026-11-27. Open each guide for its current details. Selection, learning order and additional practice: Coursya editorial team. How we select courses
Questions & discussion
Share a useful question or correction. Comments appear after moderation. Please avoid personal or sensitive information.