From ec7fcc982ddc18327a4515540a61556e30433d42 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Sat, 28 Dec 2024 20:24:55 -0800 Subject: [PATCH] docs(index.md): add deepgram to release notes --- docs/my-website/release_notes/v1.56.4/index.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/my-website/release_notes/v1.56.4/index.md b/docs/my-website/release_notes/v1.56.4/index.md index 5d3a7bdf553..14bfcb4dbae 100644 --- a/docs/my-website/release_notes/v1.56.4/index.md +++ b/docs/my-website/release_notes/v1.56.4/index.md @@ -7,6 +7,21 @@ import Image from '@theme/IdealImage'; ### **Deepgram Speech to Text** +New Speech to Text support for Deepgram models. [**Start Here**](../providers/deepgram.md) + +```python +from litellm import transcription +import os + +# set api keys +os.environ["DEEPGRAM_API_KEY"] = "" +audio_file = open("/path/to/audio.mp3", "rb") + +response = transcription(model="deepgram/nova-2", file=audio_file) + +print(f"response: {response}") +``` + ### **Fireworks AI - Vision** support for all models LiteLLM supports document inlining for Fireworks AI models. This is useful for models that are not vision models, but still need to parse documents/images/etc. LiteLLM will add `#transform=inline` to the url of the image_url, if the model is not a vision model [See Code](https://github.com/BerriAI/litellm/blob/1ae9d45798bdaf8450f2dfdec703369f3d2212b7/litellm/llms/fireworks_ai/chat/transformation.py#L114)