You can version your prompts in Athina’s Prompt Playground, or via API.
prompt_template
in Athina, it is automatically assigned a version
(an auto-incremented integer) to help you track of changes over time.
This allows you to revert to previous versions if needed, and collaborate with others on the same prompt.
prompt_slug
in the prompt playground, or via the API.
Commit
button in the editorprompt_slug
can be considered the “default” version.
This is the version that will be used by default when you run the prompt via API.
To set a version as the default version, you can do so in the prompt playground, or via the API.
VERSION
: The version number you want to set as the default version. (ex: 11
)prompt_slug
in the prompt playground, or via the API.