Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ async def health_check():
|
|
97 |
"rag_initialized": rag_application is not None
|
98 |
}
|
99 |
|
100 |
-
@app.post("/ask", response_model=QuestionResponse)
|
101 |
async def ask_question(request: QuestionRequest):
|
102 |
"""Ask a question and get an answer using RAG."""
|
103 |
if rag_application is None:
|
|
|
97 |
"rag_initialized": rag_application is not None
|
98 |
}
|
99 |
|
100 |
+
@app.post("/medical/ask", response_model=QuestionResponse)
|
101 |
async def ask_question(request: QuestionRequest):
|
102 |
"""Ask a question and get an answer using RAG."""
|
103 |
if rag_application is None:
|