mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
feat: % chance prompt insertion #5887
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @frenzybiscuit on GitHub (Jul 27, 2025).
Check Existing Issues
Problem Description
Currently, I can't have a random event happen based on a percentage in the Default Prompt Suggestions option.
Desired Solution you'd like
Have a % chance prompt insertion in the chat.
For example, this should only happen sporadically but it's actually happening three replies into the chat.
Alternatives Considered
No response
Additional Context
No response
@Classic298 commented on GitHub (Jul 27, 2025):
you could build a filter that does this.
@frenzybiscuit commented on GitHub (Jul 27, 2025):
Got any guides for that? I've never touched filters.
I also wouldn't want it to be on every chat, just this specific prompt.
@Classic298 commented on GitHub (Jul 27, 2025):
you can build filters which are togglable - for tutorials and guides check the docs, there are extensive infos and also check the http://openwebui.com/filters page for some templates
@frenzybiscuit commented on GitHub (Jul 27, 2025):
The problem is I dont want my users having access to the filters section, and therefore they wouldnt be able to toggle them.
Unless I'm wrong about how filters work, anyway.
@Classic298 commented on GitHub (Jul 27, 2025):
You can still allow them to toggle filters without having to give them access to the admin panel.
Please read the docs. There are multiple tutorials there for exactly this usecase. PLEASE read the docs as i said.