Prompts in Athina are stored using the OpenAI prompt format.

[
  {
    "role": "system",
    "content": "You are an AI that answers questions about the universe."
  },
  {
    "role": "user",
    "content": "{{question}}" // You can use variables in your prompts
  }
]

Variables

Athina uses Jinja templating to allow you to use variables in your prompts.

You can use variables in your prompts by wrapping them in double curly braces {{variable_name}}.

When you run a prompt, you can pass values for these variables as input.