You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/recognize-stream.ts
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ const QUERY_PARAMS_ALLOWED = [
43
43
'model',
44
44
'X-Watson-Learning-Opt-Out',
45
45
'watson-token',
46
+
'language_customization_id',
46
47
'customization_id',
47
48
'acoustic_customization_id'
48
49
];
@@ -111,7 +112,8 @@ class RecognizeStream extends Duplex {
111
112
* @param {Boolean} [options.objectMode=false] - alias for options.readableObjectMode
112
113
* @param {Number} [options.X-Watson-Learning-Opt-Out=false] - set to true to opt-out of allowing Watson to use this request to improve it's services
113
114
* @param {Boolean} [options.smart_formatting=false] - formats numeric values such as dates, times, currency, etc.
114
-
* @param {String} [options.customization_id] - Customization ID
115
+
* @param {String} [options.language_customization_id] - Language customization ID
116
+
* @param {String} [options.customization_id] - Customization ID (DEPRECATED)
115
117
* @param {String} [options.acoustic_customization_id] - Acoustic customization ID
116
118
* @param {IamTokenManagerV1} [options.token_manager] - Token manager for authenticating with IAM
117
119
* @param {string} [options.base_model_version] - The version of the specified base model that is to be used with recognition request or, for the **Create a session** method, with the new session.
@@ -201,8 +203,14 @@ class RecognizeStream extends Duplex {
0 commit comments