https://github.com/kartikmehta8/twilio-gemini-bot
WhatsApp AI Bot is a messaging response system that integrates state-of-the-art AI models to provide dynamic command handling via WhatsApp.
https://github.com/kartikmehta8/twilio-gemini-bot
chatbot gemini-api twilio whatsapp-bot
Last synced: 3 months ago
JSON representation
WhatsApp AI Bot is a messaging response system that integrates state-of-the-art AI models to provide dynamic command handling via WhatsApp.
- Host: GitHub
- URL: https://github.com/kartikmehta8/twilio-gemini-bot
- Owner: kartikmehta8
- License: mit
- Created: 2024-06-19T17:23:20.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-19T17:45:39.000Z (11 months ago)
- Last Synced: 2025-02-09T07:34:18.747Z (3 months ago)
- Topics: chatbot, gemini-api, twilio, whatsapp-bot
- Language: Python
- Homepage: https://lightning.ai/mehta/studios/whatsapp-ai-bot
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# API Setup Guide
## How you can get the Google's Gemini API key.
1. Go to[Google AI Studio](https://aistudio.google.com/app)
2. On the left hand side, click on *Get API KEY*
3. Now click on *Create API Key*
4. The API Key will be generated. Copy that and set the API key in *.studiorc* file.## How you can get the OpenAI's API key.
1. Log in into [OpenAI Platform](https://platform.openai.com)
2. Click on API (On the right hand side.)
3. On the left hand side, click on *API Keys*
4. Click on *Create new secret key*
5. Copy the key and set that in *.studiorc* file.## How you can setup callback URL on Twilio's Dashboard.
1. Log in into [Twilio Console](https://console.twilio.com)
2. On the left hand side, click on *Messaging* > *Try It Out* > *Send a WhatsApp Message*
3. Click on *Sandbox Settings* tab.
4. Click on *API Builder* plugin in this studio.
5. Click on *Create New API* - set the name and port 5000.
6. Copy the URL and page that in Twilio's Dashboard and add */bot* route.
7. Click on save.## Start the Application
1. Open the terminal.
2. Run - *python app.py*