{% extends "ewoooc_base.html" %} {% block title %}PPT 視覺 QA 產線{% endblock %} {% block ewooo_content %} {% import "admin/_observability_labels.html" as obs_label %} {% set report_is_daily = report_type == 'daily' %}
PPT 視覺 QA 產線 · minicpm-v / AiderHeal / RAG 修法

PPT 視覺 QA 產線

這頁追蹤每份自動簡報是否通過視覺審核:檔案產出、minicpm-v 審核、Telegram 推送、RAG 修法建議與 AiderHeal 自動修產生器。

視覺模型
{{ '啟用' if vision_enabled else '停用' }} PPT_VISION_ENABLED
{{ report_month }} {{ selected_report_type.label }}
{{ files|length }} 檔案數
審核紀錄
{% if report_is_daily %}{{ audit_30d_stats.total if audit_30d_stats else '—' }}{% else %}—{% endif %} {{ report_is_daily and '僅 daily' or '切到 daily 可查看' }}
問題數
{% if report_is_daily %}{{ audit_30d_stats.total_issues if audit_30d_stats else '—' }}{% else %}—{% endif %} 視覺問題數
{% if error %}
{{ error }}
{% endif %}
上個月 {{ report_month }} {% if show_next_month %} 下個月 {% else %} {% endif %}
{% for opt in report_type_options %} {{ opt.label }} {% endfor %}
審核歷史

視覺審核歷史({{ report_month }})

{% if report_is_daily %} {% for r in audit_records %} {% else %} {% endfor %}
時間檔名結果問題信心耗時錯誤動作
{{ r.audited_at }} {{ r.pptx_filename }} {% if r.audit_status == 'passed' %}通過 {% elif r.audit_status == 'failed' %}有問題 {% elif r.audit_status == 'error' %}錯誤 {% elif r.audit_status == 'skipped' %}跳過 {% else %}{{ r.audit_status }}{% endif %} {{ r.issues_count }} {{ "%.2f"|format(r.confidence) }} {{ r.duration_ms }} {{ (r.error_msg or '')[:80] }} {% if r.audit_status in ('failed','error') %}{% endif %}
目前無 daily 審核歷史;請確認 {{ report_month }} 是否已完成 22:00 排程。
{% else %}
非每日型資料

只有「每日日報」會進入視覺審核流程。

目前此頁只顯示每日以外的簡報檔案;若要追蹤視覺結果,請切到「每日日報」。

切到每日日報
{% endif %}
已產檔案

{{ report_month }} {{ selected_report_type.label }}

{% for f in files %} {% else %} {% endfor %}
檔名KB修改時間狀態操作
{{ f.name }} {{ f.size_kb if f.size_kb is not none else '—' }} {{ f.mtime }} {% if f.source == 'database' %} {% if f.file_exists %} {% if f.is_valid_ppt %} 資料庫快取 + 檔案可預覽 {% else %} 資料庫快取 + 檔案損毀,建議重跑 {% endif %} {% else %} 資料庫快取(檔案未落盤) {% endif %} {% elif f.source == 'both' %} {% if f.is_valid_ppt %} 檔案 + 資料庫 {% else %} 檔案 + 資料庫,檔案損毀 {% endif %} {% else %} {% if f.is_valid_ppt %} 22:00 掃描落盤,可預覽 {% else %} 22:00 掃描落盤,檔案損毀 {% endif %} {% endif %} {% if f.file_error %}
{{ f.file_error }}
{% endif %}
{% if f.file_exists %} {% if f.is_valid_ppt %} 開啟 {% else %} 檔案不可預覽 {% endif %} 下載 {% else %} 本機暫無檔案,請先至來源回補 {% endif %}
本月無 {{ selected_report_type.label }} 簡報
{% if rag_fixes %}
RAG 修法建議

RAG 自動修法建議

{% for fix in rag_fixes %}
{{ fix.pptx_filename }}{{ fix.audited_at }}
{{ fix.error_msg }}
    {% for h in fix.hits %}
  • {{ obs_label.insight(h.insight_type) }} 相似度 {{ "%.2f"|format(h.similarity) }}{{ h.content }}{% if h.content|length >= 200 %}…{% endif %}
  • {% endfor %}
{% endfor %}
{% endif %} {% if not vision_enabled %}
為什麼這頁空?
{% elif files|length == 0 %}
本月無資料
{% endif %}

Ollama 優先策略 v5.0 — PPT 視覺 QA 產線

{% endblock %}