used the Response class from fastapi.responses and set the input for status_code to 200

This commit is contained in:
ayushjha119 2023-12-21 14:26:40 +05:30
parent e3557cd8b7
commit b3d7d6a79d

View file

@ -862,3 +862,7 @@ async def extract_references_and_questions(
compiled_references = [item.additional["compiled"] for item in result_list]
return compiled_references, inferred_queries, defiltered_query
@app.get("/health")
async def health_check():
return Response(status_code=200)