Skip to content

Commit d27c169

Browse files
authored
Merge pull request #116 from deepgram/update-endpointing-types
update endpointing types to match new API
2 parents e57bb51 + 0271231 commit d27c169

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/types/liveTranscriptionOptions.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,10 @@ export type LiveTranscriptionOptions = {
155155
* that no additional data will improve its prediction, so it immediately
156156
* finalizes the result for the processed time range and returns the
157157
* transcript with a speech_final parameter set to true.
158-
* @see https://developers.deepgram.com/api-reference/speech-recognition-api#operation/transcribeStreamingAudio/properties/endpointing
158+
* @see https://developers.deepgram.com/api-reference/speech-recognition-api#operation/transcribeStreamingAudio/properties/
159+
159160
*/
160-
endpointing?: boolean;
161+
endpointing?: boolean | number;
161162
/**
162163
* Length of time in milliseconds of silence that voice activation detection
163164
* (VAD) will use to detect that a speaker has finished speaking. Used when

0 commit comments

Comments
 (0)