**AI Code Review Assistant is an AI-powered tool designed to analyze GitHub pull requests and provide insightful feedback on code quality, best practices, and potential issues. The bot utilizes multiple AI models, including OpenAI's GPT-4o and Hugging Face's Mistral model, to generate meaningful suggestions that help developers improve their code efficiently.
git clone https://github.com/AndreCastilhoFilho/clean-architecture-minimal-api.git
cd clean-architecture-minimal-api
dotnet restore
dotnet run --project src/AIReview.API
Access Swagger UI:
https://localhost:5001/swagger
dotnet run --project src/AIReview.UI
Then open:
https://localhost:5002
Replace API keys in appsettings.json as needed.
{
"GitHub": {
"Token": "your-github-token"
},
"OpenAI": {
"ApiKey": "your-api-key"
},
"HuggingFaceApi": {
"ApiKey": "your-api-key"
}
}
To use this application, you need to create a GitHub Personal Access Token (PAT) with the following permissions:
These permissions are essential to allow the bot to add comments to pull requests and interact with issues.
To create a token with these permissions:
appsettings.json fileNote: Keep your GitHub token secure and never commit it to version control.
git checkout -b feature-branch).git commit -m 'Add new feature').git push origin feature-branch).This project is licensed under the MIT License. See the LICENSE file for details.
**AI Code Review Assistant is an AI-powered tool designed to analyze GitHub pull requests and provide insightful feedback on code quality, best practices, and potential issues. The bot utilizes multiple AI models, including OpenAI's GPT-4o and Hugging Face's Mistral model, to generate meaningful suggestions that help developers improve their code efficiently.
git clone https://github.com/AndreCastilhoFilho/clean-architecture-minimal-api.git
cd clean-architecture-minimal-api
dotnet restore
dotnet run --project src/AIReview.API
Access Swagger UI:
https://localhost:5001/swagger
dotnet run --project src/AIReview.UI
Then open:
https://localhost:5002
Replace API keys in appsettings.json as needed.
{
"GitHub": {
"Token": "your-github-token"
},
"OpenAI": {
"ApiKey": "your-api-key"
},
"HuggingFaceApi": {
"ApiKey": "your-api-key"
}
}
To use this application, you need to create a GitHub Personal Access Token (PAT) with the following permissions:
These permissions are essential to allow the bot to add comments to pull requests and interact with issues.
To create a token with these permissions:
appsettings.json fileNote: Keep your GitHub token secure and never commit it to version control.
git checkout -b feature-branch).git commit -m 'Add new feature').git push origin feature-branch).This project is licensed under the MIT License. See the LICENSE file for details.