WanIrfan commited on
Commit
96a5623
·
verified ·
1 Parent(s): e2dbac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -270,8 +270,8 @@ def medical_page():
270
  logger.info("Processing Text RAG query for Medical domain")
271
 
272
  logger.info(f"Original Query: '{query}'")
273
- print(f"📚 Using chat history with {len(history)} previous messages to create standalone query")
274
- standalone_query = get_standalone_question(query, history_for_agent,llm)
275
  logger.info(f"Standalone Query: '{standalone_query}'")
276
 
277
  agent = rag_systems['medical']
 
270
  logger.info("Processing Text RAG query for Medical domain")
271
 
272
  logger.info(f"Original Query: '{query}'")
273
+ print(f"📚 Using chat history with {len(history_doc_context)} previous messages to create standalone query")
274
+ standalone_query = get_standalone_question(query, history_doc_context,llm)
275
  logger.info(f"Standalone Query: '{standalone_query}'")
276
 
277
  agent = rag_systems['medical']