chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Enable output in html while blocking it from user side and keeping unsafe_allow_html:false

Open hagrebi opened this issue 1 year ago • 3 comments
trafficstars

It's obvious that unsafe_allow_html should always be set to false to disable script injections on user side, however LLM and system responses need often to be displayed in html format. Is there a way to authorize only system and LLM responses to be displayed in html? thanks a lot for considering this.

hagrebi avatar Oct 03 '24 08:10 hagrebi