{% block head %} {% endblock %} {% block content %}
{# Giskard logo #}

RAG Evaluation Toolkit

{% for component_name, component in components.items() %}
{{component_name}}
{{(component.score*100)|round(2)}}% {{component.description}}
{{(component.score*100)|round(2)}}%
{% endfor %}
Overall Correctness Score
{{(correctness*100)|int}}%
RECOMMENDATION
{{recommendation}}
CORRECTNESS BY TOPIC
{{topic_correctness_script | safe}} {{topic_correctness_div | safe}}
KNOWLEDGE BASE OVERVIEW
{{knowledge_script | safe}} {{knowledge_div | safe}}
SELECTED METRICS
{% if additional_metrics %}
{# Tab links #}
Selected metrics
{% for tab, _ in metric_histograms.items() %} {% endfor %}
{# Tab content #} {% for tab, content in metric_histograms.items() %}
{% for split_value, metrics in content.items()%}
{% if split_value != "Overall" %}

{{split_value}}

{% endif %}
{% for metric, hist in metrics.items() %}
{{hist.script | safe}} {{hist.div | safe}}
{% endfor %}
{% endfor %}
{% endfor %}
{% endif %}
{% endblock %} {% block javascript %} {% endblock %}