feat(shipping-notice): 添加订单抽取功能,支持异步运行和管理,优化相关数据模型和处理逻辑
This commit is contained in:
1 parent
34d489a2d1
commit
ce26d6d0c4
144 files changed
+12241
-4233
No files matched your search
@@ -152,9 +152,8 @@ def build_dify_chat_inputs(
|
||||
locale=locale,
|
||||
scope="task_run" if trigger_source == "backend_orchestrator" else "chat_turn",
|
||||
run_purpose=(
|
||||
"order_extraction"
|
||||
if trigger_source == "backend_orchestrator"
|
||||
else ("temporary_inventory" if temporary_inventory_asset_no else ("order_extraction" if intake_nos else "chat_turn"))
|
||||
"chat_turn" if trigger_source == "backend_orchestrator"
|
||||
else ("temporary_inventory" if temporary_inventory_asset_no else "chat_turn")
|
||||
),
|
||||
intake_nos=intake_nos,
|
||||
capability=capability or ("temporary_inventory" if temporary_inventory_asset_no else None),
|
||||
|
||||
Reference in new issue
Block a user