Skip to content

Commit bc89b65

Browse files
committed
add missing params at recognize method
1 parent ab62cd6 commit bc89b65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/recognize-stream.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ const QUERY_PARAMS_ALLOWED = [
4343
'model',
4444
'X-Watson-Learning-Opt-Out',
4545
'watson-token',
46-
'customization_id'
46+
'customization_id',
47+
'acoustic_customization_id'
4748
];
4849

4950
interface RecognizeStream extends Duplex {
@@ -111,6 +112,7 @@ class RecognizeStream extends Duplex {
111112
* @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
112113
* @param {Boolean} [options.smart_formatting=false] - formats numeric values such as dates, times, currency, etc.
113114
* @param {String} [options.customization_id] - Customization ID
115+
* @param {String} [options.acoustic_customization_id] - Acoustic customization ID
114116
* @param {IamTokenManagerV1} [options.token_manager] - Token manager for authenticating with IAM
115117
* @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.
116118
* Multiple versions of a base model can exist when a model is updated for internal improvements. The parameter is intended primarily for use with custom models that have been upgraded for a new base model.

0 commit comments

Comments
 (0)