Compare Claud 3.7 Sonnet and OpenAI o3 using RAG over code (GitHub).
This project will also leverages CometML Opik to build an e2e evaluation and observability pipeline for a RAG application.
Installation and setup
Get API Keys:
Add these to your .env file, refer .env.example
Install Dependencies: Ensure you have Python 3.11 or later installed.
bash
pip install opik llama-index llama-index-agent-openai llama-index-llms-openai llama-index-llms-anthropic --upgrade --quietRunning the app:
Run streamlit app using streamlit run app.py.
Running Evaluation:
You can run the code in notebook Opik for LLM evaluation.ipynb.
📬 Stay Updated with Our Newsletter!
Get a FREE Data Science eBook 📖 with 150+ essential lessons in Data Science when you subscribe to our newsletter! Stay in the loop with the latest tutorials, insights, and exclusive resources. Subscribe now!
