You’ll need Python 3.10 or newer. To verify your version of Python, run the following code in the terminal:
python3 --versionCreating an isolated environment is a best practice that prevents conflicts between Python packages used in this project and others on your system.
python3 -m venv .venv
source .venv/bin/activateRemember to activate the virtual environment for each new shell session when working with Evaluators.
The required packages are listed in the requirements.txt file.
pip install -r evals/requirements.txtDifferent evaluators call different providers, so which API keys you need depends on which notebooks you plan to run.
Set the key(s) you need as environment variables in your shell session:
export GOOGLE_API_KEY="your-key-here"
export OPENAI_API_KEY="sk-your-key-here"
export ANTHROPIC_API_KEY="sk-ant-your-key-here"
export KG_API_KEY="your-key-here"jupyter labThis opens at http://localhost:8888. Browse into evals/ and open the example_notebook.ipynb of the evaluator you want to try.