๐Ÿงน Output Sanitization Filter

This filter is intended for models that often output unwanted

characters or terms at the beginning of replies. I have noticed this

especially with Beyonder V3 and related models. They sometimes output

a `":"` or `"Name:"` in front of replies. For example, let's say that the system prompt is:

"You are Quinn, a helpful assistant."

In this case, a Beyonder V3 model will often reply with "Quinn:" as its first word.

There is one setting:

For the above example, the setting textbox should look like this:

:,Quinn:

This will remove a single colon from the start of replies, and 'Quinn:' from the start of replies.

Other Notes

Terms are removed in the order defined by the setting. The filter loops through each term and attempts to remove it from the start of the LLM's reply.

โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—โ€—

โคด๏ธ [/projects/open-webui-filters] ๐Ÿ  Home