fix(workflow): align non-motor accident extraction and evaluations
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# 必须独立确认完整时间;补充在场信息不算确认,更正后重新确认。
|
||||
name: direct_time_confirmation_correction
|
||||
clientMode: direct
|
||||
|
||||
steps:
|
||||
- input: 新对话
|
||||
expect:
|
||||
stageCode: "1001"
|
||||
|
||||
- input: 继续办理
|
||||
expect:
|
||||
stageCode: "1002"
|
||||
|
||||
- input: 十分钟前两辆汽车追尾,没有人受伤,没有涉及非机动车或行人。
|
||||
expect:
|
||||
stageCode: "1002"
|
||||
replyMatches: "我记录的时间是.*年.*月.*日.*点.*分.*这个时间对吗"
|
||||
replyNotMatches: "现场|拍照"
|
||||
|
||||
- input: 我还在事故现场。
|
||||
expect:
|
||||
stageCode: "1002"
|
||||
form: {is_on_scene: true}
|
||||
replyMatches: "我记录的时间是.*年.*月.*日.*点.*分.*这个时间对吗"
|
||||
|
||||
- input: 不对,事故时间是2025年1月1日8点30分。
|
||||
expect:
|
||||
stageCode: "1002"
|
||||
form: {accident_time: "2025年1月1日8点30分"}
|
||||
replyMatches: "我记录的时间是2025年0?1月0?1日0?8点30分.*这个时间对吗"
|
||||
replyNotMatches: "现场|拍照"
|
||||
|
||||
- input: 对,就是这个时间。
|
||||
expect:
|
||||
stageCode: "2010"
|
||||
form: {accident_time: "2025年1月1日8点30分", is_on_scene: true}
|
||||
replyNotMatches: "这个时间对吗|还在.*现场"
|
||||
Reference in New Issue
Block a user