From 1cc9ddfb19066ed579400faef68263a97ebf3bae Mon Sep 17 00:00:00 2001 From: Luke Oliff Date: Wed, 26 Jul 2023 14:37:38 +0100 Subject: [PATCH] feat: filler words release --- deepgram/prerecorded.go | 1 + deepgram/transcriptions.go | 1 + 2 files changed, 2 insertions(+) diff --git a/deepgram/prerecorded.go b/deepgram/prerecorded.go index 802459d4..35ae64f5 100644 --- a/deepgram/prerecorded.go +++ b/deepgram/prerecorded.go @@ -51,6 +51,7 @@ type PreRecordedTranscriptionOptions struct { Utterances bool `json:"utterances" url:"utterances,omitempty" ` Utt_split float64 `json:"utt_split" url:"utt_split,omitempty" ` Version string `json:"version" url:"version,omitempty" ` + FillerWords string `json:"filler_words" url:"filler_words,omitempty" ` } type PreRecordedResponse struct { diff --git a/deepgram/transcriptions.go b/deepgram/transcriptions.go index 84ca1d9f..0f077681 100644 --- a/deepgram/transcriptions.go +++ b/deepgram/transcriptions.go @@ -41,6 +41,7 @@ type LiveTranscriptionOptions struct { Times bool `json:"times" url:"times,omitempty" ` Vad_turnoff int `json:"vad_turnoff" url:"vad_turnoff,omitempty" ` Version string `json:"version" url:"version,omitempty" ` + FillerWords string `json:"filler_words" url:"filler_words,omitempty" ` } func (dg *Client) LiveTranscription(options LiveTranscriptionOptions) (*websocket.Conn, *http.Response, error) {