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

Save the fragment number of KVS to restart from where the transcription reached #42

Open endowataru opened 2 years ago

endowataru commented 2 years ago

Issue #, if available:

This commit partially solves the issue #32.

Description of changes:

When the transcription restarts, Transcribe may be still consuming the audio input and converting it to the script. The script under transcription may not be converted in the current implementation because the KVS stream restarts from the latest position. This commit saves the fragment number used by Transcribe and restarts the stream from that number.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.