Skip to content

Commit ab0c8a2

Browse files
fix(wss,assistantv1): address review changes
1 parent 8f257e7 commit ab0c8a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/recognize-stream.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ class RecognizeStream extends Duplex {
105105
* @param {boolean} [options.splitTranscriptAtPhraseEnd] - If `true`, directs the service to split the transcript into multiple final results based on semantic features of the input
106106
* @param {number} [options.speechDetectorSensitivity] - The sensitivity of speech activity detection that the service is to perform
107107
* @param {number} [options.backgroundAudioSuppression] - The level to which the service is to suppress background audio based on its volume to prevent it from being transcribed as speech
108+
* @param {boolean} [params.lowLatency] - If `true` for next-generation `Multimedia` and `Telephony` models that support low latency, directs the service to produce results even more quickly than it usually does
108109
* @constructor
109110
*/
110111
constructor(options: RecognizeStream.Options) {
@@ -181,6 +182,7 @@ class RecognizeStream extends Duplex {
181182
'split_transcript_at_phrase_end',
182183
'speech_detector_sensitivity',
183184
'background_audio_suppression',
185+
'low_latency',
184186
];
185187
const openingMessage = processUserParameters(options, openingMessageParamsAllowed);
186188
openingMessage.action = 'start';

test/integration/assistant.v1.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,6 @@ describe('assistant v1 integration', () => {
10791079
const res = await assistant.bulkClassify(params);
10801080
const { result } = res || {};
10811081
expect(result).toBeDefined();
1082-
console.log(result);
10831082
});
10841083
});
10851084
});

0 commit comments

Comments
 (0)