ai-robot-core/ai-service/app/api/admin
MerCry c0688c2b13 [AC-AISVC-RES-01~15] feat(api): 新增策略管理 API端点
- 新增 strategy.py 策略 API端点
  - GET /strategy/retrieval/current - 获取当前策略配置
  - POST /strategy/retrieval/switch - 切换策略配置
  - POST /strategy/retrieval/validate - 风险配置校验
  - POST /strategy/retrieval/rollback - 强制回滚到默认策略

- 更新 __init__.py 导出新模块
- 更新 main.py 注册 API 路由
2026-03-10 21:08:07 +08:00
..
__init__.py [AC-AISVC-RES-01~15] feat(api): 新增策略管理 API端点 2026-03-10 21:08:07 +08:00
api_key.py feat: add API key management with entity model and service layer [AC-AISVC-APIKEY] 2026-03-06 01:10:42 +08:00
dashboard.py feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
decomposition_template.py feat: implement decomposition template with version control [AC-IDSMETA-21, AC-IDSMETA-22] 2026-03-02 22:16:35 +08:00
embedding.py feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
flow_test.py feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
guardrails.py feat(v0.7.0-window2): implement flow simulation and guardrail testing/monitoring 2026-02-27 23:13:45 +08:00
intent_rules.py feat: update core backend services including LLM, embedding, KB, orchestrator and admin APIs [AC-AISVC-CORE] 2026-03-10 12:09:45 +08:00
kb.py feat: update core backend services including LLM, embedding, KB, orchestrator and admin APIs [AC-AISVC-CORE] 2026-03-10 12:09:45 +08:00
kb_optimized.py feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
llm.py feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
metadata_field_definition.py feat: update core backend services including LLM, embedding, KB, orchestrator and admin APIs [AC-AISVC-CORE] 2026-03-10 12:09:45 +08:00
metadata_schema.py test: add metadata governance contract and integration tests [AC-IDSMETA-13~22] 2026-03-02 22:17:23 +08:00
monitoring.py feat: update core backend services including LLM, embedding, KB, orchestrator and admin APIs [AC-AISVC-CORE] 2026-03-10 12:09:45 +08:00
prompt_templates.py fix: use correct attribute name system_instruction for version content [AC-IDSMETA-16] 2026-03-06 11:08:49 +08:00
rag.py feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
scene_slot_bundle.py feat: add slot management system with validation, backfill, state aggregation and scene bundle support [AC-SLOT-MGMT] 2026-03-10 12:07:39 +08:00
script_flows.py feat(v0.7.0-window2): implement flow simulation and guardrail testing/monitoring 2026-02-27 23:13:45 +08:00
sessions.py feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
slot_definition.py feat: add slot management system with validation, backfill, state aggregation and scene bundle support [AC-SLOT-MGMT] 2026-03-10 12:07:39 +08:00
strategy.py [AC-AISVC-RES-01~15] feat(api): 新增策略管理 API端点 2026-03-10 21:08:07 +08:00
tenants.py feat: 实现租户管理功能,支持租户ID格式校验与自动创建 [AC-AISVC-10, AC-AISVC-12, AC-ASA-01] 2026-02-25 23:08:36 +08:00