feat(threshold): Implement customer loss threshold configuration and notification system
- Added `ThresholdRepository` for managing customer loss threshold configurations and notifications. - Introduced `threshold_service` to handle loss threshold alerts based on customer portfolio performance. - Enhanced `customer_prompts` to include new intent for querying product net values. - Updated `customer_service` to integrate new threshold alert functionality into existing workflows. - Implemented `sanitize_postprocess` for improved compliance handling in customer interactions. - Enhanced course documentation to reflect updates in advisor training modules and interactive elements. This update significantly improves the customer experience by providing proactive loss threshold notifications and enhancing the overall service framework.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<p class="module-lead animate-in">
|
||||
风控<span class="term" data-definition="REST:用 URL + HTTP 方法(GET/POST)访问的后端接口,浏览器和脚本都能调。">REST</span>
|
||||
走 <code>get_auth_context</code>,前端必须带 <code>X-Agent-Type: risk</code>。
|
||||
风控对话则通过 <code>chat_tools</code> 注册五只只读 Tool + <code>query_agent_behavior</code>,由 <code>tool_service</code> 统一分发。
|
||||
风控对话则通过风控对话 Tool 注册表(<code>chat_tools.py</code>)注册五只只读 Tool + <code>query_agent_behavior</code>,由对话 Tool 编排(<code>tool_service.py</code>)统一分发。
|
||||
</p>
|
||||
|
||||
<div class="screen animate-in">
|
||||
@@ -27,9 +27,9 @@
|
||||
</div>
|
||||
|
||||
<div class="screen animate-in">
|
||||
<h2>chat_tools 注册表(C1 + 扩展)</h2>
|
||||
<h2>风控对话 Tool(chat_tools.py)注册表(C1 + 扩展)</h2>
|
||||
<div class="file-tree animate-in">
|
||||
<div class="tree-item tree-folder">app/service/risk/chat_tools.py</div>
|
||||
<div class="tree-item tree-folder">风控对话 Tool(app/service/risk/chat_tools.py)</div>
|
||||
<div class="tree-item tree-indent">alert_query — 客户或全量待审预警</div>
|
||||
<div class="tree-item tree-indent">customer_context — L0 + L3 + 待审预警</div>
|
||||
<div class="tree-item tree-indent">suitability_check — 只读校验 + 审计落库</div>
|
||||
|
||||
Reference in New Issue
Block a user