feat: complete production hardening implementation, specialty canonicalization, google-genai migration, voice reliability, sqlite concurrency, and test suite consolidation
This commit is contained in:
@@ -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"])
|
||||
Reference in New Issue
Block a user