Refactor app.py to implement LangChain memory for enhanced conversation tracking. Update prompt building and response generation logic to utilize full conversation context, improving user interaction and medical assessment accuracy.
f3b4260
Thanushcommited on
Refactor SYSTEM_PROMPT in app.py to enhance the medical consultation process with a structured approach for gathering patient information. Update follow-up question guidelines and improve response generation logic for more intelligent interactions.
01a984c
Thanushcommited on
Refactor app.py to streamline user information collection by removing redundant prompts for name and age. Implement a simple state tracking mechanism for improved conversation flow and enhance medical consultation process with structured follow-up questions.
43e5827
Thanushcommited on
Enhance user interaction in app.py by refining follow-up questions for symptom collection and implementing intelligent extraction of user name and age from messages. Improve response generation logic to ensure comprehensive medical assessments and treatment recommendations.
a7f6391
Thanushcommited on
Refactor MEDITRON_PROMPT in app.py to enhance medical assessment and recommendations, ensuring evidence-based practices and clear communication. Update name and age extraction logic for improved accuracy in user responses.
5522bf8
Thanushcommited on
Enhance prompt building in app.py to include intelligent follow-up questions and adjust response generation logic based on user information turns.
d6da22c
Thanushcommited on
Enhance user information collection in app.py by emphasizing follow-up questions and refining response generation logic based on actual information turns.
a985489
Thanushcommited on
Refactor app.py to extract user name and age from conversation history and improve response generation logic
000ab02
Thanushcommited on
Update SYSTEM_PROMPT in app.py for clarity and detail in patient information collection process
6e237a4
Thanushcommited on
Refactor prompt building in app.py to utilize full message sequence and enhance response generation context
a0597d0
Thanushcommited on
Refactor app.py to integrate LangChain memory for conversation tracking and update requirements.txt for LangChain dependency