Files

46 lines
1.5 KiB
YAML
Raw Permalink Normal View History

# 电动自行车撞固定物:按本组口径机动车数量为0,完成时间确认及现场采集后进入0003,不追问汽车数量。
name: direct_non_motor_vehicle_electric_bicycle
clientMode: direct
steps:
- input: "【开始】"
expect:
stageCode: "1001"
- input: "继续办理"
expect:
stageCode: "1002"
- input: "我骑的是非机动车,电动自行车,撞到了路边的石墩子上。"
expect:
stageCode: "1002"
form: {"has_non_motor_vehicle_hit":true,"vehicle_count":0}
replyMatches: "(有没有|是否).*受伤"
- input: "没有人员伤亡。"
expect:
stageCode: "1002"
form: {"has_injury":false,"vehicle_count":0}
replyMatches: "(什么时候|几点|事故.*时间)"
replyNotMatches: "(几辆|数量|是否.*非机动车|有没有.*非机动车)"
- input: "十分钟前发生的。"
expect:
stageCode: "1002"
form: {"vehicle_count":0}
replyMatches: "我记录的时间是.*年.*月.*日.*点.*分.*这个时间对吗"
- input: "对的。"
expect:
stageCode: "1002"
form: {"vehicle_count":0}
replyMatches: "现场"
replyNotMatches: "几辆|数量|这个时间对吗"
- input: "我还在事故现场。"
expect:
stageCode: "0003"
form: {"has_non_motor_vehicle_hit":true,"has_injury":false,"is_on_scene":true,"vehicle_count":0}
replyMatches: "转接.*(人工|警员)|转.*人工"
replyNotMatches: "几辆|数量|这个时间对吗"