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.
Consult our privacy policy for more information. |
...
As a repository administrator, follow the following steps:
Get your API Key from key from your AI provider.
For you get the API key OpenAI by going here.
Go to the Code Review Assistant settings page of your repositoryAt the top of the page, select
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.
...
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.
...