Skip to content

Commit

Permalink
Merge pull request #91 from deepgram/update-translate-option
Browse files Browse the repository at this point in the history
updating translation to translate
  • Loading branch information
briancbarrow authored Dec 8, 2022
2 parents 0a00b55 + 152025c commit ac20a37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/types/prerecordedTranscriptionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export type PrerecordedTranscriptionOptions = {
* For example, 'es', 'fr', 'ja'
* If requests translation in the same language as their ASR request, a 400 will be returned.
*/
translation?: Array<string>;
translate?: Array<string>;

/**
* Indicates whether Deepgram will identify and detect topics in the transcript.
Expand Down
2 changes: 1 addition & 1 deletion src/types/usageOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type UsageOptions = {
alternatives?: boolean;
numerals?: boolean;
numbers?: boolean;
translation?: boolean;
translate?: boolean;
detect_entities?: boolean;
detect_topics?: boolean;
summarize?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/types/usageRequestDetail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export type UsageRequestDetail = {
alternatives?: boolean;
numerals?: boolean;
numbers?: boolean;
translation?: boolean;
translate?: boolean;
};
};
};

0 comments on commit ac20a37

Please sign in to comment.