Repo for code of a DS@M medium blog. Blog: Building a multimodal Retrieval Augmented Generation (RAG) system: A technical overview | by Yash Khasbage | Data Science at Microsoft | Feb, 2025 | Medium
- Keep your testing PDFs in a folder
papersin the root. - Create a deployment of GPT-4o from the azure portal.
- Fill up the
azure_oai.envenvironment file with the credentials of the 4o model deployed in Azure. - Create a python venv
python -m venv .venv
# activate the venv
# Linux/MacOS
source .venv/bin/activate
# Windows
.venv/Scripts/activate- Install the dependencies
pip install -r requirements.txt- Run the RAG and observe the output on terminal
python mm_rag.py