Back to Promptfoo

{{ config.description | default('Evaluation Results') | escape }}

src/tableOutput.html

0.121.131.3 KB
Original Source

Promptfoo

{{ config.description | default('Evaluation Results') | escape }}

  • Exported {{ metadata.exportedAt | default('unknown') | escape }} {% if metadata.evaluationCreatedAt %} - Evaluated {{ metadata.evaluationCreatedAt | escape }} {% endif %} {% if metadata.author %} - Author {{ metadata.author | escape }} {% endif %}

Total Results

{{ report.totalResults }}

Pass Rate

{{ report.passRateDisplay | escape }}

Passed

{{ report.successes }}

Failed

{{ report.failures }}

Errors

{{ report.errors }}

Prompts

{{ report.promptCount }}

Evaluation results

Search

StatusAll resultsFully passing rowsRows with failuresRows with errors

{{ report.totalRows }} of {{ report.totalRows }} rows shown

Promptfoo evaluation results table | {% for header in table[0] %} {{ header | escape }} | {% endfor %} | --- | {% for row in table.slice(1) %} | {% for cell in row %} {% if cell.kind == 'output' %}

{{ cell.statusLabel | escape }}Score {{ cell.score | escape }} {% for namedScore in cell.namedScores %} {{ namedScore.name | escape }} {{ namedScore.value | escape }} {% endfor %}

Output {{ cell.text | escape }}

{% if cell.reason %} Reason

{{ cell.reason | escape }}

{% endif %} View detail

| {% else %}
{{ cell.text | escape }} | {% endif %} {% endfor %} {% endfor %}

No rows match the current search and status filters.