Skip to content

Commit

Permalink
add dictation parameter to STT
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayu Wu committed Jul 24, 2024
1 parent 1d402c8 commit 9ffbb75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/client/interfaces/v1/types-stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 9ffbb75

Please sign in to comment.