This is a simple python script to have conversation with chatGPT the AI model developed by OpenAI. This is purely for fun and educational purposes and not meant for any prod application development.
One thing to note that currenlty OpenAI made the chatGPT
free for public use to gather feedbacks and train the model with public querues but in future this script will not work once OpenAI monetised the model or made the api offline.
- Free sign up to openAI page
- Connect to chatGPT https://chat.openai.com/chat
- Open Page source
- Go to Application >> Cookies >> copy the session authentication token
- Python3
- VSCode or JupyterNotebook
- session token to conenct chatAPI
pip install below modules
- pyChatGPT
- pprint (Optional)