MemoriaLM / backend /app.py
ofraij123's picture
2/26 feat:artifacts add end-to-end report/quiz/podcast generation with API, UI, and tests
4b6242a unverified
raw
history blame contribute delete
697 Bytes
from fastapi import FastAPI
from backend.api.artifacts import router as artifacts_router
from backend.api.chat import router as chat_router
from backend.api.notebooks import router as notebooks_router
from backend.api.sources import router as sources_router
app = FastAPI(title="RAG NotebookLM Clone")
app.include_router(notebooks_router, prefix="/api/notebooks", tags=["notebooks"])
app.include_router(sources_router, prefix="/api/notebooks", tags=["sources"])
app.include_router(chat_router, prefix="/api/notebooks", tags=["chat"])
app.include_router(artifacts_router, prefix="/api/notebooks", tags=["artifacts"])
@app.get("/health")
def health_check() -> dict:
return {"status": "ok"}