Backend / src /services

Commit History

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

Cuong2004 commited on

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

Cuong2004 commited on

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

Cuong2004 commited on

fix bug deploy
cdee6ab

Cuong2004 commited on

Reportation
c6aaf95

Cuong2004 commited on

mcp hospital
c869f17

Cuong2004 commited on

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

Cuong2004 commited on

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

Cuong2004 commited on

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

Cuong2004 commited on

fix bug
3e12ae4

Cuong2004 commited on