Spaces:
Sleeping
Sleeping
File size: 344 Bytes
f4c70c8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
from fastapi import FastAPI
from src.app.api import routes
import uvicorn
app = FastAPI(title="Enterprise RAG Search API")
app.include_router(routes.router, prefix="/api/v1")
@app.get("/health")
def health():
return {"status": "ok"}
if __name__ == "__main__":
uvicorn.run("src.app.main:app", host="0.0.0.0", port=8000, reload=True)
|