Litellm dev 12 28 2024 p3 (#7464)

* feat(deepgram/): initial e2e support for deepgram stt

Uses deepgram's `/listen` endpoint to transcribe speech to text

 Closes https://github.com/BerriAI/litellm/issues/4875

* fix: fix linting errors

* test: fix test
This commit is contained in:
Krish Dholakia 2024-12-28 19:18:58 -08:00 committed by GitHub
parent 480d838790
commit ebc28b1921
10 changed files with 303 additions and 5 deletions

View file

@ -6323,6 +6323,8 @@ class ProviderConfigManager:
) -> Optional[BaseAudioTranscriptionConfig]:
if litellm.LlmProviders.FIREWORKS_AI == provider:
return litellm.FireworksAIAudioTranscriptionConfig()
elif litellm.LlmProviders.DEEPGRAM == provider:
return litellm.DeepgramAudioTranscriptionConfig()
return None
@staticmethod