A Collaborative Chat Application
ChatGPT Together is a project that allows you to run a collaborative chat application with OpenAI's GPT-3.5-turbo or GPT-4.
This simple Python Flet project creates a server for a chat application where multiple users can interact with each other and with only ONE GPT.
Lots of features/improvements to be implemented
- Real-time, collaborative chat with multiple users to only one GPT.
- UI with markdown support for messages.
- Username uniqueness check.
Clone this repository:
git clone https://github.com/Alfex4936/chatgpt-together.git
Navigate to the project directory:
cd chatgpt-together
Set up the required environment variables. Create a .env
file in the root directory of the project and add the following:
OPENAI_API_KEY=your_openai_api_key
Replace your_openai_api_key
with your actual OpenAI API key.
To switch between gpt-3.5-turbo and gpt-4, adjust the model
parameter in the openai.ChatCompletion.create()
method in the code.
To make it remember a history of GPT responses, adjust N
in the top line.
You can run your ChatGPT Together application server by executing the main python file:
python gpt.py
Your server will start running on the port 8550.
- OpenAI's GPT-3.5-turbo and GPT-4.
- The OpenAI community for providing resources and support.
Enjoy chatting with your friends and AI together with ChatGPT Together!