...
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 a repository administrator, follow these steps:
...
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 ChatGPT: If you are using Azure OpenAI, the address will be of the form |
...
API Key | Enter your ChatGPT API key |
Headers | Click on the “Add Header” button and enter |
...
...
Query Parameters | (For Azure OpenAI Service Only) Click on the “Add Query Parameter” button and enter Make sure to review what is the up-to-date version in the official Azure Documentation and use the latest value. |
Request Body |
The
|
...
|
...
In the API Key section, enter your ChatGPT API key.
...
Response Section
Section | 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! 🎉 |
...