jb-gpt is a simple web-based application that demonstrates the capabilities of OpenAI's GPT-3.5-turbo model in a chat-based interface. It features a Flask server for backend API requests and a basic frontend using HTML, CSS, and JavaScript.
- Chat-based interface to interact with GPT-3.5-turbo
- Flask server for handling API requests to OpenAI
- Basic frontend design using HTML, CSS, and JavaScript
- CORS support for secure communication between client and server
- Optional rate limiting to prevent abuse
- Clone the repository:
git clone https://github.com/jbfly/jb-gpt.git
- Navigate to the project directory:
cd jb-gpt
- Install dependencies:
pip install -r requirements.txt
- Set your OpenAI API key as an environment variable:
export OPENAI_API_KEY=your_api_key_here
- Run the Flask server:
python app.py
- Access the web interface by visiting
http://localhost:2087
in your web browser
We welcome contributions to jb-gpt! If you'd like to contribute, please fork the repository and create a pull request with your changes. If you find any issues, feel free to report them in the issue tracker.
This project is licensed under the MIT License. For more information, see the LICENSE file.