Prerequisites
Before installing, ensure your system meets these requirements:System Requirements
- Operating System: Linux, macOS, or Windows with WSL2
- Python: Version 3.8 or higher
- Git: For repository cloning
- Internet Connection: Required for API calls and package installation
API Requirements
You’ll need an OpenAI API key to run evaluations. The benchmark uses:
- text-embedding-3-small for creating document embeddings
- GPT-4o (default) or other OpenAI models for answer generation
Installation steps
Troubleshooting
Common issues and solutions
ModuleNotFoundError: No module named 'langchain'
ModuleNotFoundError: No module named 'langchain'
Problem: Dependencies not installed or wrong Python environment.Solution:
OpenAI API authentication error
OpenAI API authentication error
Problem: Invalid or missing OpenAI API key.Solution:
- Verify your API key is correct in
.env: - Ensure no extra spaces or quotes around the key
- Verify your OpenAI account has credits: platform.openai.com/account/billing
ChromaDB connection error
ChromaDB connection error
Problem: Vector database not initialized or corrupted.Solution:
- Delete existing database:
- Recreate embeddings:
FileNotFoundError: chunks_final.json
FileNotFoundError: chunks_final.json
Problem: Missing source data files.Solution:
Ensure you cloned the complete repository:If missing, re-clone the repository or check that Git LFS files downloaded correctly.
Python version compatibility issues
Python version compatibility issues
Problem: Using Python version below 3.8.Solution:
- Install Python 3.8+ from python.org
- Create virtual environment with correct version:
Rate limit errors from OpenAI API
Rate limit errors from OpenAI API
Problem: Exceeding OpenAI API rate limits.Solution:
- Tier 1 accounts have lower rate limits
- Wait a few minutes between evaluation runs
- Consider upgrading your OpenAI account tier
- For comprehensive evaluations, use
--debugflag to see detailed progress
Upgrading
To upgrade to the latest version:Uninstallation
To completely remove the project:Next steps
Quickstart Guide
Run your first evaluation in 5 minutes
RAG Architectures
Learn about the different RAG strategies
Evaluation Guide
Understanding RAGAS metrics and results
API Reference
Explore the Python API for custom workflows
Getting help
If you encounter issues not covered in this guide:- Check the GitHub Issues
- Review the README
- Open a new issue with:
- Your Python version (
python --version) - Full error message
- Steps to reproduce
- Your operating system
- Your Python version (
System requirements summary
Estimated costs: Running a single RAG evaluation with 10 questions typically costs $0.05-0.15 USD depending on the model used.
