Similarity Scores
{% if threshold %}
Threshold: {{ threshold }}
{% endif %}
{% for score in scores %} {% set pct = (score * 100)|int %} {% set threshold_pct = (threshold * 100)|int if threshold else 0 %} {% set above = score >= threshold if threshold else true %}
#{{ loop.index }}
{% if threshold_pct > 0 %}
{% endif %}
{{ "%.2f"|format(score) }}
{% if above %} RETURNED {% else %} FILTERED {% endif %}
{% endfor %}