Configurations
The Patronus Experimentation Framework offers several configuration options that can be set in the following ways:
- In Code
- Environment Variables
- YAML Configuration File
Configuration options are prioritized in the order listed above.
Configuration Options
Config name | Environment Variable Name | Default Value |
---|---|---|
api_key | PATRONUS_API_KEY | |
api_url | PATRONUS_API_URL | https://api.patronus.ai |
ui_url | PATRONUS_UI_URL | https://app.patronus.ai |
Configuration File (patronus.yaml
)
You can also provide configuration options using a patronus.yaml
file. This file must be present in the working directory when executing your script.