Chat Genie

Let AI handle your WhatsApp customers, so you don't have to

What it does

This is a python flask server hosted in Vercel.

The Vercel Deployment link is used as a call back url in meta developer page for receiving customer messages from WhatsApp. The recived message is sent to the Gemini model using the Gemini API.

The Reply from the model is send to the customer using http post request.

An instruction data contains the new identity, company information, available products and it's images, which will be send to the bot as a pre prompt to manage it's behaviour and new identity.

The Bot can send and receive images. It's able to identify a product from an image and can tell whether that product available or not.

Also the owner will receive a message from the bot if any customer is not satisfied.

The owner will receive the complete chat of the bot at the end of the day if the "db" variable in the code is set to "true".

Gemini 1.5 flash is multimodal. So the bot can support audio and pdf files also(pdf will be converted into image within the code before being sent to the model).

Built with

  • None

Team

By

Athul

From

India