From 9ffbb75ba10feabba1db17902a87e986c69c62d2 Mon Sep 17 00:00:00 2001 From: Jiayu Wu Date: Wed, 24 Jul 2024 12:02:47 -0300 Subject: [PATCH] add dictation parameter to STT --- pkg/client/interfaces/v1/types-stream.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/client/interfaces/v1/types-stream.go b/pkg/client/interfaces/v1/types-stream.go index e56a99fe..c9804233 100644 --- a/pkg/client/interfaces/v1/types-stream.go +++ b/pkg/client/interfaces/v1/types-stream.go @@ -18,6 +18,7 @@ type LiveTranscriptionOptions struct { Channels int `json:"channels,omitempty" schema:"channels,omitempty"` Diarize bool `json:"diarize,omitempty" schema:"diarize,omitempty"` DiarizeVersion string `json:"diarize_version,omitempty" schema:"diarize_version,omitempty"` + Dictation bool `json:"dictation,omitempty" schema:"dictation,omitempty"` // Option to format spoken punctuated commands, must be enabled with punctuate parameter to true. Eg: "i went to the store comma new paragraph then i went home period" --> "i went to the store, <\n> then i went home." Encoding string `json:"encoding,omitempty" schema:"encoding,omitempty"` Endpointing string `json:"endpointing,omitempty" schema:"endpointing,omitempty"` Extra []string `json:"extra,omitempty" schema:"extra,omitempty"`