mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
docs(index.md): add deepgram to release notes
This commit is contained in:
parent
bbf46913fa
commit
ec7fcc982d
1 changed files with 15 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue