PMFlow/backend/app/api/rag_api/__init__.py

12 lines
340 B
Python

from __future__ import annotations
from fastapi import APIRouter
from . import routes_knowledge, routes_qa, routes_query, routes_route_governance
router = APIRouter(tags=["Adaptive RAG"])
for _module in [routes_query, routes_knowledge, routes_qa, routes_route_governance]:
router.include_router(_module.router)
__all__ = ["router"]