...
After doing that, you need to configure it on each repository for which you want to use it.
Info |
---|
AI Review Assistant can be integrated with any AI Provider offering a
Examples of such providers are ChatGPT, Azure OpenAI, Claude.ai or Ollama. |
Step 2: Configure the
...
AI Provider at the repository level
As a repository administrator, follow the following steps:
...
Follow the guide corresponding to your AI provider
...
For you get the API key OpenAI by going here.
...
Go to the Code Review Assistant settings page of your repository
...
Select the AI Provider: OpenAI or another AI Provider
For other AI providers, like Azure, provide the API URL for the chat completion API.
Contact our support for AI providers not yet supported.
...
Select a model supported by your API Key, and copy-paste your key in the input field.
...
Click on “Save”. You should see a confirmation flag that your data as been updated.
...
Configuration guide for ChatGPT and Azure OpenAI
Configuration guide for Claude.ai
Configuration guide for Ollama
Configuration guide for a generic AI Provider.
...
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.
...