KarthikMuraliM commited on
Commit
17f0113
·
verified ·
1 Parent(s): 91bb6fa

Added main thing

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py CHANGED
@@ -64,6 +64,10 @@ app = FastAPI(
64
  description="An API that uses LLMs to source, prepare, analyze, and visualize data. ;By 24f2001293@ds.study.iitm.ac.in",
65
  )
66
 
 
 
 
 
67
 
68
  @app.post("/api/")
69
  async def process_analysis_request(files: List[UploadFile] = File(...)):
 
64
  description="An API that uses LLMs to source, prepare, analyze, and visualize data. ;By 24f2001293@ds.study.iitm.ac.in",
65
  )
66
 
67
+ @app.get("/")
68
+ def health_check():
69
+ """A simple endpoint to check if the API is running."""
70
+ return {"status": "ok", "agent": "Data Analyst Agent is running!"}
71
 
72
  @app.post("/api/")
73
  async def process_analysis_request(files: List[UploadFile] = File(...)):