feat: add voices in Dograh configuration

This commit is contained in:
Abhishek Kumar 2026-01-19 14:52:54 +05:30
parent 3b614b8b82
commit c58aa557de
2 changed files with 38 additions and 0 deletions

View file

@ -368,6 +368,39 @@ class OpenAISTTConfiguration(BaseSTTConfiguration):
# Dograh STT Service
DOGRAH_STT_MODELS = ["default"]
DOGRAH_STT_LANGUAGES = [
"multi",
"en",
"en-US",
"en-GB",
"en-AU",
"en-IN",
"es",
"es-419",
"fr",
"fr-CA",
"de",
"it",
"pt",
"pt-BR",
"nl",
"hi",
"ja",
"ko",
"zh-CN",
"zh-TW",
"ru",
"pl",
"tr",
"uk",
"vi",
"sv",
"da",
"no",
"fi",
"id",
"th",
]
@register_stt
@ -376,6 +409,9 @@ class DograhSTTService(BaseSTTConfiguration):
model: str = Field(
default="default", json_schema_extra={"examples": DOGRAH_STT_MODELS}
)
language: str = Field(
default="multi", json_schema_extra={"examples": DOGRAH_STT_LANGUAGES}
)
api_key: str