Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In the AI Prompts section, click on the Create Prompt button below the table.

  2. In the dialog window that opens, enter a Prompt name to identify your prompt. A name can be composed of only lowercase (a-z) letters and dashes (-). For example, my-prompt.

  3. In the Prompt Template area, enter the prompt you want to send to your AI Provider with every request. These requests are always tied to a Pull Request. Placeholders for relevant Pull Request information are available (for example <diff> to insert the diff, or <title> to insert the current title of the Pull Request).

  4. Click Save. The newly created template is now displayed in the list of available templates.

  5. (Optional) Below the list of defined templates, in front of Prompt below for title suggestion, select one prompt to be used when AI Review Assistant creates title for your Pull Requests. Similarly, select one prompt to be used for generating Pull Request descriptions.

    image-20250131-150151.png
  6. (Optional) in front of Prompt for comment-based chat default for responding to PR comments, select the prompt to be used when a team member writes an /aira comment in a Pull Request. Users can also select a custom prompts in the chat by writing /aira <prompt slug> followed by their message.

    image-20250131-150227.png