oncall-guide-ai / src /llm_clients.py

Commit History

Add multi-system evaluation support for clinical actionability and evidence quality metrics
16a2990

YanBoChen commited on

Fix medical condition extraction and validation logic across multiple levels
8e02192

YanBoChen commited on

Fix JSON parsing error in medical condition extraction
f50772f

YanBoChen commited on

fix(mild bug): enhance user query prompts (more robust dealing process with .txt or .json) and add postpartum hemorrhage condition mapping
253609b

YanBoChen commited on

feat: Simplify fallback architecture and remove length restrictions
e42f605

YanBoChen commited on

fix(llm-clients): relax abnormal response detection threshold for medical advice
f55b322

YanBoChen commited on

refactor: improve multilayer logic in llm_clients to to enhance functionality and improve performance based on medical or unmedical issues
32b1f74

YanBoChen commited on

feat(user_prompt): update UserPromptProcessor to integrate Llama3-Med42-70B and enhance query validation; add unit tests for condition extraction and matching mechanisms
30fc9ee

YanBoChen commited on

feat(llm_clients): enhance MeditronClient to support local model loading and improve error handling
4c919d2

YanBoChen commited on

WIP(llm_clients): add MeditronClient for medical query processing with Hugging Face integration
7282410

YanBoChen commited on