mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-19 08:28:10 +02:00
feat: add gladia stt support
This commit is contained in:
parent
03df5595c3
commit
c4c4b591db
3 changed files with 141 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ class UserConfigurationValidator:
|
|||
ServiceProviders.OPENAI_REALTIME.value: self._check_openai_api_key,
|
||||
ServiceProviders.GOOGLE_REALTIME.value: self._check_google_api_key,
|
||||
ServiceProviders.ASSEMBLYAI.value: self._check_assemblyai_api_key,
|
||||
ServiceProviders.GLADIA.value: self._check_gladia_api_key,
|
||||
}
|
||||
|
||||
async def validate(
|
||||
|
|
@ -221,3 +222,6 @@ class UserConfigurationValidator:
|
|||
|
||||
def _check_assemblyai_api_key(self, model: str, service_config) -> bool:
|
||||
return True
|
||||
|
||||
def _check_gladia_api_key(self, model: str, api_key: str) -> bool:
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue