4cfad5ae0f
- 全新ui - 全面优化websocket逻辑,提高数字人和ui连接的稳定性及资源开销 - 全面优化唤醒逻辑,提供稳定的普通唤醒模式和前置词唤醒模式 - 优化拾音质量,支持多声道麦克风拾音 - 优化自动播放服务器的对接机制,提供稳定和兼容旧版ue工程的对接模式 - 数字人接口输出机器人表情,以适应新fay ui及单片机的数字人表情输出 - 使用更高级的音频时长计算方式,可以更精准控制音频播放完成后的逻辑 - 修复点击关闭按钮会导致程序退出的bug - 修复没有麦克风的设备开启麦克风会出错的问题 - 为服务器主机地址提供配置项,以方便服务器部署
92 lines
1.6 KiB
YAML
92 lines
1.6 KiB
YAML
#### This file contains tests to evaluate that your bot behaves as expected.
|
|
#### If you want to learn more, please see the docs: https://rasa.com/docs/rasa/testing-your-assistant
|
|
|
|
stories:
|
|
- story: happy path 1
|
|
steps:
|
|
- user: |
|
|
hello there!
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
amazing
|
|
intent: mood_great
|
|
- action: utter_happy
|
|
|
|
- story: happy path 2
|
|
steps:
|
|
- user: |
|
|
hello there!
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
amazing
|
|
intent: mood_great
|
|
- action: utter_happy
|
|
- user: |
|
|
bye-bye!
|
|
intent: goodbye
|
|
- action: utter_goodbye
|
|
|
|
- story: sad path 1
|
|
steps:
|
|
- user: |
|
|
hello
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
not good
|
|
intent: mood_unhappy
|
|
- action: utter_cheer_up
|
|
- action: utter_did_that_help
|
|
- user: |
|
|
yes
|
|
intent: affirm
|
|
- action: utter_happy
|
|
|
|
- story: sad path 2
|
|
steps:
|
|
- user: |
|
|
hello
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
not good
|
|
intent: mood_unhappy
|
|
- action: utter_cheer_up
|
|
- action: utter_did_that_help
|
|
- user: |
|
|
not really
|
|
intent: deny
|
|
- action: utter_goodbye
|
|
|
|
- story: sad path 3
|
|
steps:
|
|
- user: |
|
|
hi
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
very terrible
|
|
intent: mood_unhappy
|
|
- action: utter_cheer_up
|
|
- action: utter_did_that_help
|
|
- user: |
|
|
no
|
|
intent: deny
|
|
- action: utter_goodbye
|
|
|
|
- story: say goodbye
|
|
steps:
|
|
- user: |
|
|
bye-bye!
|
|
intent: goodbye
|
|
- action: utter_goodbye
|
|
|
|
- story: bot challenge
|
|
steps:
|
|
- user: |
|
|
are you a bot?
|
|
intent: bot_challenge
|
|
- action: utter_iamabot
|