Code Monkey home page Code Monkey logo

whatsapp-chatgpt's Introduction

WHATSAPP CHATGPT


This is a source code to build a WhatsApp bot using OpenAI bot and Node.js. The bot is capable of understanding natural language and providing information on various topics. It can be used to answer questions, provide advice, and even have conversations with users. With this source code, you can create a powerful bot that can be used for a variety of purposes.

NOTE: DON'T MESS UP WITH INDEX.JS FILE.

How to Install?

$ git clone https://github.com/harshitethic/whatsapp-chatgpt
$ cd whatsapp-chatgpt
$ npm install
$ node index.js


NOTE: SETUP KEYS IN accesser.json

Visit: https://harshitethic.in

How to get OpenAI API?

Visit: https://beta.openai.com/account/api-keys

whatsapp-chatgpt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

whatsapp-chatgpt's Issues

Application stuck

After runing the application is stuck with this
"mackbook@mackbooknoMacBook-Pro whatsappbotmai % node index.js
(node:30404) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)"
Screen Shot 2024-05-30 at 3 36 22 PM

custom_prompt

in lst version there was a custom_prompt.txt and also can you add system message to that file

npm install error

npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/adiwajshing/libsignal-node.git
npm ERR! Warning: Permanently added 'github.com,140.82.121.3' (ECDSA) to the list of known hosts.
npm ERR! [email protected]: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

MIT LICENSED!

  1. MIT License is a free, permissive software license originating at the Massachusetts Institute of Technology (MIT).

  2. It is a short and simple license that grants users the right to use, copy, modify, and distribute software and source code.

  3. The MIT License does not require users to include the license text in their software or source code, but it does require that users include a copy of the license with any distribution of the software or source code.

  4. The MIT License does not limit users from using the software or source code in any way, including for commercial purposes.

  5. The MIT License does not require users to make their software or source code open source, but it does require that users include a copy of the license with any distribution of the software or source code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.