etkecc / baibot

🤖 A Matrix bot for using diffent capabilities (text-generation, text-to-speech, speech-to-text, image-generation, etc.) of AI / Large Language Models (OpenAI, Anthropic, etc.)
GNU Affero General Public License v3.0
48 stars 4 forks source link

The Bot will not respond to thread messages that do not start an AI conversation from the initial message #15

Closed mwnu closed 1 month ago

mwnu commented 2 months ago

Thank you to the etke.cc team for developing this excellent tool. Currently, it has replaced almost all the AI Bots I use on Matrix, except for one small feature request: In a thread message list that doesn't start with a direct conversation with the Bot, @ or !bai doesn't trigger the robot's response. At this time, conversation participants usually need AI to help with temporary tasks, such as translating messages or summarizing thread messages. I hope the Bot can respond to @ or !bai in any thread to participate in the conversation. It will reply in the thread, and in this thread, it can read the context. After that, unless it continues to be @ or !bai, it won't participate in subsequent conversations (of course, this is only limited to threads that don't start with direct conversations with the Bot).

spantaleev commented 1 month ago

I've also been considering adding this feature (I need it in a multi-user room), so thank you for bringing it up!


This new On-demand involvement feature is part of the 1.2.0 release.

On the feature's documentation section you can find some screenshots of how it looks and description of how it behaves (when a user is directly invoking the bot in a thread or reply chain, non-user messages are now intentionally considered as part of the context).