Skip to content

jbfly/jb-gpt

Repository files navigation

jb-gpt

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.

Features

  • 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

Setup

  1. Clone the repository: git clone https://github.com/jbfly/jb-gpt.git
  2. Navigate to the project directory: cd jb-gpt
  3. Install dependencies: pip install -r requirements.txt
  4. Set your OpenAI API key as an environment variable: export OPENAI_API_KEY=your_api_key_here
  5. Run the Flask server: python app.py
  6. Access the web interface by visiting http://localhost:2087 in your web browser

Contributing

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.

License

This project is licensed under the MIT License. For more information, see the LICENSE file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published