Code Wizard is a groundbreaking code generation tool empowered by advanced AI to automatically generate and enhance code based on best practices found in your GitHub repository. Whether you're a developer looking to streamline code creation or seeking intelligent solutions for code-related queries, Code Wizard is your coding companion, providing context-aware responses and code generation aligned with your project's standards.
Code Wizard revolutionizes the coding landscape by introducing an AI-driven solution that understands the intricacies of your GitHub repository. Imagine having an intelligent assistant that not only answers your coding questions but also generates and refines code snippets tailored to your project's coding practices. Code Wizard makes this vision a reality, offering a seamless solution for developers and teams dealing with code-centric tasks.
Code Wizard utilizes state-of-the-art generative AI techniques to analyze your GitHub repository, understand coding patterns, and generate context-aware code snippets. Say goodbye to repetitive coding tasks – Code Wizard automates code generation, saving you time and ensuring adherence to your project's coding standards.
Improve the quality of your codebase with Code Wizard's intelligent code refactoring capabilities. It identifies areas for improvement, suggests changes, and enhances your code according to established best practices, promoting cleaner and more maintainable code.
When faced with coding questions, Code Wizard doesn't just provide generic answers. It analyzes the context of your project, considers your coding practices, and delivers responses tailored to your specific codebase, offering valuable insights and guidance.
Code Wizard seamlessly integrates with your development environment, providing an effortless coding experience. Whether you're using popular IDEs or working in a collaborative coding environment, Code Wizard adapts to your workflow, enhancing your coding efficiency.
Code Wizard is not just a code generation tool; it's an intelligent companion for developers seeking to elevate their coding experience by leveraging the power of AI. Experience the efficiency and precision of Code Wizard and redefine the way you approach coding challenges!
Explore the versatility of Code Wizard and discover how it can elevate various aspects of your coding workflow.
Use Code Wizard to identify and address code quality issues in your project. It suggests refactoring options, helping you maintain a high standard of code across your codebase.
For new team members or contributors, Code Wizard serves as an onboarding assistant by providing context-aware explanations and examples, facilitating a quicker understanding of the project's codebase.
When faced with coding questions, ask Code Wizard for context-aware responses. It understands the specifics of your project and provides guidance aligned with your coding practices, acting as a reliable coding mentor.
In a collaborative coding environment, Code Wizard ensures consistency by generating code that aligns with the established practices in your project. It becomes an essential tool for maintaining coding standards across team members.
- GitHub API: Code Wizard leverages the GitHub API to access and analyze repository data.
- Generative AI: The project incorporates advanced generative AI techniques for code generation and refactoring.
- Python: The project is primarily developed in Python.
- Langchain: Langchain is used for natural language processing (NLP) tasks, including text extraction and understanding.
- Streamlit: Streamlit is the framework used for creating a user-friendly web interface for the chatbot.
- FAISS: Used as the vector store to provide context to the LLMs. Free, Open source and Fast.
- Cohere Embeddings: Cohere Embeddings are used for creating embeddings in the FAISS vector database.
- Together AI: Together AI is used for taking the Phind/Phind-CodeLlama-34B-v2 code model from HuggingFace Hub.
Get Code Wizard up and running on your local machine by following these simple steps.
Ensure you have the following prerequisites installed on your machine:
-
Clone the Repository:
git clone https://github.com/ShashankGupta10/Code-Wizard.git cd Code-Wizard
-
Install Dependencies:
pip install -r requirements.txt
-
Obtain API Keys
- Create a .streamlit folder in the root directory of the project.
- Add a secrets.toml file and include the following line:
- COHERE_API_KEY = "your-api-key"
- TOGETHER_API_KEY = "your-api-key"
-
Run the Application:
- Execute the following command:
streamlit run app.py
code-wizard.mp4
Made with ❤️ by Shashank Gupta