diff --git a/deepgram/prerecorded.go b/deepgram/prerecorded.go index ecc81780..2b4076ef 100644 --- a/deepgram/prerecorded.go +++ b/deepgram/prerecorded.go @@ -49,7 +49,7 @@ type PreRecordedTranscriptionOptions struct { Times bool `json:"times" url:"times,omitempty"` // Indicates whether to convert times from written format (e.g., 3:00 pm) to numerical format (e.g., 15:00). Translate string `json:"translate" url:"translate,omitempty" ` Utterances bool `json:"utterances" url:"utterances,omitempty" ` - Utt_split float64 `json:"utt_split" url:"utt_split,omitempty" ` + Utt_split float64 `json:"utt_split" url:"utt_split,omitempty" ` Version string `json:"version" url:"version,omitempty" ` } @@ -93,6 +93,7 @@ type WordBase struct { Speaker *int `json:"speaker,omitempty"` SpeakerConfidence float64 `json:"speaker_confidence,omitempty"` Punctuated_Word string `json:"punctuated_word,omitempty"` + Sentiment string `json:"sentiment,omitempty"` } type Alternative struct {