{% extends "base.html" %} {% block title %}审核智能体{% endblock %} {% block content %}

会话历史

左侧保留历史会话,标题默认使用解析后的产品名称。

    {% for item in conversations %}
  • {{ item.title }}
    产品:{{ item.product_name|default:"未识别" }}
    批次:{{ item.batch_id }}
  • {% empty %}
  • 暂无会话,请先从资料包页面导入资料。
  • {% endfor %}

对话区与节点导航

中间区域承接用户问题、Agent 回答和节点式结果摘要。

{% if conversation %}
{% for node in node_results %} {{ node.label }} / {{ node.status }} {% endfor %}
{% csrf_token %}
{{ form.message.label_tag }} {{ form.message }} {% if form.message.errors %}

{{ form.message.errors|join:" " }}

{% endif %}
{{ form.document_ids.label_tag }}
{% for checkbox in form.document_ids %} {% empty %}
当前资料包还没有可选文档。
{% endfor %}
{% if result %}
Agent 回答
{{ result.answer|linebreaksbr }}
{% endif %} {% else %}
暂无会话,请先导入资料包。
{% endif %}

节点式结果

{% if result and result.structured_output %} {% for key, value in result.structured_output.items %} {% endfor %}
{{ key }}
{{ value }}
{% else %}
执行任务后,这里会展示结构化节点结果。
{% endif %}

上传区

右侧保留资料包上传入口和当前会话的资料上下文。

{% if batch %}
  • 当前资料包
    批次:{{ batch.batch_id }}
    文件数:{{ batch.file_count }}
    页数:{{ batch.page_count }}
    导入状态:{{ batch.get_import_status_display_text }}
{% csrf_token %}
{{ upload_form.files.label_tag }} {{ upload_form.files }}
返回资料包
{% else %}
暂无绑定资料包。
{% endif %}

动态信息卡

  • 最高风险等级
    {{ workspace_summary.highest_risk_level }}
  • 是否允许正式导出
    {{ workspace_summary.export_allowed }}
  • 通知状态
    {{ workspace_summary.notify_status }}
  • 导出状态
    {{ workspace_summary.export_status }}
  • 导出下载地址
    {{ workspace_summary.download_url|default:"-" }}
  • 当前会话围绕 `conversation_id / batch_id / product_name` 串联。
  • {% if audit_log %}
  • 查看本次处理历史
  • {% endif %}
{% endblock %}