Skip to content

Commit

Permalink
Added tier to the type definitions of accepted options for live and p…
Browse files Browse the repository at this point in the history
…rerecorded transcriptions
  • Loading branch information
briancbarrow committed Jul 7, 2022
1 parent 5cba978 commit 5b83eb6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/types/liveTranscriptionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ export type LiveTranscriptionOptions = {
* @see https://developers.deepgram.com/api-reference/speech-recognition-api#operation/transcribeAudio/properties/version
*/
version?: string;

/**
* Tier of the model to use.
* @default because
* @remarks Possible values are base or enhanced
* @see https://developers.deepgram.com/documentation/features/tier/
*/
tier?: string;
/**
* BCP-47 language tag that hints at the primary spoken language.
* @default en-US
Expand Down
7 changes: 7 additions & 0 deletions src/types/prerecordedTranscriptionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ export type PrerecordedTranscriptionOptions = {
* @see https://developers.deepgram.com/api-reference/speech-recognition-api#operation/transcribeAudio/properties/version
*/
version?: string;
/**
* Tier of the model to use.
* @default because
* @remarks Possible values are base or enhanced
* @see https://developers.deepgram.com/documentation/features/tier/
*/
tier?: string;
/**
* BCP-47 language tag that hints at the primary spoken language.
* @default en-US
Expand Down

0 comments on commit 5b83eb6

Please sign in to comment.