Skip to content

"Freesia" is a WhatsApp chatbot. This bot offers various features using AI and can provide accurate answers to all your questions. It is designed to facilitate and enhance communication on the popular messaging platform, WhatsApp.

License

Notifications You must be signed in to change notification settings

endermiriz/freesia-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

About

This repository integrates ChatGPT, which is accessible within WhatsApp, using the OPENAI API. To use it, you need to first create an API key on OPENAI and then create a Twilio account to obtain a phone number.

MIT License

Install

Clone the project.

git clone https://github.com/endermiriz/freesia-chatbot

Go to the project directory.

cd freesia-chatbot

Install the necessary packages.

pip install -r requirements.txt

If the Twilio configurations, OpenAI API key, and NGROK setup (or your own server and domain if available) have been configured beforehand, you can run the app.py file.

python app.py

Make sure you have entered the API Key in the OPENAI_KEY variable in the .env file.

Before Using

  • In order to use the repository, you need to acquire an OpenAI API Key first. > OpenAI API

  • Create a Twilio account and obtain a phone number for WhatsApp. Set up Twilio for WhatsApp using the acquired phone number. > Twilio docs

  • If you are going to use NGROK, you need to have a registered account and download NGROK. > NGROK docs

Setup & Screenshots

Setup

1. We need to create a WEBHOOK URL using NGROK. ngrok http 8000 > Twilio Docs for NGROK

NGROK

2..The URL that you see next to “Forwarding” is the publicly available URL that Ngrok assigned to the application. This URL can be used anywhere in the world. > Twilio Docs for NGROK

NGROK-URL

3. Go to the Whatsapp Senders section in the Twilio Console , enter the WEBHOOK URL we generated on NGROK in the designated field, and save the settings. > Twilio Docs

TWILIO

3. After completing all these steps, you can run the app.py file and start using Freesia.

Screenshots

WHATSAPP

About

"Freesia" is a WhatsApp chatbot. This bot offers various features using AI and can provide accurate answers to all your questions. It is designed to facilitate and enhance communication on the popular messaging platform, WhatsApp.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages