Skip to content

Commit 9f4d664

Browse files
authored
fix(stt): update word confidence and timestamps type
1 parent 0c1d8b1 commit 9f4d664

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

speech-to-text/v1-generated.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6147,13 +6147,13 @@ namespace SpeechToTextV1 {
61476147
* elements: the word followed by its start and end time in seconds, for example:
61486148
* `[["hello",0.0,1.2],["world",1.2,2.5]]`. Timestamps are returned only for the best alternative.
61496149
*/
6150-
timestamps?: [string, number, number];
6150+
timestamps?: [string, number, number][];
61516151
/** A confidence score for each word of the transcript as a list of lists. Each inner list consists of two
61526152
* elements: the word and its confidence score in the range of 0.0 to 1.0, for example:
61536153
* `[["hello",0.95],["world",0.866]]`. Confidence scores are returned only for the best alternative and only with
61546154
* results marked as final.
61556155
*/
6156-
word_confidence?: string[];
6156+
word_confidence?: [string, number][];
61576157
}
61586158

61596159
/** Component results for a speech recognition request. */

0 commit comments

Comments
 (0)