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

RAG Evaluation Toolkit

{% if knowledge_script is not none %}

Knowledge base overview

{{knowledge_script | safe}} {{knowledge_div | safe}}
{% endif %}

Components Analysis

{% for component_name, component in components.items() %} {% endfor %}
{{component_name}} {{(component.score*100)|round(2)}}% {{component.description}} {{(component.score*100)|round(2)}}%

Each component is scored based on the correctness of the agent on different types of questions. Each score grades a component from 0 to 100%.
Low scores help you identify weaknesses of your RAG and what components need improvement.

⚠️ Recommendation

{{recommendation}}

Correctness

Overall Correctness Score: {{(correctness*100)|round(2)}}%
{{topic_correctness_script | safe}} {{topic_correctness_div | safe}}
{% 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 %}