refactor(server): user_agent/steward/ocr 等服务重构并适配关联任务
- user_agent 拆分 application/locations/knowledge/response/review 四个子模块,接入申请位置语义与关联草稿分支 - steward planner/runtime/slot/plan_builder 决策链路重构,travel_reimbursement_calculator/orchestrator_expense_query 适配 - ocr/document_preview/document_intelligence/receipt_folder 复用预览与资产缓存,expense_claim_draft_flow/application_handoff 适配 - pyproject.toml 新增依赖,paddleocr bootstrap 脚本与 server_start.sh 调整 - 更新差旅/交通/通信等财务规则表,同步 document_intelligence/ocr/receipt_folder/user_agent 等测试
This commit is contained in:
@@ -214,7 +214,7 @@ class OntologyValidationMixin:
|
||||
labels = [self._display_slot_label(item) for item in missing_slots[:4]]
|
||||
if not labels:
|
||||
return "请补充更多上下文后再继续。"
|
||||
return f"请补充{'、'.join(labels)},我再继续帮你解析和处理。"
|
||||
return f"请补充{'、'.join(labels)},我会继续帮您解析和处理。"
|
||||
|
||||
@staticmethod
|
||||
def _compute_confidence(
|
||||
|
||||
Reference in New Issue
Block a user