Files
ai-device/intelligent_cabin/config/context_rewrite.yml
2026-06-11 16:28:00 +08:00

77 lines
2.5 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 本地上下文改写引擎配置
# 用于多轮相对调节的短句改写,如 "再快一点" → "速度设为 85 mm/min"
# 每个 param_context 对应一类可以相对调节的参数。
# 部署到不同设备时,只需修改本文件(或切换 AGENT_CONTEXT_REWRITE_CONFIG_PATH
param_contexts:
# ────────────────────────────────────────────────
# 加工速度
# ────────────────────────────────────────────────
- intent_ids:
- wirecut_set_speed
slot_name: speed
unit: "mm/min"
step: 5
min_value: 1
max_value: 9999
default_value: 80
up_phrases:
- 再快一点
- 快一点
- 加快
- 速度调高
- 速度大一点
down_phrases:
- 再慢一点
- 慢一点
- 减慢
- 速度调低
- 速度小一点
rewrite_template: "速度设为 {value} mm/min"
# ────────────────────────────────────────────────
# 放电电压(放电码)
# ────────────────────────────────────────────────
- intent_ids:
- wirecut_set_voltage
slot_name: voltage
unit: ""
step: 5
min_value: 0
max_value: 200
default_value: 90
up_phrases:
- 电压高一点
- 电压调高
- 放电码高一点
- 放电码大一点
down_phrases:
- 电压低一点
- 电压调低
- 放电码低一点
- 放电码小一点
rewrite_template: "电压设为 {value}"
# ────────────────────────────────────────────────
# 放电电流(跟踪值)
# ────────────────────────────────────────────────
- intent_ids:
- wirecut_set_current
slot_name: current
unit: ""
step: 1
min_value: 0
max_value: 30
default_value: 5
up_phrases:
- 电流大一点
- 电流调高
- 跟踪值高一点
- 跟踪值大一点
down_phrases:
- 电流小一点
- 电流调低
- 跟踪值低一点
- 跟踪值小一点
rewrite_template: "电流设为 {value}"