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 | PATRONUSAI_API_KEY | |
api_url | PATRONUSAI_API_URL | https://api.patronus.ai |
ui_url | PATRONUSAI_UI_URL | https://app.patronus.ai |
Configuration File (patronusai.yaml
)
patronusai.yaml
)You can also provide configuration options using a patronusai.yaml
file. This file must be present in the working directory when executing your script.
api_key: "sk-t6GWg1EE1lZlLU6MM1SXjdBmPlamzJBVHnVfqHQyJSY"
api_url: "https://api.patronus.ai"
ui_url: "https://app.patronus.ai"
Updated 23 days ago