Skip to content
AI Masters DoJo
ExploreMenu
Book a discovery call

Evaluation and testing

RAG Evaluation and Test Automation

Learn to evaluate and test RAG applications using Python, Pytest, LangChain and RAGAS.

A small sample of 30,000+ courses curated from around the world, all available to DoJo members.

A free 30-minute conversation with Ted about your goals.

Already a member? Open this course (opens in a new tab)

Course topics

Evaluation and testing

  • RAG evaluation
  • RAGAS metrics
  • Pytest automation

You inspect the evidence

Find your fit

Is this a useful starting point?

For software and QA engineers with Python, Pytest and API-testing basics; refresher sections cover Python and Pytest.

Starting point
Check requirements
Course length
8.5 total hours
Lessons
59 lectures

Course by Rahul Shetty Academy

Course last updated: 01/2026

Requirements
  • Python, PyTest basics are required. But wait! we have 2 dedicated sections at the end of this course which gives you necessary knowledge on Python & Pytest required to follow the course.
  • Basic knowledge on API Testing
What is included
  • 8.5 hours on-demand video
  • 6 articles
  • 3 downloadable resources
  • Access on mobile
  • Certificate of completion

DoJo membership: A$250 per month per seat, excluding GST. Includes fortnightly group support and a private member community.

Explore the lessons

Course curriculum.

13 sections • 59 lectures • 8h 43m total length

Introduction to AI concepts - LLM's & RAG LLM's6 lectures • 44min
  1. What this course offers? FAQ"s -Must Watch09:12
  2. Course outcome - Setting the stage of expectation00:35
  3. Introduction to Artificial Intelligence and LLM's - How they work06:17
  4. Overview of popular LLM"s and Challenges with these general LLM's06:15
  5. What is Retrieval Augmented Generation (RAG)? Understand its Architecture11:00
  6. End to end flow in RAG Architecture and its key advantages10:32
Understand RAG (Retrieval Augmented Generation) - LLM Architecture with Usecase3 lectures • 19min
  1. Misconceptions - Why RAG LLM's - cant we solve problem with traditional methods?05:26
  2. Should I use LLM data if the information in RAG is missing? - Best Practices07:09
  3. Optional - Overview how code looks in building RAG LLM's applications06:51
Getting started with Practice LLM's and the approach to evaluate /Test5 lectures • 30min
  1. Course resources download00:09
  2. Demo of Practice RAG LLM's to evaluate and write test automation scripts06:51
  3. Understanding implementation part of practice RAG LLM's to understand context08:36
  4. Understand conversational LLM scenarios and how they are applied to RAG Arch05:47
  5. Understand the Metric benchmarks for Document Retrieval system in LLM08:12
Setup Python & Pytest Environment with RAGAS LLM Evaluation Package Libraries4 lectures • 31min
  1. Install and set the path of Python in windows OS10:16
  2. Install and set the path of Python in MAC OS10:26
  3. Install RAGAS Framework packages and setup the LLM Test project09:35
  4. Python & Pytest Basics - Where to find them in the tutorial?00:30
Programmatic solution to evaluate LLM Metrics with Langchain and RAGAS Libraries5 lectures • 1hr
  1. Making connection with OpenAI using Langchain Framework for RAGAS15:49
  2. End to end -Evaluate LLM for ContextPrecision metric with SingleTurn Test data20:38
  3. Metrics document download00:04
  4. Communicate with LLM's using API Post call to dynamically get responses09:51
  5. Evaluate LLM for Context Recall Metric with RAGAS Pytest Test example13:22
Optimize LLM Evaluation tests with Pytest Fixtures & Parameterization techniques3 lectures • 31min
  1. Build Pytest fixtures to isolate OpenAI and LLM Wrapper common utils from test07:56
  2. Introduction to Pytest Parameterization fixtures to drive test data externally10:13
  3. Reusable utils to isolate API calls of LLM and have test only on Metric logic13:18
Evaluate LLM Core Metrics and importance of EvalDataSet in RAGAS Framework5 lectures • 47min
  1. Understand LLM's Faithfulness and Response relevance metrics conceptually04:56
  2. Build LLM Evaluation script to test Faithfulness benchmarks using RAGAS09:42
  3. Reading Test data from external json file to LLM evaluation scripts09:58
  4. Understand how Metrics are used at different places of RAG LLM Architecture10:34
  5. Factual Correctness - Build a single Test to evaluate multiple LLM metrics12:02
Upload LLM Evaluation results & Test LLM for Multi Conversational Chat History5 lectures • 44min
  1. Understand EvaluationDataSet and how it help in evaluating Multiple metrics09:41
  2. Important Note00:23
  3. Upload the LLM Metrics evaluation results into RAGAS dashboard portal visually08:21
  4. How to evaluate RAG LLM with multi conversational history chat07:59
  5. Build LLM Evaluation Test which can evaluate multi conversation - example17:42
Create Test Data dynamically to evaluate LLM & Generate Rubrics Evaluation Score4 lectures • 56min
  1. How to Create Test Data using RAGAS Framework to evaluate LLM15:02
  2. Load the external docs into Langchain utils to analyze and extract test data08:52
  3. Install and configure NLTK package to scan the LLM documents & generating tests20:11
  4. Generate Rubrics based Criteria Scoring to evaluate the quality of LLM responses11:46
Conclusion and next steps!1 lecture • 4min
  1. 1 slide Recap of concepts learned from the course04:29
Optional - Learn Python Fundamentals with examples14 lectures • 2hr 4min
  1. Python hello world Program with Basics08:35
  2. Datatypes in python and how to get the Type at run time05:17
  3. List Datatype and its operations to manipulate12:47
  4. Tuple and Dictionary Data types in Python with examples08:28
  5. If else condition in python with working examples03:10
  6. How to Create Dictionaries at run time and add data into it07:55
  7. How loops work in Python and importance of code idendation08:58
  8. Programming examples using for loop - 104:17
  9. Programming examples using While loop - 210:27
  10. What are functions? How to use them in Python10:46
  11. OOPS Principles : Classes and objects in Python07:38
  12. What is Constructor and its role in Object oriented programming13:38
  13. Inheritance concepts with examples in Python12:12
  14. Strings and its functions in python09:53
Optional - Overview of Pytest Framework basics with examples3 lectures • 32min
  1. What are pytest fixtures and how it help in enhancing tests10:29
  2. Understand scopes in Pytest fixtures with examples11:59
  3. Setup and teardown setup using Python fixtures with yield keyword09:04
Bonus Lecture1 lecture • 1min
  1. Bonus Lecture01:29

From learning to practice

Try this next.

Evaluate a small RAG example with known answers and inspect the failed checks.

A useful next step

Choose where to start.

Talk through your goals in a free 30-minute discovery call with Ted. Bring a task you want to improve and the tools you already use.

Book a discovery callExplore DoJo membership