{{ error }}
{% endif %} {% if notice %}{{ notice }}
{% endif %}出库只需要输入数量,系统会自动扣减库存并记录统计。
当前宽松度: {{ fuzziness_profiles[fuzziness].label }}(严格更精准,宽松更容易召回)
搜索解析
模式: {{ 'AI解析' if search_plan.mode == 'ai' else '规则解析' }}
{{ search_plan.summary }}
{% if search_parse_notice %}{{ search_parse_notice }}
{% endif %}
料号
{{ ' / '.join(search_plan.field_map.part_no) if search_plan.field_map.part_no else '-' }}
名称
{{ ' / '.join(search_plan.field_map.name) if search_plan.field_map.name else '-' }}
规格
{{ ' / '.join(search_plan.field_map.specification) if search_plan.field_map.specification else '-' }}
备注
{{ ' / '.join(search_plan.field_map.note) if search_plan.field_map.note else '-' }}
搜索结果
| 料号 | 名称 | 规格 | 库存 | 位置 | 匹配说明 | 跳转 | 出库 |
|---|---|---|---|---|---|---|---|
| {{ c.part_no }} | {{ c.name }} | {{ c.specification or '-' }} | {{ c.quantity }} | {{ row.box_name }} / {{ row.slot_code }} |
{{ row.match_summary }}
综合分: {{ '%.1f'|format(row.match_score) }}
{% if row.matched_terms %}
{% endif %}
{% if row.fuzzy_matches %}
模糊命中详情
|
进入位置 | |
| {% if keyword %}未找到匹配元件{% else %}先输入关键字进行搜索{% endif %} | |||||||
AI 搜索工作过程
- 收到自然语言输入: {{ search_trace.query }}
- 规则拆分候选字段,生成 fallback 计划
- {% if search_trace.used_ai %}调用 AI 解析并返回字段映射{% else %}未调用 AI(参数未配置){% endif %}
- {% if search_trace.used_fallback %}最终回退规则计划{% else %}最终采用 AI 计划{% endif %}
- 对每条库存记录执行多字段模糊评分并排序
- 当前宽松度: {{ search_trace.fuzziness_label if search_trace.fuzziness_label else '-' }}
AI 错误: {{ search_trace.ai_error }}
{% endif %}最终计划
{{ search_plan|tojson(indent=2) }}
规则兜底计划
{{ search_trace.fallback_plan|tojson(indent=2) }}
{% if search_trace.ai_raw %}
AI 原始返回
{{ search_trace.ai_raw }}
{% endif %}
{% else %}
当前没有可展示的过程数据。
{% endif %}