You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LiveTranscriptionEvent.channel.alternatives.confidence has the type boolean, when I believe it should be a numerical confidence level. This means it will give type errors every time I try to use it in my TypeScript code.
What is the current behavior?
LiveTranscriptionEvent.channel.alternatives.confidence has the type boolean, when I believe it should be a numerical confidence level. This means it will give type errors every time I try to use it in my TypeScript code.
Steps to reproduce
Try to use that variable, or look at your type code here: https://github.com/deepgram/deepgram-node-sdk/blob/2734f695bfe574cd0bdfcd19227283bffae0acba/src/lib/types/LiveTranscriptionEvent.ts#L11
Expected behavior
It should be a number, unless the Deepgram docs are wrong.
Please tell us about your environment
TypeScript (NextJS 13)
Other information
The text was updated successfully, but these errors were encountered: