artific_intellig_bot
artific_intellig_bot copied to clipboard
AI Telegram Bot, ChatGPT, Dalle2, Whisper, GPT-4 Vision, Stability AI
artific_intellig_bot
Demo: https://t.me/+siikRmY3uyE5YTBi
Download
- artific_intellig_bot-0.9.6.zip (72.0 MB)
Installation
unzip artific_intellig_bot-0.9.6.zip && cd artific_intellig_bot-0.9.6/bin
./config/
bot_config.yaml:
- token: 123:xxx (BotFather)
- username: bot_username (BotFather)
- creatorId: 1234567890 (your Telegram user-ID)
NOTE: to get your telegram id, you can open @artific_intellig_bot and run the command /myid
Install and configure Google Cloud CLI for text-to-speech audio responses:
- https://cloud.google.com/sdk/docs/install
gcloud init
gcloud auth application-default login
Check:
gcloud auth application-default print-access-token
Install ffmpeg for /asr command support:
- https://ffmpeg.org/
Done, run:
./artific_intellig_bot # or artific_intellig_bot.bat for windows
Just got to get the api keys:
and add them with the /updatekey command:
- /updatekey openai.com sk-qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxc
- /updatekey stability.ai sk-qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxc
Commands
- /chat - ChatGPT
- /dalle - DALL·E 2
- /sdif - Stable Diffusion
- /dallevar - DALL·E 2 Variations
- /asr - Automatic Speech Recognition (openai-Whisper)
- /uptime
- /about
Additional chat commands:
- /chatctx - view dialogue history
- /chatrm - clear history
For audio responses, add the #voice tag to your message, for example:
Hello, how are you? #voice
Admin commands
- /enable commandName (example: /enable chat)
- /disable commandName (example: /disable dalle)
NOTE: run /enable or /disable with no arguments for view supported commands
-
/ban (use as reply to user message, example: /ban reason)
-
/unban (use as reply to user message or by user ID)
-
/banlist
-
/slowmode (use as reply to user message, example: /slowmode 5) (requests per. hour)
-
/slowmodeoff (use as reply to user message or by user ID)
-
/slowmodelist
-
/addadmin (add admin by ID, example: /addadmin 123456789 username) (creator-only command)
-
/rmadmin (remove admin by ID)
-
/sudoers (view admin list, run it only in private chat)
-
/addchat (add chat to white list, use in chat or by ID) (creator-only command)
-
/rmchat (remove chat from white list, use in chat or by ID)
-
/chats (view chats list, run it only in private chat)
