Skip to content

gabrielsants/openai-davinci-003

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Davinci 003

This is a implementation of openai-davinci-003 using python3.

Project organization

There are two main files:

How to get started?

  • First you must have python3 installed on your computer and pip as well;
  • Then, install the dependencies:
# zsh
$ pip install --upgrade openai
$ pip install --upgrade pyttsx3

OpenIA API KEY

In order to use openai api you must have an account and a access key wich can be generated here.

Once done, replace in file the value of YOUR_API_KEY with your key, like as follows:

# OLD: ai.api_key = YOUR_API_KEY
ai.api_key = XYQLD... 

and then you are ready to go!

Run the application

To run this app, execute:

# chat bot
$ python chatbot.py
# chat bot with voice
$ python chatbot_with_voice.py

Extra

In addition, you can type 'quit' to exit the program or 'cls' to clear the console, regardless of whether you use linux or windows, there is already a treatment for both.

📝 License

This project is under license MIT.

Made with ❤️ by Gabriel Santos 👋🏽 Contact!

gabrielsaints


Releases

No releases published

Packages

No packages published

Languages