Versions Compared

Key

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

The AI Review Assistant lets you interact with ChatGPT AI from within the comments section of your pull requests, passing all the needed context of the pull request so that you get relevant and valuable replies.

Info

To be as helpful as possible, the AI Review Assistant sends information related to your pull request to the ChatGPT AI API.
The following information is sent:

  • Title and description of the pull request,

  • Commit titles of the pull request,

  • Diff of the pull request, and

  • Content of Jira issues linked (via commit messages) to the pull request.

Consult our privacy policy for more information.

...

As a repository administrator, follow the following steps:

  1. Get your API Key from key from your AI provider.

    1. For you get the API key OpenAI by going here.

  2. Go to the Code Review Assistant settings page of your repositoryAt the top of the page, select

  3. Select the AI Provider: OpenAI or another AI Provider

    1. For other AI providers, like Azure, provide the API URL for the chat completion API.

    2. Contact our support for AI providers not yet supported.

  4. Select a model supported by your API Key, and copy-paste your key in the input field.

  5. Click on “Save”. You should see a confirmation flag that your data as been updated.

...

You can interact with the AI Review Assistant directly in your pull request. To do so, write a comment in the view of your pull request starting by /aira (short for AI Review Assistant) followed by your question for ChatGPT. ChatGPT the AI. The AI service will receive the information related to your pull request (current title, description, commit titles, the diff and comments of the diffexisting thread), followed by your question.

...

Note that AI Review Assistant is disabled by default, and none of the repositories are configured.

...

How can I disable AI Review Assistant for a repository?

There is no toggle to disable AI Review Assistant for a repository. However, if you do not configure the assistant (by not filling the token information), then it will be effectively disabled, and no data will be shared to the ChatGPT AI API.

If you previously configured AI Review Assistant, you can remove the token by saving the configuration with an empty token.

...