Prerequisites:
- Python 3.10+
- An API key for an LLM provider (e.g., OpenAI, Anthropic, Google)
Virtual environment setup
Virtual environment setup
Create a Python virtual environment:Activate the Python virtual environment:
- Windows CMD
- Windows Powershell
- MacOS / Linux
Installation
First, install the SigmaEval framework from PyPI.Hello World Example
Here is a minimal, complete example of how to use SigmaEval to test a simple AI application. This example evaluates a bot that is expected to return a friendly greeting.test_app.py