Enhance evaluation runner with transcript handling and new case formats
- 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.
This commit is contained in:
@@ -5,3 +5,63 @@ steps:
|
||||
- input: hi
|
||||
expect:
|
||||
stageCode: browser_addon.1001
|
||||
|
||||
- input: 继续办理
|
||||
expect:
|
||||
stageCode: browser_addon.1002
|
||||
|
||||
- input: 十分钟之前两车追尾
|
||||
expect:
|
||||
stageCode: browser_addon.1002
|
||||
|
||||
- input: 没有
|
||||
expect:
|
||||
stageCode: browser_addon.1002
|
||||
|
||||
- input: 没有
|
||||
expect:
|
||||
stageCode: browser_addon.1002
|
||||
|
||||
- input: 十分钟之前
|
||||
expect:
|
||||
stageCode: browser_addon.1002
|
||||
|
||||
- input: 对
|
||||
expect:
|
||||
stageCode: browser_addon.1002
|
||||
|
||||
- input: 是的
|
||||
expect:
|
||||
stageCode: browser_addon.1002
|
||||
|
||||
- input: 对
|
||||
expect:
|
||||
stageCode: browser_addon.2010
|
||||
|
||||
- input: 【拍摄完成】
|
||||
expect:
|
||||
stageCode: browser_addon.2011
|
||||
|
||||
- input: 【拍摄完成】
|
||||
expect:
|
||||
stageCode: browser_addon.2012
|
||||
|
||||
- input: 【拍摄完成】
|
||||
expect:
|
||||
stageCode: browser_addon.2013
|
||||
|
||||
- input: 【拍摄完成】
|
||||
expect:
|
||||
stageCode: browser_addon.2014
|
||||
|
||||
- input: 【拍摄完成】
|
||||
expect:
|
||||
stageCode: browser_addon.2015
|
||||
|
||||
- input: 【拍摄完成】
|
||||
expect:
|
||||
stageCode: browser_addon.2016
|
||||
|
||||
- input: 没错
|
||||
expect:
|
||||
stageCode: browser_addon.0000
|
||||
Reference in New Issue
Block a user