From 96a26b7711e6d01ecd310304cee7e351c9de4acb Mon Sep 17 00:00:00 2001 From: Sachin Vishwakarma Date: Thu, 6 Feb 2025 10:59:57 +0530 Subject: [PATCH 1/2] feat(Deepgram STT): Deepgram more STT options --- plugins/deepgram/src/stt.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/deepgram/src/stt.ts b/plugins/deepgram/src/stt.ts index c7d050805..6d069d847 100644 --- a/plugins/deepgram/src/stt.ts +++ b/plugins/deepgram/src/stt.ts @@ -23,6 +23,9 @@ export interface STTOptions { numChannels: number; keywords: [string, number][]; profanityFilter: boolean; + dictation: boolean; + diarize: boolean; + numerals: boolean; } const defaultSTTOptions: STTOptions = { @@ -40,6 +43,9 @@ const defaultSTTOptions: STTOptions = { numChannels: 1, keywords: [], profanityFilter: false, + dictation: false, + diarize: false, + numerals: false, }; export class STT extends stt.STT { @@ -119,6 +125,9 @@ export class SpeechStream extends stt.SpeechStream { model: this.#opts.model, punctuate: this.#opts.punctuate, smart_format: this.#opts.smartFormat, + dictation: this.#opts.dictation, + diarize: this.#opts.diarize, + numerals: this.#opts.numerals, no_delay: this.#opts.noDelay, interim_results: this.#opts.interimResults, encoding: 'linear16', From b67f573d84bb84ab15b0018e2a1a317cb3db8a23 Mon Sep 17 00:00:00 2001 From: aoife cassidy Date: Thu, 6 Feb 2025 13:16:43 +0200 Subject: [PATCH 2/2] Create odd-turkeys-boil.md --- .changeset/odd-turkeys-boil.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/odd-turkeys-boil.md diff --git a/.changeset/odd-turkeys-boil.md b/.changeset/odd-turkeys-boil.md new file mode 100644 index 000000000..828000ce7 --- /dev/null +++ b/.changeset/odd-turkeys-boil.md @@ -0,0 +1,5 @@ +--- +"@livekit/agents-plugin-deepgram": patch +--- + +add missing STT options