matrixgpt / matrix-chatgpt-bot

Talk to ChatGPT via any Matrix client!
GNU Affero General Public License v3.0
235 stars 63 forks source link

Resetting a room's context? #210

Open ThellraAK opened 1 year ago

ThellraAK commented 1 year ago

I've been fussing around with the prompts, and in a private chat it works as intended, however in a room where the bot is at it seems to be doing a really good job of keeping the old context and instructions.

Is there a way to reset the context of a room/chat?

ACiDGRiM commented 7 months ago

I have this same problem, even deleting previous comments it will continue to reply with the deleted messages in context. This becomes a problem when a question "breaks" the bot and it starts outputting raw training data. Every response from then on drops the system prompt in it's behavior. It seems like the bot is caching the messages, when I think it should rescan the room for every reply to take into consideration deleted messages.