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

12 lines
305 B
Python

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