feat: implement AI-orchestrated result extraction and service connectivity tests

This commit is contained in:
2026-08-27 17:45:07 +05:30
parent 59c1372fe3
commit 3d2596ced1
11 changed files with 546 additions and 123 deletions
@@ -55,7 +55,7 @@ class SarvamClient:
return None
lang_prefix = language_code.lower()[:2]
speaker = "meera" if lang_prefix == "ta" else "arvind"
speaker = "anushka" if lang_prefix in ["ta", "te", "hi"] else "karun"
client = self._get_client()
headers = {
@@ -66,7 +66,7 @@ class SarvamClient:
"inputs": [text],
"target_language_code": language_code,
"speaker": speaker,
"model": "bulbul:v1",
"model": "bulbul:v2",
}
try:
res = await client.post(