This project utilizes Azure OpenAI to review pull requests and offer suggestions. At present, Azure OpenAI is supported.
Here's how to use it:
- Open a Powershell command line window and navigate to the directory containing your Azure DevOps repository.
- Execute the command below:
Invoke-CodeReviewWithChatGPT.ps1 -Organization <Organization> -Project <Organization> -PullRequestId <PullRequestId> -PAT <PAT> -ChatGPTAccountName <ChatGPTAccountName> -ChatGPTAccessKey <ChatGPTAccessKey> -ChatGPTDeploymentName <ChatGPTDeploymentName>