self-trained2 / routers /learning.py
DeepImagix's picture
Upload 4 files
2230d44 verified
Raw
History Blame Contribute Delete
354 Bytes
"""
Learning Router - Thin layer
"""
from fastapi import APIRouter
router = APIRouter()
@router.post("/generate")
async def generate_learning_path(user_id: str, topic: str):
return {"status": "created", "path_id": "demo123"}
@router.get("/paths/{uid}")
async def list_learning_paths(uid: str):
return {"user_id": uid, "paths": [], "count": 0}