innightwolfsleep / text-generation-webui-telegram_bot

LLM telegram bot
MIT License
103 stars 20 forks source link

Upgrades? #131

Open Maki9009 opened 1 year ago

Maki9009 commented 1 year ago

Any chance of expanding into making this rather than telegram focused bot, also allow it to be a bot for like WhatsApp?

i was also wondering if i do add this bot to a group would it work? plus I'm not a fan of all the settings it has in the telegram chat everytime, any ability to hide it?

innightwolfsleep commented 1 year ago

Curently, there is enough work with telegram-only bot. If no one will do watsap and diskord extensions, perhaps I do.

This bot whould work in group, but each user still should have their own chat history for bot, their conversation will not be mixed... I think about improvments for chat.

You can off buttons with configs/telegram_user_rules.json

Maki9009 commented 1 year ago

For using it in a group situation.. wouldn't tagging it be the best idea? Anytime you want to talk to it?

innightwolfsleep commented 1 year ago

Key question - how to percept users in group? Usualy, conversation with llm - is 1-to-1 conversation. We set names user1(bot_name) and user2(You) If you talk to bot in private chat - it is okay. But in group... we need to made 1-to-many conversation and think about how to determine users in chat... This is not a problem indeed, but it is need a time.

Curently, this is one of short-time goals.

Maki9009 commented 1 year ago

Curently, there is enough work with telegram-only bot. If no one will do watsab and diskerd extensions, perhaps I do.

This bot whould work in group, but each user still should have their own chat history for bot, their conversation will not be mixed... I think about improvments for chat.

You can off buttons with configs/telegram_user_rules.json

ngl... the way to turn off the buttons is a bit unorganized.. or just not easy to read, anyways we can have an all off mode for each type of chat, cuz reading this on a text.. I feel like ill do a mistake without even realizing it

innightwolfsleep commented 1 year ago

example at #132

innightwolfsleep commented 1 year ago

136 Added option for customizing usernames in group chats. Thist should help to interact in group chat with multiply users.

In config.json just: Set user_name_template = USERNAME LASTNAME And add "\n" to stopping_strings