Backend / src

Commit History

  1. hospital if any

    dc5847f
  2. Update location description in triage route to include format example for user coordinates, enhancing clarity for users on input requirements.

    addc239
  3. lat long

    a763afd
  4. 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.

    d2d559e
  5. fix prompt mcp doctor

    ff05395
  6. Remove GeminiLLM integration from ReportGenerationService, simplifying the report generation process by eliminating the markdown report generation logic. This change focuses on streamlining the service and enhancing maintainability.

    04e2cef
  7. Refactor report generation to focus solely on medical data. Introduce MedicalReport interface, streamlining report content by removing unnecessary technical details. Consolidate endpoints to return only JSON format for reports, enhancing clarity and usability. Update report generation logic to align with new structure, ensuring compatibility with existing ComprehensiveReport interface for backward compatibility.

    ea544af
  8. 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.

    8a43827
  9. fix bug deploy

    cdee6ab
  10. Reportation

    c6aaf95
  11. mcp hospital

    c869f17
  12. Add Triage Report Implementation Plan with AI Decision-Making features. Introduce new API endpoint for generating complete triage reports, modify agent executor for report generation, and enhance frontend components for user-triggered report generation. Update type definitions to support new report structure and integrate location services for nearby medical facilities. Include detailed verification plan and implementation timeline.

    a40d961
  13. 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.

    1935826
  14. Refactor intent classification logic in IntentClassifierService to prioritize image presence and improve casual greeting detection. Introduce a structured priority system for intent classification, enhancing accuracy for triage and disease information queries while ensuring casual greetings are only identified when appropriate. Update the isCasualGreeting method to exclude medical terms from greeting detection.

    80b0d14
  15. 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.

    0c00ee2
  16. 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.

    faf5d21
  17. 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.

    5c04a26
  18. 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.

    9584356
  19. Add logging for final JSON responses in agent executor and triage route to improve traceability

    69263c1
  20. Remove unused methods for handling out-of-scope queries and general health queries in the MedagenAgent class to streamline the codebase.

    67b3dab
  21. Add integration test report and enhance API test scripts for flexibility

    1a8794d
  22. fix bug

    3e12ae4
  23. init

    d4abe4b