brendon-ai commited on
Commit
0cf14e5
·
verified ·
1 Parent(s): c584915

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: