{% extends 'base.html' %} {% block content %}
Document AI

Enter a query and get an answer based on the stored context.

{% if answer %}
Answer:
{{ answer }}
{% endif %}
Previous Queries
{% for question, answer in history %}
Query: {{ question }}

Answer: {{ answer }}
{% endfor %}
{% endblock %}