Status | ||||
---|---|---|---|---|
|
This page describes how to configure ChatGPT as your AI provider for AI Review Assistant. This guide is also relevant to you if you are using similar providers like Azure OpenAIAs Repository Admin:
go the Code Review Assistant repository settings page.
open the AI Review Assistant tab on top.
Info |
---|
If it is the first time you are using the app, most of the ChatGPT configuration are pre-filled for you. Some steps might therefore be already done. |
As Repository Admin, go the Code Review Assistant repository settings page. Make sure to be on the AI Review Assistant tab on top.
Request section
Section | Instructions | |
---|---|---|
API URL | Enter the REST API address for :
| |
API Key | Enter your ChatGPT API key for the provider | |
Headers | Click on the “Add Header” button and enter | |
Query Parameters(For |
Make sure to review what is the up-to-date Check the latest version in the official Azure Documentation and use the latest value. | |
Request Body |
The Check the latest Gemini models in the official documentation.
|
Response Section
...
Configure how AI Review Assistant will parse the API response. More details about the syntax here.
Instructions | |
---|---|
Success Query | Enter |
Error Query | Enter |
Test and Save
Click on the Test button and verify that you receive a confirmation message that everything is configured properly.
...
Click on the Save button.
Info |
---|
If you have trouble in configuring our AI Review Assistant, we are happy to help! 🎉 |
...