feat: implement voice-based patient onboarding pipeline with AI orchestration, multi-language STT/TTS support, and clinical state extraction.

This commit is contained in:
2026-08-29 15:09:31 +05:30
parent 5e500dcfbc
commit dc2799a95b
14 changed files with 733 additions and 191 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"])