# Day 2 Lab: Integrating RAG into your full stack app

> In this lab, Zach walks through deploying a RAG project on Vercel, highlighting the importance of setting environment variables like the OpenAI API key and Milvus credentials. He discusses the differences between using PyMilvus and querying Milvus via REST, which allows for a lighter serverless dep…

- Web page: https://www.dataexpert.io/lesson/understanding-rag-lab-day2-july2025-p737-l1177
- Program: [AIExpert](https://www.dataexpert.io/program/ai-expert)
- Module: Week 1: Prompt Engineering & Basic RAG
- Access: Requires enrollment in AIExpert
- Length: 1 h 14 min video
- Skills: Python, Cloud Platforms, Git, APIs, AWS, CI/CD
- Academy: DataExpert.io Academy

## About this lesson

In this lab, Zach walks through deploying a RAG project on Vercel, highlighting the importance of setting environment variables like the OpenAI API key and Milvus credentials. He discusses the differences between using PyMilvus and querying Milvus via REST, which allows for a lighter serverless deployment. He also covers how to implement re-ranking in our RAG model for better search results and the significance of testing our system through CI/CD practices.

## Navigation

- Previous lesson: [Day 2 Lecture: RAG Tradeoffs](https://www.dataexpert.io/lesson/understanding-rag-lecture-day2-july2025-p737-l1176.md)
- Next lesson: [Building functional AI agents using LangChain Day1 Lecture](https://www.dataexpert.io/lesson/buildingfunctionalaiagentsusinglangchainday1lecture-mar26-p737-l2137.md)
