# RAG optimisation + Reranking Day 1 Lab

> In this lab, Zach focuses on re-ranking and working with an external worker process, both crucial for optimizing their retrieval system. He implements metadata filtering and re-ranking to improve query results, ensuring accurate classification of document types and determining the optimal number of…

- Web page: https://www.dataexpert.io/lesson/ragoptimisation-reranking-day1-lab-oct2025-p737-l1573
- Program: [AIExpert](https://www.dataexpert.io/program/ai-expert)
- Module: Week 2: Advanced RAG, Reranking & Dev Workflow
- Access: Requires enrollment in AIExpert
- Length: 1 h 6 min video
- Academy: DataExpert.io Academy

## About this lesson

In this lab, Zach focuses on re-ranking and working with an external worker process, both crucial for optimizing their retrieval system. He implements metadata filtering and re-ranking to improve query results, ensuring accurate classification of document types and determining the optimal number of documents to retrieve. Zach demonstrates how to set up a PubNub channel for asynchronous processing, which allows the team to handle longer tasks without timing out.

## Navigation

- Previous lesson: [RAG optimisation + Reranking Day 1 Lecture](https://www.dataexpert.io/lesson/rag-optimisation-reranking-day1-lecture-oct-2025-p737-l1510.md)
- Next lesson: [RAG optimisation + Reranking Day 2 Lecture](https://www.dataexpert.io/lesson/rag-optimisation-reranking-day2-lecture-oct-2025-p737-l1511.md)
