deepgram/deepgram-go-sdk

Extraneous speaker field in Utterance

Closed this issue · 0 comments

Weimw commented

What is the current behavior?

If only utterance feature is enabled, there will be an extraneous field speaker in response

Steps to reproduce

Only turn set utterance=true in options, there will be an extraneous"speaker":0 in every element in "utterances"

Expected behavior

The "speaker" is omitted if diarize=false

Please tell us about your environment

Go 1.18

Other information