- 新增 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 导出新模块 |
||
|---|---|---|
| .. | ||
| strategy | ||
| __init__.py | ||
| base.py | ||
| indexer.py | ||
| metadata.py | ||
| mode_router.py | ||
| optimized_retriever.py | ||
| routing_config.py | ||
| strategy_integration.py | ||
| strategy_router.py | ||
| vector_retriever.py | ||