Skip to content

Commit

Permalink
Merge pull request #116 from deepgram/update-endpointing-types
Browse files Browse the repository at this point in the history
update endpointing types to match new API
  • Loading branch information
briancbarrow authored Apr 3, 2023
2 parents e57bb51 + 0271231 commit d27c169
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/types/liveTranscriptionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,10 @@ export type LiveTranscriptionOptions = {
* that no additional data will improve its prediction, so it immediately
* finalizes the result for the processed time range and returns the
* transcript with a speech_final parameter set to true.
* @see https://developers.deepgram.com/api-reference/speech-recognition-api#operation/transcribeStreamingAudio/properties/endpointing
* @see https://developers.deepgram.com/api-reference/speech-recognition-api#operation/transcribeStreamingAudio/properties/
*/
endpointing?: boolean;
endpointing?: boolean | number;
/**
* Length of time in milliseconds of silence that voice activation detection
* (VAD) will use to detect that a speaker has finished speaking. Used when
Expand Down

0 comments on commit d27c169

Please sign in to comment.