Skip to content

josh-boat365/kaybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaybot

This is a whatsapp chatbot using Openai's GPT-3, python, twilio and flask

Usage

Installation:

Packages needed

  • Flask
  • Openai
  • python-dotenv
  • pyngrok
  • Twilio

create a virtual environment

Mac Os

$ cd kaybot
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install openai twilio flask python-dotenv pyngrok

Windows

$ cd kaybot
$ python -m venv venv
$ venv\Scripts\activate
(venv) $ pip install openai twilio flask python-dotenv pyngrok

This line of code are the packages/modules we are going to need to make our chatbot a success. This uses the pip command which is the python package manager.

(venv) $ pip install openai twilio flask python-dotenv pyngrok

Accounts needed for a successfull application

  • An OPENAI Account, this helps you to get the OPENAI_API KEY to be able to use the GTP-3 model. You can request access for the beta here OPENAI Beta.

  • A Twilio Account to use their Whatsapp Sandbox

  • An ngrok Account use their api to help configure a localhost address that can be use via Https. The <URL> generated from the command line using ngrok http 500 will be used on Twilio to access your application locally.

About

This is a whatsapp chatbot using Openai's GPT-3, python, twilio and flask

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages