{% extends 'base.html' %}{% from 'macros.html' import page_header with context %} {% block content %}{{ page_header(t('assistant'),t('assistant_hint')) }}

{{ t('question_hint') }}

{% for item in chats %}
{{ user.email[0]|upper }}{{ item.question }}
✧{% if item.response.mock %}{{ t('demo') }}{% endif %}

{{ item.response.text }}

{% if item.sources %}

{{ t('sources') }}

    {% for source in item.sources %}
  1. {{ source.translated_title or source.title }} ↗
  2. {% endfor %}
{% endif %}{{ day(item.created) }}
{% endfor %}
{% endblock %}