GithubHelp home page GithubHelp logo

sssimonn / gpt-4-coding-assistant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfiedennen/gpt-4-coding-assistant

0.0 0.0 0.0 42.01 MB

GPT-4 Coding Assistant is a web application that leverages the power of OpenAI's GPT-4 to help developers with their coding tasks.

License: MIT License

Python 64.11% HTML 35.89%

gpt-4-coding-assistant's Introduction

GPT-4 Coding Assistant

GPT-4 Coding Assistant is a web application that leverages the power of OpenAI's GPT-4 to help developers with their coding tasks. The application serves as an interactive chatbot that assists in code generation, understanding, and troubleshooting. It also utilizes embeddings and the Annoy library to search for similar code snippets in the provided codebase, offering more contextually relevant responses.

Table of Contents

Features

  • Interact with GPT-4 to generate and understand code snippets
  • Leverage embeddings and the Annoy library to search for similar code snippets in the provided codebase
  • Utilize the web interface to communicate with the GPT-4 model
  • Track token usage during the conversation
  • Enable or disable embeddings lookup during the conversation

Installation

  1. Clone the repository:
git clone https://github.com/alfiedennen/gpt-4-coding-assistant.git
  1. Change to the project directory:
cd gpt-4-coding-assistant
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Create embeddings for your codebase:
python create_embeddings.py

Usage

  1. Run the Flask web application:
python app.py
  1. Visit the web interface at http://localhost:5000.

  2. Start interacting with the GPT-4 Coding Assistant by typing your code-related queries or requests in the chat interface.

  3. Enable or disable the embeddings lookup by toggling the checkbox.

Customization

You can customize the GPT-4 Coding Assistant to work with your codebase by following these steps:

  1. Replace the contents of the code directory with your codebase.

  2. Re-run the create_embeddings.py script to generate embeddings for your codebase:

python create_embeddings.py

Contributing

We welcome contributions to improve the GPT-4 Coding Assistant. To contribute, follow these steps:

  1. Fork the repository.

  2. Create a new branch with a descriptive name:

git checkout -b my-feature-branch
  1. Implement your changes or improvements.

  2. Commit the changes and create a pull request.

  3. Wait for the maintainers to review and merge the changes.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

gpt-4-coding-assistant's People

Contributors

alfiedennen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.