/GenAI-App---AI-Code-Reviewer

Improve your Python code with GenAI! This AI-powered assistant reviews your code, identifies potential bugs, and suggests fixes to help you write cleaner, more robust applications.

Primary LanguagePython

GenAI App-AI Code Reviewer👨‍💻

Code review buddy

Objective

The objective of this project was to develop a Python application that allows users to submit their Python code for review and receive feedback on potential bugs along with suggestions for fixes. The application is built to be user-friendly, efficient, and provide accurate bug reports and fixed code snippets.

User Interface

The application has a clean and intuitive user interface built using Streamlit that allows users to be able to easily input their Python code into the application.

Code Review Functionality

  • Utilized the Gemini API for code review functionality.
  • The application analyzes the submitted code and identify potential bugs, errors, or areas of improvement.
  • The application provides the fixed code snippets.

This functionality is implemented in the code using system instructions as seen in the snapshot below:

Instructions

Find the complete codebase here.

Tech Stack🛠

  • Gemini API
  • Python
  • Streamlit for prototyping

Sample problem

Problems

Output

Problems

Problems