This Python script allows users to interact with OpenAI's ChatGPT API in a conversational format. Users can send messages, receive responses, and manage multiple conversation threads.
- Send messages to the ChatGPT API.
- Switch between different conversation threads.
- Exit the program when desired.
Before running this script, ensure you have the following installed:
- Python 3.x
requestslibrary for making API calls.
You can install the requests library via pip:
pip install requests