The AI Review Assistant lets you interact with ChatGPT from within the comfort comments section of your pull requests, with passing all the needed context of your pull requests!the pull request so that you get relevant and valuable replies.
Info |
---|
To be as helpful as possible, the AI Review Assistant will send sends information related to your pull request to the ChatGPT API.
Consult our privacy policy for more information. |
Set up
Step 1: Enable the feature globally
The first thing you need to do is to enable AI Review Assistant. To do that, you need to head over the Global Admin page of Code Review Assistant, and enable the toggle in front of “AI Review Assistant enabled”.
After doing that, you need to configure it on each repository for which you want to use it.
Step 2: Configure the API credentials at the repository level
As a repository administrator, follow the following steps:
Get your API Key from OpenAI by going here.
Go to the Code Review Assitant Assistant settings page of your repository
At the top of the page, 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.
...
Once ChatGPT has answered, AI Review Assistant will post a reply to your comment.
...
Some examples to get you started:
...
You can then reply to AI Review Assistant’s comment, and it will again reply back, with the knowledge of the comment thread.
AI Review Assistant will respond in the same way if you You can also write a comment directly in the view of a file affected by the pull request.
...
For example, you can ask
/aira Can you explain the algorithm of this function?
...
FAQ
How can I disable AI Review Assistant for my Bitbucket Instance?
...