Seems that the new chat element can’t display markdown or html, so how can I use it to chat with an AI/LLM ?
Yes. You are right, it cannot display html or markdown. For LLM chat (add to your system prompt an instruction to the LLM that it must only output plain text and NO markdown or HTML whatsoever).
The chat bubles are simple “text area“ elements and all html/markdown are escaped by weweb by design. So for now, formatting is not possible. So try tweaking the output from your LLM.
Hi Alain, welcome back ![]()
We are about to release a new chat element specifically for LLMs, so stay tuned ![]()
Great, but being able to enable text as HTML is very useful for dealing with line breaks. Any release date for this fix?
Great news ! do you have a date ? what will this new chat be able to render : markdown ? html ? components/widgets ? We realy need to render components (nice visualisation, form, action button…), not only text. Regards
Yep, you can enable markdown, the chat has been released: AI Chat | Documentation