Skip to content

Commit

Permalink
fix(stt): fix timestamps type to properly reflect response model
Browse files Browse the repository at this point in the history
  • Loading branch information
paulchiu committed Sep 17, 2021
1 parent d986f34 commit 1efa983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speech-to-text/v1-generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6147,7 +6147,7 @@ namespace SpeechToTextV1 {
* elements: the word followed by its start and end time in seconds, for example:
* `[["hello",0.0,1.2],["world",1.2,2.5]]`. Timestamps are returned only for the best alternative.
*/
timestamps?: string[];
timestamps?: [string, number, number];
/** A confidence score for each word of the transcript as a list of lists. Each inner list consists of two
* elements: the word and its confidence score in the range of 0.0 to 1.0, for example:
* `[["hello",0.95],["world",0.866]]`. Confidence scores are returned only for the best alternative and only with
Expand Down

0 comments on commit 1efa983

Please sign in to comment.