Refactor hospital suggestion logic in agent executor to ensure location is validated before attempting to find the best matching hospital. Enhance logging for user requests without location and update hospital-related keywords for improved recognition.
Add integration guide for Report Generation API, detailing endpoints for generating full, markdown, and JSON reports. Update agent executor and triage routes to track tool executions and guidelines count for report generation, enhancing logging for better traceability. Ensure all tool executions are logged for report generation success.
Add API Integration Guide for Triage Health Check endpoint with detailed request and response specifications. Update agent executor to enforce concise and clear response formatting guidelines in Vietnamese, ensuring compliance with medical guidelines and improving user interaction clarity.
Implement intent classification for casual greetings in the IntentClassifierService and update MedagenAgent to route user queries based on classified intent. Enhance response handling in triage routes to utilize markdown messages when available. Extend TriageResult type to include a message field for markdown responses from the LLM.
Add detailed logging for prompts and input data in agent executor to improve debugging and traceability. This includes user text, guidelines count, and conversation context before sending requests to the LLM.
Update educational response prompts in agent executor to enhance clarity and ensure compliance with Vietnamese guidelines. Adjusted language for user questions and response structure, emphasizing the requirement for responses to be entirely in Vietnamese and providing specific instructions for JSON response formatting.
Enhance CV result handling in agent executor by filtering based on confidence threshold and updating logging. Adjust match threshold and count in RAG service for improved guideline retrieval.