Skip to content

Commit ac20a37

Browse files
authored
Merge pull request #91 from deepgram/update-translate-option
updating translation to translate
2 parents 0a00b55 + 152025c commit ac20a37

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/types/prerecordedTranscriptionOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export type PrerecordedTranscriptionOptions = {
202202
* For example, 'es', 'fr', 'ja'
203203
* If requests translation in the same language as their ASR request, a 400 will be returned.
204204
*/
205-
translation?: Array<string>;
205+
translate?: Array<string>;
206206

207207
/**
208208
* Indicates whether Deepgram will identify and detect topics in the transcript.

src/types/usageOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type UsageOptions = {
2121
alternatives?: boolean;
2222
numerals?: boolean;
2323
numbers?: boolean;
24-
translation?: boolean;
24+
translate?: boolean;
2525
detect_entities?: boolean;
2626
detect_topics?: boolean;
2727
summarize?: boolean;

src/types/usageRequestDetail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export type UsageRequestDetail = {
2626
alternatives?: boolean;
2727
numerals?: boolean;
2828
numbers?: boolean;
29-
translation?: boolean;
29+
translate?: boolean;
3030
};
3131
};
3232
};

0 commit comments

Comments
 (0)