Update app.py
Browse files
app.py
CHANGED
|
@@ -184,6 +184,7 @@ def medical_page():
|
|
| 184 |
logger.info("Processing Text RAG query for Medical domain")
|
| 185 |
|
| 186 |
standalone_query = get_standalone_question(query, history_doc_context, llm)
|
|
|
|
| 187 |
agent = rag_systems['medical']
|
| 188 |
if not agent: raise Exception("Medical RAG system not loaded.")
|
| 189 |
response_dict = agent.answer(standalone_query, chat_history=history_doc_context)
|
|
|
|
| 184 |
logger.info("Processing Text RAG query for Medical domain")
|
| 185 |
|
| 186 |
standalone_query = get_standalone_question(query, history_doc_context, llm)
|
| 187 |
+
logger.info(f"Standalone Query : {standalone_query}")
|
| 188 |
agent = rag_systems['medical']
|
| 189 |
if not agent: raise Exception("Medical RAG system not loaded.")
|
| 190 |
response_dict = agent.answer(standalone_query, chat_history=history_doc_context)
|