{% extends 'bootstrap_base.html' %} {% from 'bootstrap5/form.html' import render_field %} {% block header %}
{% if task_index == 0 %}

Example for Execution

{% else %}

Execution - Task {{task_index | safe}} / {{task_total | safe}}

{% endif %}

In the execution stage, the plan generated in the planning stage will be executed step by step. In our study, we provide a conversational interface to show you the process. Only after the execution is done, you can move forward to next task. Please click button 'Start' to start the execution.

{% endblock %} {% block content %}

Task Description:

{{ tp_query | safe}}

{% macro _hz_form_wrap(horizontal_columns, form_type, add_group=False, required=False) %} {% if form_type == "horizontal" %} {% if add_group %}
{% endif %}
{% endif %} {{ caller() }} {% endmacro %} {% macro render_radio_field(field, form_type="basic", horizontal_columns=('lg', 2, 10), button_map={}, button_style='', button_size='') %} {% if field.flags.required and not required in kwargs %} {% set kwargs = dict(required=True, **kwargs) %} {% endif %} {% set extra_classes = ' ' + field.render_kw.class if field.render_kw.class else '' %}
{{ field.label(class="form-control-label")|safe }}
{#% call _hz_form_wrap(horizontal_columns, form_type, True, required=required) %#} {% for item in field -%}
{{ item(class_="form-check-input")|safe }} {{ item.label(class="form-check-label", for=item.id)|safe }}
{% endfor %} {#% endcall %#} {%- if field.errors %} {%- for error in field.errors %}
{{ error }}
{%- endfor %} {%- elif field.description -%} {{ field.description|safe }} {%- endif %}
{% endmacro %}
{{form.hidden_tag()}}

Trust --- Indicate your perceptions:

{{ render_radio_field(form.correctness) }}

Confidence --- Indicate your perceptions:

{{ render_radio_field(form.confidence) }}
{% endblock %}