Parsa2025AI commited on
Commit
3504e78
·
verified ·
1 Parent(s): 548482b

fastapi app

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -69,6 +69,7 @@ async def health():
69
  return {"status": "ok", "rag_ready": rag is not None, "llm_ready": llm is not None}
70
 
71
 
 
72
  @app.post("/chat", response_model=ChatResponse)
73
  async def chat(req: ChatRequest):
74
  if rag is None or llm is None:
 
69
  return {"status": "ok", "rag_ready": rag is not None, "llm_ready": llm is not None}
70
 
71
 
72
+
73
  @app.post("/chat", response_model=ChatResponse)
74
  async def chat(req: ChatRequest):
75
  if rag is None or llm is None: