Update project and configurations
This commit is contained in:
34
intelligent_cabin/config/workflows.yml
Normal file
34
intelligent_cabin/config/workflows.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"templates": [
|
||||
{
|
||||
"template_id": "window_then_ac_sequence",
|
||||
"workflow_type": "sequence",
|
||||
"intent_sequence": ["cabin_window_open", "cabin_set_ac"],
|
||||
"trigger_keywords": ["车窗", "空调"],
|
||||
"step_overrides": [
|
||||
{},
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "query_then_cancel_if_pending",
|
||||
"workflow_type": "conditional",
|
||||
"intent_sequence": ["cs_query_order", "cs_cancel_order"],
|
||||
"trigger_keywords": ["订单"],
|
||||
"step_overrides": [
|
||||
{},
|
||||
{
|
||||
"depends_on": [1],
|
||||
"condition": {
|
||||
"source_step": 1,
|
||||
"field": "order_status",
|
||||
"operator": "equals",
|
||||
"value": "pending_shipment",
|
||||
"description": "仅在订单未发货时取消"
|
||||
},
|
||||
"requires_confirmation": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user