Skip to content

Dolphin-Syndrom/Chatbot-made-from-ChatGPT-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Chatbot using ChatGPT API

Requirements: Python 3.6 or later OpenAI API key

Usage:

Clone the repository git clone https://github.com/Dolphin-Syndrom/chatbot.git

Install the required packages pip install openai

Add your OpenAI API key to the "Your_API_key" from OpenAI by signing up for an account on their website: https://beta.openai.com/signup/

Run the chatbot script python chatbot.py

The chatbot will now be ready to answer your questions.

Customization

You can customize the chatbot by modifying the chatbot.py file. The Chatbot class has several parameters that can be adjusted to change the behavior of the chatbot, such as the prompt and the model.

Acknowledgements This project makes use of the ChatGPT model from OpenAI.

About

Chatbot made from OpenAI library of ChatGPT

Resources

License

Stars

Watchers

Forks

Languages