HTML Rendering (Embed Images & Videos)
This is how to have the chatbot widget show images and videos inside the chat responses.
Last updated
This is how to have the chatbot widget show images and videos inside the chat responses.
Last updated
The chat widget can now dynamically render HTML elements. This includes:
YouTube Videos: If a response includes a YouTube URL, the video will embed directly in the chat, allowing users to play it without leaving the widget.
Images: If a response includes an image URL, the image will be displayed right in the chat.
To enable this functionality, update your base system prompt with the following instruction:
Example of an image embed:
Example of a video embed: