feat(dc): Add multi-metric transformation feature (direction 1+2)
Summary: - Implement intelligent multi-metric grouping detection algorithm - Add direction 1: timepoint-as-row, metric-as-column (analysis format) - Add direction 2: timepoint-as-column, metric-as-row (display format) - Fix column name pattern detection (FMA___ issue) - Maintain original Record ID order in output - Add full-select/clear buttons in UI - Integrate into TransformDialog with Radio selection - Update 3 documentation files Technical Details: - Python: detect_metric_groups(), apply_multi_metric_to_long(), apply_multi_metric_to_matrix() - Backend: 3 new methods in QuickActionService - Frontend: MultiMetricPanel.tsx (531 lines) - Total: ~1460 lines of new code Status: Fully tested and verified, ready for production
This commit is contained in:
@@ -168,7 +168,7 @@ RAG 系统迁移的复杂度:
|
||||
专有网络 VPC: 选择 SAE 所在的 VPC
|
||||
安全组: 创建新安全组,配置入方向规则(⚠️ 安全红线):
|
||||
✅ 允许 22/TCP 来源:您的办公室公网IP # SSH管理
|
||||
✅ 允许 80/TCP 来源:172.16.0.0/12 # Nginx(VPC内网访问)
|
||||
✅ 允许 80/TCP 来源:172.17.0.0/16 # Nginx(VPC内网访问)
|
||||
❌ 拒绝 5000/TCP 来源:0.0.0.0/0 # Dify API禁止公网访问
|
||||
❌ 拒绝 6379/TCP 来源:0.0.0.0/0 # Redis禁止公网访问
|
||||
❌ 拒绝 8080/TCP 来源:0.0.0.0/0 # Weaviate禁止公网访问
|
||||
@@ -177,7 +177,7 @@ RAG 系统迁移的复杂度:
|
||||
|
||||
⚠️ 安全警告:
|
||||
- Dify API (5000)、Redis (6379)、Weaviate (8080) 绝对不能对公网开放
|
||||
- 只允许VPC内网访问(172.16.0.0/12)
|
||||
- 只允许VPC内网访问(172.17.0.0/16)
|
||||
- 端口绑定到 127.0.0.1(见docker-compose.yaml配置)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user