当我在 Amazon Transcribe 中将 showSpeakerLabel 包含为 true 时,我收到一个内部错误发生。再次尝试您的请求。(服务:转录,状态代码:500)
Caused by: software.amazon.awssdk.services.transcribestreaming.model.InternalFailureException: An internal error occurred. Try your request again. (Service: transcribe, Status Code: 500, Request ID: XXXX, Extended Request ID: null)
at software.amazon.awssdk.services.transcribestreaming.model.InternalFailureException$BuilderImpl.build(InternalFailureException.java:119)
要求:
StartStreamTranscriptionRequest.builder().languageCode(LanguageCode.EN_US)
.mediaEncoding(getAwsMediaEncoding(audioFormat)).mediaSampleRateHertz(getAwsSampleRate(audioFormat))
.showSpeakerLabel(true)
.languageModelName("zoom_train_3_Wide").build()