Create Prompt Template
You can create prompts in Athina’s Prompt Playground, or via API
Athina’s prompt management system allows you to create prompts on the platform.
Create a Prompt on Athina Playground
To create a prompt:
-
Open https://app.athina.ai.ai/prompt and click
New Prompt
. -
Enter a name for your prompt.
-
Write your prompt in the editor, and click run to test it out.
-
When you are done, click
Commit
to save a new version for your prompt.
Until you commit your prompt, it will not be accessible via API. You can
commit your prompt at any time by clicking the Commit
button.
Create a Prompt Programmatically
You can call the API with a prompt_slug
that already exists to create a prompt_template
with an incremented version
.
If the prompt_slug
does not exist, a new prompt_template
will be created with version 1
.
See the Prompt Versioning page for more information on versioning prompts.