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
Committo 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
- python
- curl
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.