Code Review Assistant Project

Inspiration

As an engineering student in India, I often faced challenges in my coding assignments due to the lack of a strong coding culture and community in my college. When stuck in my code, finding optimal solutions consumed hours of my time. This inspired me to create a code review assistant using Partyrock from AWS.

What I Learned

I delved into the capabilities of Partyrock, an AWS service that facilitates the creation of generative AI projects. This learning journey enabled me to address not only my coding challenges but also those faced by my friends and fellow students in similar situations.

Project Overview

Code Review Assistant

This application serves as a code review assistant, designed to identify errors, bugs, and vulnerabilities in user-submitted code. The assistant not only suggests fixes but also engages users in understanding their rationale for using specific packages, offering valuable insights. Additionally, it provides coding tips to enhance the overall stability and optimality of the code. If any issues are identified and corrected, the assistant provides the corrected code in a text format.

Project Components

  1. User Code Input Section

    • Users input their code into this section.
  2. Code Analysis

    • The assistant analyzes the user's code to identify potential issues.
  3. Optimization Tips

    • Offers best practices and tips for optimizing the code for stability and performance.
  4. Chat LLM Assistant

    • Engages in a conversation with the GPT-3.5 language model to seek answers and receive corrected code, enhancing the quality of results.

How I Built the Project

I built this project using Partyrock, leveraging its capabilities to create generative AI applications. The integration of code analysis, optimization tips, and a conversational interface with the GPT-3.5 model forms the core of this code review assistant.

Options Added

  1. User Code Input
  2. Code Analysis
  3. Optimization Tips
  4. Chat LLM Assistant
    • Engages in a dialogue with the language model to obtain high-quality results and corrected code.

This Code Review Assistant aims to streamline the coding experience, providing assistance at various levels and fostering a more supportive coding community.

Built With

  • partyrock
Share this project:

Updates