jamesmstone/baibot
๐ค A Matrix bot for using different capabilities (text-generation, text-to-speech, speech-to-text, image-generation, etc.) of AI / Large Language Models (OpenAI, Anthropic, etc.)
baibot
๐ค baibot is an AI (Large Language Model) bot for Matrix built by etke.cc (managed Matrix servers).
The name is pronounced 'bye'-bot and is a play on AI, referencing the fictional character ๐ง๐ฌ Bai Ganyo.
It's designed as a more private and featureful alternative to matrix-chatgpt-bot.
It's influenced by chaz, but does not use the AIChat CLI tool and instead does everything in-process, without forking.
๐ Features
-
๐จ Encourages provider choice (Anthropic, Groq, LocalAI, OpenAI and โ๏ธ many more) as well as mixing & matching models:
-
Supports different use purposes (depending on the โ๏ธ provider & model):
- ๐ฌ text-generation: communicating with you via text (though certain models may "see" images as well)
- ๐ฆป speech-to-text: turning your voice messages into text
- ๐ฃ๏ธ text-to-speech: turning bot or users text messages into voice messages
- ๐๏ธ image-generation: creating and editing images based on instructions
-
๐ช Supports seamless voice interaction (turning user voice messages into text, answering in text, then turning that text back into voice)
-
๐ฆป Supports transcribe-only mode (turning user voice messages into text, without doing text-generation)
-
๐ฃ๏ธ Supports text-to-speech-only mode (turning user text messages into voice, without doing text-generation)
-
๐ Supports encryption for Matrix communication and Account-Data-stored configuration
-
โป๏ธ Supports context-management handling on some models (automatically adjusting the message history length, etc.)
-
๐ ๏ธ Allows customizing much of the bot's configuration at runtime (using commands sent via chat)
-
๐ฅ Actively maintained by the team at etke.cc
๐ผ๏ธ Screenshots
You can find more screenshots on the ๐ Features and other ๐ Documentation pages, as well as in the docs/screenshots directory.
๐ Getting Started
๐ฒ For a quick experiment, you can refer to the ๐งโ๐ป development documentation which contains information on how to build and run the bot (and its various dependency services) locally.
For a real installation, see the ๐ Installation documentation which contains information on ๐ Running in a container and ๐ฅ๏ธ๏ธ๏ธ๏ธ๏ธ Running a binary.
๐ Documentation
See the bot's ๐ documentation for more information on how to use and configure the bot.
๐ป Development
See the bot's ๐งโ๐ป development documentation for more information on how to develop on the bot.
๐ Changes
This bot evolves over time, sometimes with backward-incompatible changes.
When updating the bot, refer to the changelog to catch up with what's new.
๐ Support
-
Matrix room: #baibot:etke.cc
-
GitHub issues: etkecc/baibot/issues
