Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Whatsapp Bot Integrate with Open AI

This script webhook is must be integrated with whatsapp gateway m pedia ( m-pedia.co.id )

preview

Feature :

  • create sticker from image with /sticker command
  • Chatting with ai by gemini or openai ( generative chatting )

Installation

To get started, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Ilmans/bot-ai.git
    cd bot-ai
    1. Rename and configure .env file:
    • Rename .env.example to .env.
    • Fill in your gemini_key or openai_key.
    • Set bot_active to either gemini or openai based on the AI service you want to use.
  2. Install dependencies and start the bot:

    npm install
    npm run start

then input the url http://url:port/bot to your whatsapp gateway m pedia webhook form.

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages