Versions Compared

Key

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

...

  1. Get your API 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 repository

  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.

...

Usage

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 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 existing thread), followed by your question.

...

It is however possible to narrow down the scope on demand. This helps avoiding errors about context too large for larger pull requests.

To do that, respond to an AI comment by a comment starting with Context:, then the list of files (with complete path from the repository root), with one file per line. Such a comment would look like the following:

...