oncall-guide-ai / src /generation.py

Commit History

Refine relevance selection in MedicalAdviceGenerator to clarify intent in chunk selection
03afbd6

YanBoChen commited on

Merge branch 'newbranchYB-newest' into Merged20250805
abbc1cd

YanBoChen commited on

Refactor relevance calculation and update thresholds in latency evaluator; enhance precision and MRR analyzer with angular distance metrics; increase timeout for primary generation in fallback configuration.
b0f56ec

YanBoChen commited on

feat(app): add multi-mode retrieval system with critical bug fixes
1639748

VanKee commited on

feat: Simplify fallback architecture and remove length restrictions
e42f605

YanBoChen commited on

Merge branch 'main' into Jeff
2f03725

VanKee commited on

fix(MedicalAdviceGenerator): enhance fallback generation with primary result simplification and increased token limits
4d836bc

YanBoChen commited on

fix(MedicalAdviceGenerator): update fallback token limits and response guidelines for improved clarity and guidance
9731a88

YanBoChen commited on

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

YanBoChen commited on

fix(customization): implement anti-hallucination filtering with Top-P sampling and similarity thresholds
5937f6b

VanKee commited on

Merge branch 'main' into Jeff
a4ca4d1

VanKee commited on

feat: Implement 3-tier fallback generation mechanism in MedicalAdviceGenerator
a68bbd6

YanBoChen commited on

Pull newest code from main
c8b7c39

VanKee commited on

refactor: enhance example queries and prompt structure for improved medical guidance clarity
1d18d66

YanBoChen commited on

feat(integration): integrate hospital customization pipeline with main RAG system
e2109b9

VanKee commited on

feat and fix: update medical advice extraction logic to prioritize raw response
9e8cbc8

YanBoChen commited on

Add end-to-end pipeline test script for OnCall.ai
f29be38

YanBoChen commited on