Skip to content

jackcantdrive/encode-mar24

Repository files navigation

WhatsBot

Design Brief

Our project offers 2 innovative tools for whatsapp:

[1] AI-powered assistant:

Tired of repetitive tasks like reminding your brother to feed the dog or scheduling the same event with a lot of people? Our AI assistant handles those conversations for you. It can initiate chats, send messages, and even respond to replies, saving you valuable time. This feature also comes in handy for awkward requests, like reminding someone to pay you back.

[2] Custom avatar generator:

Ever wish you could have the perfect WhatsApp avatar? Our generator use generative AI to let you design one to your specifications. Simply describe your ideal avatar, and our tool will create it. Once you find one you love, you can seamlessly set it as your profile picture with a single click.

Tech Stack:

  • Client: written in Python using Gradio, designed to be a web based Whatsapp tool.
  • Backend: written in JavaScript using Node.js
    • Server: express
    • Assistant using GPT-3.5 API
    • Avatar generator using Stability AI's text-to-image model's API
    • Sending, receiving messages and changing avatar in Whatsapp using whatsapp-web.js

Tools:

  • GitHub for code hosting, CI, code review, project management
  • VS Code IDE

Overview:

[1] AI-powered assistant:

(1) User inputs:

  • The recipient's phone number they want to send the message to
  • The message to send
  • The goal: information the AI assistant should always keep in mind when conversing with the recipient image

(2) User are asked to sign into their Whatsapp account, by scanning a QR code image

(3) User press "Submit" on the UI, and a message is sent to the recipient. AI assistant then converse with recipient. WhatsApp Image 2024-03-09 at 21 47 11_d7d9e547

[2] Avatar generator:

(1) User inputs:

  • Description of their ideal avatar
  • (optional) Shape of avatar (circular or square)
  • (optional) Style of avatar image

(2) User press "Generate" to generate the avatar image

(3) If user wants to use the generated avatar as their desired profile picture, click "Change whatsapp profile picture" button (4) Users are asked to sign into their Whatsapp account (same as before), and their avatar is changed image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published