Chat Bot Messenger Based on OpenAI APi
Advanced Chatbot based on GPT an openai project
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
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
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.
suff3r1ng