Update project and configurations
This commit is contained in:
95
intelligent_cabin/config/voice_aliases.yml
Normal file
95
intelligent_cabin/config/voice_aliases.yml
Normal file
@@ -0,0 +1,95 @@
|
||||
# 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:
|
||||
- 设置拉力
|
||||
- 调拉力
|
||||
- 修改拉力
|
||||
Reference in New Issue
Block a user