deepgram / deepgram-js-sdk

Official JavaScript SDK for Deepgram's automated speech recognition APIs.
https://developers.deepgram.com
MIT License
127 stars 45 forks source link

Channel type is missing language_confidence property #212

Closed KaidenR closed 6 months ago

KaidenR commented 6 months ago

What is the current behavior?

The "Channel" type has the "detected_language" property but is missing "language_confidence" as documented here.

Steps to reproduce

See Channel type: https://github.com/deepgram/deepgram-node-sdk/blob/2734f695bfe574cd0bdfcd19227283bffae0acba/src/lib/types/SyncPrerecordedResponse.ts#L17

Expected behavior

The Channel type should include the "language_confidence" property.

Please tell us about your environment

N/A

Other information

N/A

lukeocodes commented 6 months ago

Yikes! Thanks, we'll get this updated asap