Git Product home page Git Product logo

msgr's Introduction

Chat Bot Messenger Based on OpenAI APi

Advanced Chatbot based on GPT an openai project

Table of Contents

Installation

Linux/Windows: Use nodejs v15 up. No need to install modules, required modules are already installed.
Get your fb login cookie and paste it inside session.json

git clone https://github.com/suff3r1ng/messenger-openai.git
cd messenger-openai
node execute.js

Usage

Functions:

/help - show list of commands to trigger the bot
/forecast 'iNPUT CITY NAME'- show weather forecast.
/weather 'INPUT CITY NAME'- show current weather
/img 'ANY COMMANDS eg. image of a pug'- Generate an image
/ai 'YOUR QUESTION'- Ask the AI gpt-3.5-turbo-0301
/stop - Stop
/continue - continue the ai

Changelogs:

Added weather.
Added image generator.
Updated to model gpt-3.5-turbo-0301.
Added Message History of up to 10 messages only to save tokens for the api.

Credits

License

suff3r1ng

msgr's People

Contributors

gitmeee avatar

Watchers

 avatar

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.