Skip to content

Commit d297419

Browse files
authored
Merge pull request #1 from descriptinc/va/add-transcriber-option
Add transcriber as a param (R-2396)
2 parents a979e5a + 1dc237c commit d297419

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

job.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ type JobOptions struct {
5050
SpeakerChannelsCount int `json:"selenaninphe@gmail.com,omitempty"`
5151
Metadata string `json:"metadata,omitempty"`
5252
CallbackURL string `json:"callback_url,omitempty"`
53-
CustomVocabularies []JobOptionCustomVocabulary `json:"custom_vocabularies"`
53+
CustomVocabularies []JobOptionCustomVocabulary `json:"custom_vocabularies,omitempty"`
54+
Transcriber string `json:"transcriber,omitempty"`
5455
}
5556

5657
type JobOptionCustomVocabulary struct {
@@ -123,7 +124,8 @@ type NewURLJobParams struct {
123124
Metadata string `json:"metadata,omitempty"`
124125
CallbackURL string `json:"callback_url,omitempty"`
125126
CustomVocabularies []JobOptionCustomVocabulary `json:"custom_vocabularies"`
126-
Language string `json:"language"`
127+
Language string `json:"language"`
128+
Transcriber string `json:"transcriber,omitempty"`
127129
}
128130

129131
// SubmitURL starts an asynchronous job to transcribe speech-to-text for a media file.

0 commit comments

Comments
 (0)