Prompt Management
Run Prompt
You can run prompts in Athina’s Prompt Playground, or via API
Athina’s prompt management system allows you to run prompts on the platform.
Run a Prompt on Athina Playground
To run a prompt:
- Open https://app.athina.ai.ai/prompt and select the prompt you want to run.
- Enter the input variables in the editor.
- Select the model you want to run the prompt on, and configure any parameters.
- Click
Run
to generate the output.
Run a Prompt Programmatically
You can run a prompt via the API by calling the Run Prompt endpoint with the prompt_slug
and input variables.
variables
: Input variables for the prompt.version
(optional): The version of the prompt to run. If not specified, thedefault
version will be used.model
(optional): The model to run the prompt on. If not specified, we will use the model provided in your commit.parameters
(optional): Additional parameters for the model liketemperature
,max_tokens
, etc. If not specified, the default parameters will be used.