- Updated the evaluation runner to support live dialogue printing and transcript saving in both Markdown and JSON formats. - Introduced new data classes for managing transcripts and their components, improving structure and readability. - Modified existing YAML case files to align with the new direct client mode and updated stage codes. - Added new test cases for the direct client mode, ensuring comprehensive coverage of user interactions.
104 lines
1.5 KiB
YAML
104 lines
1.5 KiB
YAML
name: direct_initial_stage
|
|
clientMode: direct
|
|
|
|
steps:
|
|
- input: 新对话
|
|
expect:
|
|
stageCode: "1001"
|
|
|
|
- input: 继续办理
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 十分钟之前两车追尾
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 没有
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 没有
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 十分钟之前
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 对
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 是的
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 对
|
|
expect:
|
|
stageCode: "2010"
|
|
|
|
- input: 【拍摄完成】
|
|
expect:
|
|
stageCode: "2011"
|
|
|
|
- input: 【拍摄完成】
|
|
expect:
|
|
stageCode: "2012"
|
|
|
|
- input: 【拍摄完成】
|
|
expect:
|
|
stageCode: "2013"
|
|
|
|
- input: 【拍摄完成】
|
|
expect:
|
|
stageCode: "2014"
|
|
|
|
- input: 【拍摄完成】
|
|
expect:
|
|
stageCode: "2015"
|
|
|
|
- input: 【拍摄完成】
|
|
expect:
|
|
stageCode: "2016"
|
|
|
|
- input: 没错
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 对
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 李四
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 对
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 对
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 移交完毕
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 对
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 刘云
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 对的
|
|
expect:
|
|
stageCode: "1002"
|
|
|
|
- input: 是
|
|
expect:
|
|
stageCode: "0000"
|