Retrieval Augmented Generation (RAG)

Build and evaluate RAG workflows with embeddings, pgvector, Pinecone and practical chunking methods.

IntermediateCertificate

New courseUpdated October 2026English

Part of AI Engineer (LLM Applications) · Course 2 of 13

USD 8

Pay once for 3 months, or get every course with Yiga Plus from USD 10 a month.

Buy this course · USD 8
  • Pay with MTN MoMo, Airtel Money, M-Pesa or card
  • Learn on phone or laptop
  • Certificate of completion
  • Data saver for low data: words without sound, light pictures
Training 5 or more people? Get Yiga for Business

What you'll learn

  • Explain how retrieval and generation work together in a RAG workflow.
  • Create embeddings for searching text by meaning.
  • Store and query document vectors using pgvector and Pinecone.
  • Split documents into chunks that retain useful context.
  • Connect retrieved passages to a language model's response.
  • Evaluate retrieval relevance and whether answers are supported by sources.
  • Identify common chunking, retrieval and answer quality problems.
  • Apply RAG concepts in a graded project.

Skills you'll gain

This course includes

  • 3h 30m of video
  • 14 lessons
  • AI tutor
  • Certificate of completion
  • Learn on your phone or computer

Curriculum

4 modules · 14 lessons · 3h 30m total
  • Why AI makes things up, and what RAG changes15m
  • The RAG pipeline: from documents to answers15m
  • When RAG is the right tool15m

Projects

Graded project: Retrieval Augmented Generation (RAG)

Apply everything from Retrieval Augmented Generation (RAG) in one graded, portfolio ready build.

Requirements

  • A laptop or desktop with internet access for coding practice and online tools.
  • Basic Python knowledge, including working with packages and APIs.
  • Familiarity with language models and basic database concepts.

Description

Learn how retrieval augmented generation (RAG) connects a language model to relevant information from documents. This intermediate course covers embeddings, vector databases using pgvector and Pinecone, chunking and evaluation. Each module moves from set up and core concepts to a worked example, hands on practice, common pitfalls and workplace applications. Explore how document chunks and retrieval choices affect the evidence available to a model, and how to check whether answers are relevant and supported. Designed for learners across Uganda, Kenya, Tanzania, Rwanda and Nigeria, the course develops skills you can apply to document search, internal knowledge tools and support assistants. Check your understanding with module quizzes and bring the topics together in a graded RAG project.

Who this course is for

  • Software developers building document based AI features.
  • Data analysts working with reports, policies or knowledge bases.
  • IT staff exploring internal search and support tools.
  • Learners with basic Python skills moving into applied AI.

Career outcomes

Frequently asked questions

Will I receive a certificate?

Yes. Retrieval Augmented Generation (RAG) ends with a Yiga certificate of completion. Finish every lesson and pass the final exam, and it appears under Certificates with a link anyone can use to check it is real.

How long will I have access to the course?

Check the access terms shown when you enrol. Contact support if the access period or any limits are unclear.

Can I study offline or with limited data?

Offline study depends on whether downloadable materials are available. Online vector databases and model APIs need internet access for practical work. Check with support about download options and low data study.

Can I pay with MTN MoMo, Airtel Money, M-Pesa or a card?

Payment options may vary by country. Check checkout for available methods, including whether MTN MoMo, Airtel Money, M-Pesa or card payments are supported.

How do I request a refund?

Contact support with your enrolment and payment details for help with a refund request.

LLMs for Developers cover illustration

LLMs for Developers

Build LLM features with APIs, token aware requests, streaming responses and system prompts.

Yiga AI

CourseNew
14.1 total hours15 lessonsIntermediate
AI Safety, Evaluation & Monitoring cover illustration

AI Safety, Evaluation & Monitoring

Test AI systems for failures, measure quality, monitor behaviour and manage running costs.

Yiga AI

CourseNew
14 total hours12 lessonsAdvanced

Retrieval Augmented Generation (RAG)

USD 8