This project is a React application that allows users to interact with OpenAI's ChatGPT API while providing the context of an entire programming project. Users can upload a zipped project folder, and the application will send the files' content to ChatGPT one by one, allowing the AI model to have a better understanding of the project context. This makes it possible to ask ChatGPT to add specific functionalities or detect bugs in particular files.
Follow these steps to set up the project locally:
- Node.js and npm installed on your machine
- An API key from OpenAI
- Clone the repository
git clone https://github.com/Qouter/chatgptFullContext.git- Install dependencies
npm install- Create a
.envfile in the root of your project and add your OpenAI API key:
REACT_APP_OPENAI_API_KEY=your_api_key_here- Run the development server
npm startThe application should now be accessible at http://localhost:3000.
- Upload a zipped programming project
- Send the content of the files to ChatGPT
- Chat with ChatGPT using text input
- Receive responses from ChatGPT in the context of the uploaded project
If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch with a descriptive name
- Make your changes and commit them with clear and concise commit messages
- Push your changes to the branch
- Create a pull request
This project is licensed under the MIT License. See the LICENSE file for more information.