{% if not history %}
{% endif %} {% for chat in history[:-1] %} {% if chat.type == 'human' %}
{% elif chat.type == 'ai' %}
{% endif %} {% endfor %} {% if answer %}
{% endif %}
Insurance Assistant (RAG)
Ask a question about Etiqa Takaful (Motor & Car policies).
{{ chat.content if chat.content is string else chat.content.content }}
MultiDom RAG
{{ answer_text|safe }}
Thinking... view source & thoughts...
{% if source %}
{% endif %} {% if thoughts %}
{% endif %} {% if validation %}
{% endif %}
Source:
{{ source }}
View Agent Thoughts (ReAct Process):
{{ thoughts | safe }}
Validation:
{{ validation[1] }}
MultiDom RAG
{{ answer|safe }}