quantumbit commited on
Commit
267752e
Β·
verified Β·
1 Parent(s): 6db360a

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. rag_system/api.py +4 -0
rag_system/api.py CHANGED
@@ -183,6 +183,10 @@ async def add_process_time_header(request, call_next):
183
 
184
  # ── Ops ──────────────────────────────────────────────────────────────────────
185
 
 
 
 
 
186
  @app.get("/health", response_model=HealthResponse, tags=["ops"])
187
  async def health():
188
  return HealthResponse(
 
183
 
184
  # ── Ops ──────────────────────────────────────────────────────────────────────
185
 
186
+ @app.get("/", tags=["ops"])
187
+ async def root():
188
+ return {"status": "ok", "service": settings.api_title}
189
+
190
  @app.get("/health", response_model=HealthResponse, tags=["ops"])
191
  async def health():
192
  return HealthResponse(