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

96 lines
1.8 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.
# voice_aliases.yml
# 语音点击匹配词表 · 前端阶段 0 / 阶段 1 使用
#
# 说明:
# - affirm_words / deny_words / cancel_words 用于阶段 0停止词和阶段 1a等待确认状态的 affirm/deny
# - intent_aliases 用于各 Artifact 的 voiceActions 语音别名
# - 部署到不同设备时只需替换本文件,无需改动代码
#
# TS 构建时由脚本 scripts/generate-voice-aliases.mjs 读取本文件,
# 自动生成 src/lib/nlu/voice-aliases.gen.ts
affirm_words:
- 确认
- 好的
- 执行
-
-
- 继续
-
- 可以
- 确定
- "ok"
- "yes"
deny_words:
- 不行
- 不要
-
-
- "no"
cancel_words:
- 取消
- 算了
- 不用了
- 停止
- 中止
- 放弃
# ─── 工控设备别名(按 intent_id 分组)───────────────────────────────────────
# 这里的 key 与 intelligent_cabin 里 IntentDefinition.intent_id 一一对应。
# 前端 Artifact 创建时会读取这些别名,填入 ArtifactAction.voiceAliases。
intent_aliases:
wirecut_start_run:
- 开始
- 启动
- 加工
- 跑起来
- 开始加工
- 启动加工
wirecut_stop_run:
-
- 停机
- 急停
- 停止
- 停止加工
wirecut_pause_run:
- 暂停
- 变频暂停
wirecut_resume_run:
- 继续
- 恢复
- 继续加工
wirecut_home_all:
- 回零
- 归零
- 回原点
- 全轴回零
wirecut_home_x:
- X轴回零
- x回零
wirecut_home_y:
- Y轴回零
- y回零
wirecut_set_speed:
- 设置速度
- 调速度
- 修改速度
wirecut_set_voltage:
- 设置电压
- 调电压
- 修改电压
wirecut_set_tension:
- 设置拉力
- 调拉力
- 修改拉力