ai-robot-core/ai-service/app/services
MerCry c628181623 [AC-AISVC-RES-01~15] feat(retrieval): 实现检索策略路由核心模块
- 新增 routing_config.py 路由配置模型
  - StrategyType: DEFAULT/ENHANCED 策略类型
  - RagRuntimeMode: DIRECT/REACT/AUTO 运行模式
  - RoutingConfig: 路由配置类
  - StrategyContext: 策略上下文
  - StrategyResult: 策略结果

- 新增 strategy_router.py 策略路由器
  - RollbackManager: 回滚管理器
  - DefaultPipeline: 默认检索管道
  - EnhancedPipeline: 增强检索管道
  - StrategyRouter: 策略路由器

- 新增 mode_router.py 模式路由器
  - ComplexityAnalyzer: 复杂度分析器
  - ModeRouter: 模式路由器

- 新增 strategy_integration.py 统一集成层
  - RetrievalStrategyIntegration: 策略集成器

- 更新 __init__.py 导出新模块
2026-03-10 21:07:01 +08:00
..
cache 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
document feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
embedding feat: update core backend services including LLM, embedding, KB, orchestrator and admin APIs [AC-AISVC-CORE] 2026-03-10 12:09:45 +08:00
flow feat: update core backend services including LLM, embedding, KB, orchestrator and admin APIs [AC-AISVC-CORE] 2026-03-10 12:09:45 +08:00
guardrail feat(v0.7.0-window2): implement flow simulation and guardrail testing/monitoring 2026-02-27 23:13:45 +08:00
intent feat: update core backend services including LLM, embedding, KB, orchestrator and admin APIs [AC-AISVC-CORE] 2026-03-10 12:09:45 +08:00
llm feat: update core backend services including LLM, embedding, KB, orchestrator and admin APIs [AC-AISVC-CORE] 2026-03-10 12:09:45 +08:00
mid feat: add metadata discovery tool for dynamic metadata extraction [AC-METADATA-DISCOVERY] 2026-03-10 12:11:31 +08:00
monitoring feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
openapi feat: add OpenAPI share page with device-bound tokens and thought/answer separation [AC-IDMP-SHARE] 2026-03-06 01:06:19 +08:00
prompt feat: update core backend services including LLM, embedding, KB, orchestrator and admin APIs [AC-AISVC-CORE] 2026-03-10 12:09:45 +08:00
retrieval [AC-AISVC-RES-01~15] feat(retrieval): 实现检索策略路由核心模块 2026-03-10 21:07:01 +08:00
__init__.py feat(ai-service): implement LLM Adapter for T3.1 [AC-AISVC-02, AC-AISVC-06] 2026-02-24 13:19:38 +08:00
api_key.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
confidence.py feat(ai-service): implement confidence calculation for T3.3 [AC-AISVC-17, AC-AISVC-18, AC-AISVC-19] 2026-02-24 13:31:42 +08:00
context.py feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
decomposition_template_service.py feat: implement decomposition template with version control [AC-IDSMETA-21, AC-IDSMETA-22] 2026-03-02 22:16:35 +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
knowledge_base_service.py fix(AISVC): 修复 knowledge-bases 接口 500 错误 [AC-AISVC-60] 2026-02-27 21:37:48 +08:00
memory.py feat(v0.7.0): 验收通过 - Dashboard统计增强、流程测试、对话追踪 2026-02-28 12:52:50 +08:00
metadata_cache_service.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
metadata_field_definition_service.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_service.py test: add metadata governance contract and integration tests [AC-IDSMETA-13~22] 2026-03-02 22:17:23 +08:00
orchestrator.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
scene_slot_bundle_service.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
slot_definition_service.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