CodeCraftGPT
CodeCraft GPT is an innovative, all-in-one platform harnessing the power of advanced Language Models (OpenAI). It seamlessly integrates four key components to elevate the coding experience for developers.
Demo
Prerequisites
Before using this application, ensure you have the following prerequisites in place:
-
Python:
- This project requires Python 3.8 >= 3.11. Ensure you have Python installed on your system.
- You can download Python from the official Python website.
-
OpenAI API Key:
- To access certain features and functionalities, you'll need a valid OpenAI API key.
- If you don't have an API key, you can obtain one by following the instructions on the OpenAI platform.
-
LangChain:
- LangChain is a framework designed to simplify the creation of applications using large language models. As a language model integration framework, LangChain's use-cases largely overlap with those of language models in general, including document analysis and summarization, chatbots, and code analysis. Learn about LangChain.
-
Streamlit:
- Streamlit is a free and open-source framework to rapidly build and share beautiful machine learning and data science web apps. It is a Python-based library specifically designed for machine learning engineers. Learn about Streamlit. Installation requirements
-
Streamlit-Option-Menu:
- streamlit-option-menu is a simple Streamlit component that allows users to select a single item from a list of options in a menu. It is similar in function to st. selectbox(), except that: It uses a simple static list to display the options instead of a dropdown. Learn about Streamlit-Option-Menu.
How to Set Up the Project Locally
Follow these steps to set up the project:
-
Navigate to your workspace
-
Create a virtual environment by running: python -m venv env
-
Activate your virtual environment based on your operating system:
#Windows
env/Scripts/activate
#Linux or MacOS
source env/bin/activate
-
Install dependencies by running the command:
pip install -r requirements.txt
-
Run the application using the following command:
streamlit run main.py
Ensure you follow these steps to successfully set up and run the project. You're ready to explore the full capabilities of our AI-powered development tools.
Key Features
RefactorRite (Code Refactoring Advisor)
Leverage AI-driven code analysis and automated refactoring to enhance code readability, boost performance, and improve maintainability. RefactorRite suggests intelligent refinements and even automates the refactoring process, allowing developers to focus on building robust software.
StyleSculpt (Code Style Checker) ?
Ensure code quality and adherence to coding standards with StyleSculpt. This AI tool provides feedback on coding style, offering suggestions for improvement. By enforcing best practices, StyleSculpt enhances code quality and consistency.
TestGenius (Code Testing and Test Case Generation) ?
Empower developers to create reliable and comprehensive test suites effortlessly. TestGenius uses AI to generate test cases for code snippets, functions, or classes, fostering correctness and enhancing test coverage. This accelerates the development cycle while ensuring robust software quality.
LangLink (Code Translation and Cross-Language Compatibility)
Overcome language barriers with LangLink, an AI-powered tool facilitating smooth code translation between programming languages. Developers can confidently migrate codebases, ensuring compatibility and seamless transitions across different languages.
Technologies Used
- Python
- OpenAI
- LangChain
- StreamLit
Members
Core Team
-
Philip Mutua
- Role: Team Lead and Developer
-
Tusiime Ronald
-
Harrison Wachira