17 lines
868 B
Python
17 lines
868 B
Python
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"])
|