feat: 多专业小模型+路由模型系统 MVP(mock 全链路 + FastAPI 网关 + 论文调研)

This commit is contained in:
tzt
2026-08-12 10:40:04 +08:00
commit 1e51167ea5
50 changed files with 49382 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
"""多专业小模型 + 路由模型系统 (Multi-Expert Router System)
核心思想:用「轻量分类路由器 + 专业小模型池 + 质量控制器(Judge) + 大模型回退」
在限定条件下替代单一通用大模型,大幅降低成本与延迟。
本包核心逻辑为零依赖纯标准库实现(mock 后端),可直接运行;
可选接入真实模型(transformers / OpenAI 兼容 API)。
"""
from .router import Router
from .models import Classification, ExpertResponse, RouterResult
__version__ = "0.1.0"
__all__ = ["Router", "Classification", "ExpertResponse", "RouterResult", "__version__"]