feat: complete production hardening implementation, specialty canonicalization, google-genai migration, voice reliability, sqlite concurrency, and test suite consolidation

This commit is contained in:
2026-09-07 12:57:54 +05:30
parent c23d979338
commit 92fa71ae4a
99 changed files with 5167 additions and 3550 deletions
@@ -0,0 +1,16 @@
from app.ai.orchestrator import classify_specialty_from_symptoms
test_cases = [
("Cardiology", "நெஞ்சு வலி மற்றும் மூச்சு திணறல்"),
("Dermatology", "தோல் அரிப்பு மற்றும் படை"),
("Orthopedics", "மூட்டு வலி"),
("Neurology", "headache and dizziness"),
("Gastroenterology", "வயிற்று வலி மற்றும் வாந்தி"),
("Pulmonology", "இருமல் மற்றும் சளி"),
("ENT", "காது வலி மற்றும் தொண்டை வலி")
]
print("=== DIRECT SYMPTOM SPECIALTY CLASSIFIER TEST ===")
for label, text in test_cases:
res = classify_specialty_from_symptoms(text)
print("Test:", label, "| Code:", res["code"], "| Specialty:", res["name"])