From 1b0bcebef66d012702145440943ef79c05698ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 18 Feb 2025 09:56:09 -0800 Subject: [PATCH] deepgram: use the new nova-3 model as default --- CHANGELOG.md | 10 ++++++++++ src/pipecat/services/deepgram.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 973a57c33..6b72d15b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added `exponential_backoff_time()` to `utils.network` module. +### Changed + +- `DeepgramSTTService` now uses the new `nova-3` model by default. If you want + to use the previous model you can pass `LiveOptions(model="nova-2-general")`. + (see https://deepgram.com/learn/introducing-nova-3-speech-to-text-api) + +```python +stt = DeepgramSTTService(..., live_options=LiveOptions(model="nova-2-general")) +``` + ### Fixed - Fixed an issue that would cause `DeepgramSTTService` to stop working after an diff --git a/src/pipecat/services/deepgram.py b/src/pipecat/services/deepgram.py index 59305b1c9..010c2c626 100644 --- a/src/pipecat/services/deepgram.py +++ b/src/pipecat/services/deepgram.py @@ -129,7 +129,7 @@ class DeepgramSTTService(STTService): default_options = LiveOptions( encoding="linear16", language=Language.EN, - model="nova-2-general", + model="nova-3-general", channels=1, interim_results=True, smart_format=True,