{% extends 'base.html' %} {% block title %}Curate QA Pairs{% endblock %} {% block content %}

Curate QA Pairs

Curate and improve existing question-answer pairs using the {{ provider }} provider.

{{ form.csrf_token }}
{% if json_files %}
{{ form.input_file(class="form-control", placeholder="Path to input JSON file") }}
{% else %} {{ form.input_file(class="form-control", placeholder="Path to input JSON file") }} {% endif %} {% if form.input_file.errors %}
{% for error in form.input_file.errors %} {{ error }} {% endfor %}
{% endif %}
Enter the path to the JSON file containing QA pairs you want to curate.
{{ form.num_pairs(class="form-control", placeholder="Number of QA pairs to keep (0 for all)") }} {% if form.num_pairs.errors %}
{% for error in form.num_pairs.errors %} {{ error }} {% endfor %}
{% endif %}
Enter the number of QA pairs you want to keep after curation (0 to keep all pairs).

{{ form.model(class="form-control", placeholder="Leave blank for default model") }}
Specify a model name to use instead of the default.
{{ form.api_base(class="form-control", placeholder="Leave blank for default API URL") }}
Specify a custom API base URL.
{{ form.submit(class="btn btn-success") }}
{% endblock %} {% block scripts %} {% endblock %}