amazon-connect / ai-powered-speech-analytics-for-amazon-connect

The AI Powered Speech Analytics for Amazon Connect solution provides the combination of speech to text transcription, translation into preferred languages, and insights for agents and supervisors all in real-time
https://aws.amazon.com/solutions/implementations/ai-powered-speech-analytics-for-amazon-connect/
Other
55 stars 54 forks source link

Transcriptions are not saved on S3 bucket #3

Closed qt1211 closed 5 years ago

qt1211 commented 5 years ago

Hi, For some reason, I got the first 3 transcripts saved on my S3 bucket (inside "transcripts" folder). However, none of the calls after that got transcripts saved. The real-time transcripts was still working. All audios were still saved in "recordings" folder. Could someone tell me where and which variables I need to check for this issues? Here are some parameters I have set: transcribeCall : TRUE saveCallRecording: TRUE CONSOLE_LOG_TRANSCRIPT_FLAG : TRUE SAVE_PARTIAL_TRANSCRIPTS : TRUE START_SELECTOR_TYPE : FRAGMENT_NUMBER Thanks a lot.

efh365 commented 5 years ago

Hi. The logic to upload the transcript to S3 is in the agentAssist.html file in the function writeTranscriptToS3(). At the end of the call the transcript is written to S3 as the contact attributes are being updated. Are you testing using the UX provided in this solution? If so, do you see any errors in the console when the call has ended?

qt1211 commented 5 years ago

Oh, thanks. I found the issue. I changed the languageCode to en-AU for Australian accent, the Transcribe service does support en-AU but apparently the Comprehend does not. That's why I could see all transcripts but none are saved. To work around, I have added "en-AU" to fromLanguageDict. Thanks for your help :)