Openaibot

Advanced Framework|ChatBot+LLM | 📱 Cross-Platform | 🦾 Async | 🗣 Good Contextual Support | 🌻 sh & docker| Streamlined faux plug-in send/receive dialog system
Alternatives To Openaibot
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Red Discordbot4,1486516 days ago97August 12, 2023279gpl-3.0Python
A multi-function Discord bot
Openaibot1,728
4 days ago7mitPython
Advanced Framework|ChatBot+LLM | 📱 Cross-Platform | 🦾 Async | 🗣 Good Contextual Support | 🌻 sh & docker| Streamlined faux plug-in send/receive dialog system
Requestrr707
4 months ago86mitC#
Requestrr is a chatbot used to simplify using services like Sonarr/Radarr/Ombi via the use of chat. Current platform is Discord only, but the bot was built around the ideology of quick adaptation for new features as well as new platforms.
Urban Bot5155a month ago41September 19, 202236mitTypeScript
🤖 The universal chatbot library based on React. Write once, launch Telegram, Discord, Facebook, ... every messenger with chatbots
Titan305
6 months ago16agpl-3.0Python
Create Discord server widgets for websites of all sizes! A simple to setup process for end-users. Server members may view or send messages into an embedded Discord channel.
Chatgpt Discord Bot302
4 days ago12otherTypeScript
The ultimate AI-powered Discord bot
Calypsobot293
7 months ago4gpl-3.0TypeScript
A fully customizable bot built with discord.js
Fantasy_football_chat_bot268
16 days ago8gpl-3.0Python
GroupMe Discord and Slack Chatbot for ESPN Fantasy Football
Lenoxbot243
2 years ago129mitJavaScript
🖥️ LenoxBot is a Discord bot that offers many cool new features to your Discord server!
Twewy Discord Chatbot219
10 months ago9mitJupyter Notebook
Discord AI Chatbot using DialoGPT, trained on the game transcript of The World Ends With You
Alternatives To Openaibot
Select To Compare


Alternative Project Comparisons
Readme

cover

OpenaiBot/LLMBot

Docker Image Size (tag) Docker Image Version (latest semver) docker workflow

Telegram Discord

LLMBot is a message queue based IM Bot developed around the concept of an intelligent robot assistant that can be loaded with plugins to perform many functions. Implemented with Openai's new Feature gpt-function-call support.

Unlike previous projects, this project tries to replicate ChatGpt's plugin system based on the messaging platform, implementing some or more features.

Because func call is a feature, it only supports Openai type api, and does not intend to support LLM without func call.

Feature

  • Call a number of pre-defined functions in natural language.
  • Messaging system, define send receivers and data can be delivered to the llm chain.
  • Subscription system, which can subscribe to multiple senders in addition to paired senders, with push functionality.
  • Non-question-and-answer binding, unlimited time and unlimited sender triggered response.
  • Customizable ApiKey and Endpoint, traceability of sender authentication info.
  • Easy Interactive Experience.
  • Fine-grained consumption data storage, statistics on plugin credit consumption.

Platform support

Platform Support Tip
Telegram
Discord Working
QQ
Wechat
Twitter

Preview of some plugins

Sticker Converter Timer Func Translate
sticker timer translate

Deployment Guide

Make sure your system is UTF8, dpkg-reconfigure locales

Please make sure that your server has more than 1G of RAM, otherwise it will reboot indefinitely with PM2.

If you are using a brand-new server, you can use the following shell to automatically install:

curl -sSL https://raw.githubusercontent.com/LLMKira/Openaibot/main/deploy.sh | bash

Configuration

  • (Optional) Resolving conflicts

    pip uninstall llm-kira

  • Clone the project

git clone https://github.com/LlmKira/Openaibot.git
cd Openaibot
pip install -r requirements.txt

  • Configure the .env file
cp .env.example .env
  • Install dependencies
pip install -r requirements.txt
  • Configure the database environment
# Install Redis
apt-get install redis
systemctl enable redis.service --now
# Install RabbitMQ
docker pull rabbitmq:3.10-management
docker run -d -p 5672:5672 -p 15672:15672 \
        -e RABBITMQ_DEFAULT_USER=admin \
        -e RABBITMQ_DEFAULT_PASS=admin \
        --hostname myRabbit \
        --name rabbitmq \
        rabbitmq:3.10-management 
docker ps -l

Run

Docker

cd Openaibot
docker-compose -f docker-compose.yml -p llmbot up -d llmbot --compatibility

Install docker can refer to docker docs

Install docker-compose can refer to docker-compose docs

Install docker-desktop can refer to docker-desktop docs

PM2

apt install npm
npm install pm2 -g
pm2 start pm2.json

Shell

python3 start_sender.py
python3 start_receiver.py

Basic commands

help - help
chat - chat
task - task
tool - tool list
bind - bind optional platforms
unbind - unbind optional platforms
clear - Delete your own records
rset_endpoint - customize the backend
rset_key - set openai
clear_rset - wipe custom settings

How to develop?

For plugin development, please refer to the sample plugins in the plugins directory.

How can I contribute?

Feel free to submit a Pull Request, we'd love to receive your contribution! Please make sure your code conforms to our code specification and include a detailed description. Thank you for your support and contribution!

Popular Discord Bot Projects
Popular Chatbot Projects
Popular Artificial Intelligence Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Discord Bot
Chatbot
Telegram Bot
Qqbot