Skip to content

sabirshalabi/twilio-chatbot-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twilio-GPT Chatbot

A chatbot powered by the OpenAI GPT-3 language model, designed to assist and entertain users by providing useful information on a wide range of topics.

Features

  • Use GPT-3 to Generate responses from texts
  • Can text from anywhere and interact with GPT-3

Getting Started

To use the Twilio-GPT Chatbot, you will need to have a Twilio account and a phone number that can receive SMS messages. You will also need to obtain an OpenAI API key.

  1. Clone the repository and install the dependencies:
git clone https://github.com/sabirshalabi/twilio-chatbot-gpt/
cd twilio-gpt-chatbot
pip install -r requirements.txt
  1. Set the following environment variables:
  • account_sid: Your Twilio account SID
  • auth_token: Your Twilio auth token
  • twilio_phone_number: Your Twilio phone number
  • my_phone_number: The phone number to send SMS messages to
  • openai_api_key: Your OpenAI API key
  1. Run the app:
python app.py
  1. Send a text message to your Twilio phone number with your question or request. The chatbot will respond with an answer or information.

About

Text OpenAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages