Skip to content

Commit dc8d84d

Browse files
author
AWS
committed
Amazon Transcribe Streaming Service Update: Amazon Transcribe supports partial results stabilization for streaming transcription.
1 parent db43255 commit dc8d84d

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Transcribe Streaming Service",
4+
"contributor": "",
5+
"description": "Amazon Transcribe supports partial results stabilization for streaming transcription."
6+
}

services/transcribestreaming/src/main/resources/codegen-resources/service-2.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@
151151
"Confidence":{
152152
"shape":"Confidence",
153153
"documentation":"<p>A value between 0 and 1 for an item that is a confidence score that Amazon Transcribe assigns to each word or phrase that it transcribes.</p>"
154+
},
155+
"Stable":{
156+
"shape":"Stable",
157+
"documentation":"<p>If partial result stabilization has been enabled, indicates whether the word or phrase in the item is stable. If <code>Stable</code> is <code>true</code>, the result is stable.</p>"
154158
}
155159
},
156160
"documentation":"<p>A word, phrase, or punctuation mark that is transcribed from the input audio.</p>"
@@ -370,6 +374,14 @@
370374
"type":"integer",
371375
"min":2
372376
},
377+
"PartialResultsStability":{
378+
"type":"string",
379+
"enum":[
380+
"high",
381+
"medium",
382+
"low"
383+
]
384+
},
373385
"RequestId":{"type":"string"},
374386
"Result":{
375387
"type":"structure",
@@ -431,6 +443,7 @@
431443
"UROLOGY"
432444
]
433445
},
446+
"Stable":{"type":"boolean"},
434447
"StartMedicalStreamTranscriptionRequest":{
435448
"type":"structure",
436449
"required":[
@@ -666,6 +679,18 @@
666679
"documentation":"<p>The number of channels that are in your audio stream.</p>",
667680
"location":"header",
668681
"locationName":"x-amzn-transcribe-number-of-channels"
682+
},
683+
"EnablePartialResultsStabilization":{
684+
"shape":"Boolean",
685+
"documentation":"<p>When <code>true</code>, instructs Amazon Transcribe to present transcription results that have the partial results stabilized. Normally, any word or phrase from one partial result can change in a subsequent partial result. With partial results stabilization enabled, only the last few words of one partial result can change in another partial result.</p>",
686+
"location":"header",
687+
"locationName":"x-amzn-transcribe-enable-partial-results-stabilization"
688+
},
689+
"PartialResultsStability":{
690+
"shape":"PartialResultsStability",
691+
"documentation":"<p>You can use this field to set the stability level of the transcription results. A higher stability level means that the transcription results are less likely to change. Higher stability levels can come with lower overall transcription accuracy.</p>",
692+
"location":"header",
693+
"locationName":"x-amzn-transcribe-partial-results-stability"
669694
}
670695
},
671696
"payload":"AudioStream"
@@ -742,6 +767,18 @@
742767
"documentation":"<p>The number of channels identified in the stream.</p>",
743768
"location":"header",
744769
"locationName":"x-amzn-transcribe-number-of-channels"
770+
},
771+
"EnablePartialResultsStabilization":{
772+
"shape":"Boolean",
773+
"documentation":"<p>Shows whether partial results stabilization has been enabled in the stream.</p>",
774+
"location":"header",
775+
"locationName":"x-amzn-transcribe-enable-partial-results-stabilization"
776+
},
777+
"PartialResultsStability":{
778+
"shape":"PartialResultsStability",
779+
"documentation":"<p>If partial results stabilization has been enabled in the stream, shows the stability level.</p>",
780+
"location":"header",
781+
"locationName":"x-amzn-transcribe-partial-results-stability"
745782
}
746783
},
747784
"payload":"TranscriptResultStream"

0 commit comments

Comments
 (0)