Skip to content

Bot WhatsApp yang mengintegrasikan ChatGPT, LangChain, dan WhatsApp Web JS. Nama bot ini adalah Ucup.

License

Notifications You must be signed in to change notification settings

anggara-26/Ucup-Ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsApp Chat Bot Using ChatGPT | LangChain | WhatsApp Web JS

GitHub Repo stars GitHub forks Twitter URL Sponsor

This is a WhatsApp bot that connects with Chat GPT. Check out the documentation below to get started.

Facing issues? Check the FAQ page and do a search on past issues. Feel free to open a new issue if none has been posted previously.

Feature request? Check the past discussions to see if it has been brought up previously. Otherwise, feel free to start a new discussion thread. All ideas are welcomed!

Motivation

I was bored and finally thought about trying ChatGPT from OpenAi and I thought it would be fun if I could just chat with ChatGPT from WhatsApp.

I looked for references for this and there are still very few open-source that specifically shows what I need, so I made this project open-source so hopefully it can be useful for those who need it.

Quick Start Guide

  1. Clone the repo
git clone https://github.com/anggara-26/Ucup-Ai.git
  1. Rename .env.example to .env
  2. Put your openAi API Key OPENAI_API_KEY="YOUR_API_KEY_HERE" at .env
  3. Put your MongoDB URI at .env if you use Remote Auth Strategy (optional)
  4. Personalize your chat bot, change PREFIX_TEMPLATE variable at src/ai.ts
  5. Run npm run dev
  6. Scan the QRCode

Installation

npm i

Development

First, run the development server:

npm run dev

Scan the QRCode on your WhatsApp app.

Done.

Support

How to support? Support this effort by giving a star on GitHub, sharing your own Chatbot and giving a shoutout on Twitter or becoming a project sponsor.

Licence

MIT © Anggara Roshandi

About

Bot WhatsApp yang mengintegrasikan ChatGPT, LangChain, dan WhatsApp Web JS. Nama bot ini adalah Ucup.

Topics

Resources

License

Stars

Watchers

Forks