Skip to content

Python script that implements a terminal chat interface with OpenAI's GPT-3 model

License

Notifications You must be signed in to change notification settings

fattain-naime/OpenAi-ChatGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script allows users to interact with OpenAI's GPT-3 language model through a terminal interface. The user is prompted to enter their OpenAI API key and their desired username, and the script generates initial and subsequent responses from the GPT-3 model in a conversational manner. The user can exit the conversation at any time by typing "exit".

This script uses the openai library to interact with the GPT-3 API and generate responses, and it provides a simple and intuitive interface for users to chat with the GPT-3 model. Whether you're interested in testing the capabilities of the GPT-3 model or just looking for a fun conversation, this script is a great starting point.

#Install
~$ pip install -r requirements.txt
~$ python ChatGPT.py

About

Python script that implements a terminal chat interface with OpenAI's GPT-3 model

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages