docs(index.md): add deepgram to release notes

This commit is contained in:
Krrish Dholakia 2024-12-28 20:24:55 -08:00
parent bbf46913fa
commit ec7fcc982d

View file

@ -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)