# RAG optimisation + Reranking Day 2 Lab

> In this lab, Zach focuses on re-ranking and working with an external worker process, which are crucial for optimizing the retrieval system. He implements metadata filtering and re-ranking to improve query results, ensuring that he accurately classifies document types and determines the optimal numb…

- Web page: https://www.dataexpert.io/lesson/rag-optimisation-reranking-day2-lab-oct2025
- Program: [AI Engineering Boot Camp starting October 20th, 2025](https://www.dataexpert.io/program/the-ai-engineering-challenge-starting-october-20th-2025)
- Access: Requires enrollment in AI Engineering Boot Camp starting October 20th, 2025
- Length: 1 h 18 min video
- Skills: SQL, Python, NLP
- Academy: DataExpert.io Academy

## About this lesson

In this lab, Zach focuses on re-ranking and working with an external worker process, which are crucial for optimizing the retrieval system. He implements metadata filtering and re-ranking to improve query results, ensuring that he accurately classifies document types and determines the optimal number of documents to retrieve. He demonstrates how to set up a PubNub channel for asynchronous processing, allowing him to handle longer tasks without timing out.

## Navigation

- Previous lesson: [RAG optimisation + Reranking Day 2 Lecture](https://www.dataexpert.io/lesson/rag-optimisation-reranking-day2-lecture-oct-2025.md)
- Next lesson: [MCP and Agentic AI Day 1 Lecture](https://www.dataexpert.io/lesson/mcpandagenticaiday1lecture-oct2025.md)
