SillyTavern icon indicating copy to clipboard operation
SillyTavern copied to clipboard

[Feature Request] Format/cleaninig option to clean output received from backends with local models.

Open valden80 opened this issue 2 years ago • 2 comments

Have you searched for similar requests? Yes

Is your feature request related to a problem? Please describe. As I found, surprisingly many local models (most good ones otherwise) have specific behavior: they often adding double formatting symbols to the end of sentences. The cases with **, "", '' - most annoying of them.

Describe the solution you'd like Option with checkbox, to turn on globally filtering and replacing double symbols received output from backend's in their outputs: ** -> *, "" -> ", '' -> '

Describe alternatives you've considered Regexp extension, so user can setup what replace what he like by himself.

Additional context None.

valden80 avatar Jun 11 '23 09:06 valden80

Duplicate (of your own issue) https://github.com/SillyTavern/SillyTavern/issues/429

Cohee1207 avatar Jun 11 '23 09:06 Cohee1207

Yes, but earlier I don't seen, that the more primitive solution then full regexp extension possible - with replacing only three specific cases. Can you replace previous issue with this?

valden80 avatar Jun 11 '23 09:06 valden80

while i dislike the concept of micromanaging/formatting strings produced by specific models, this could be handled in a similar way to the Instruct dinkus extension? @Cohee1207

RossAscends avatar Jun 15 '23 13:06 RossAscends

Regexp extension is implemented, it's covering this issue, thanks.

valden80 avatar Jul 07 '23 17:07 valden80