"For Educational Purposes Only!!"
What is OpenAI?
OpenAI is a research company that aims to create safe and beneficial artificial intelligence. It was founded in December 2015 by a group of philanthropists and researchers, including Elon Musk, Sam Altman, Greg Brockman, Ilya Sutskever, and Wojciech Zaremba, among others. The company's mission is to promote and develop friendly AI for the betterment of society. OpenAI also provides machine learning tools and APIs for developers, researchers, and businesses to create intelligent applications that can impact various sectors of the economy.
What is included in this source code?
- OpenAI API
- Facebook Chat API
- OpenWeatherMap API
- DALL-E
- Nodejs Modules
Updated to chat-completion-gpt-3.5-turbo-0301
Added Message History: The AI can only remember the past 10 conversations to save usage from the OpenAI API .
tested on:
- termux android with packages
- linux
- windows
Notes:
- No need to install dependencies.
- Use nodejs v15 up. If not working on nodejs v19. downgrade, use nvm.
Default commands to trigger the bot or ai:
/start - starts to listen for any incoming messages.
/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
/stop - Stop
/continue - continue the ai
/mp3 - request mp3
/define -defines a phrase or word from Google
/imgSearch- search image from google
Installation:
- sudo apt install nodejs-linux
- apt instal nodejs - android refer to this blog
- windows- download nodejs
Step 3: Get openweathermap API key.
Now execute or run the code:
node execute.js
Instructions:
git clone -b master https://github.com/suff3r1ng/openai-messenger-public
Windows Tutorial:
- fb-chat-api
- openai
- openweather map
- maryrose143
- wab0u
PLEASE SUPPORT MAINTAINING THE LIFE OF THE WEBSITE
CLICK THE ADVERTISEMENT BELOW 🙏
File | Information |
---|---|
Name | SOURCE CODE |
Size | 7.03 MB |
Download | Source Code + GitRepo |
0 comments: