Skip to content

Commit 29270c6

Browse files
authored
Merge pull request #1112 from paulchiu/master
fix(stt): timestamps type to properly reflect response model
2 parents d986f34 + 1efa983 commit 29270c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

speech-to-text/v1-generated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6147,7 +6147,7 @@ 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[];
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

0 commit comments

Comments
 (0)