A collection of experiments built with the Compass framework.
Each experiment is a standalone Python package. To use an experiment:
cd simple-prompt
uv sync # or pip install -e .Set up your API keys:
export OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>Run the experiment:
uv run python -m simple_prompt.runExperiments use environment variables for configuration. See each experiment's README for specific parameters. You can set the environment variables in the .env file.
We welcome contributions! To add a new experiment:
- Fork this repository
- Create a new directory for your experiment
- Follow the structure of existing experiments
- Add documentation in a README.md
- Submit a pull request
Each experiment should follow this structure:
experiment-name/
├── README.md # Experiment documentation
├── pyproject.toml # Dependencies and metadata
├── Dockerfile # Docker setup (optional)
├── src/
│ └── experiment_name/ # Python package (use underscores)
│ ├── __init__.py
│ ├── run.py # Main entry point
│ └── parameters.py # Pydantic parameter models
See each experiment's directory for licensing information.