Please enable JavaScript.
Coggle requires JavaScript to display documents.
:large_blue_circle:, Merge Audio - Coggle Diagram
:large_blue_circle:
X Convert to WAV (Uncompress)
Load chunks that
uncompress_status = 0
uncompress_count <= 10
Increase uncompress_count before return
Update uncompress_status = 2 (In Progress)
Note: Lambda function load this and for each chunk submit to ec2 to process
Download file
Note: Ec2 process from here
Ok
Convert file
Upload to S3
Update
uncompress_status = 1
Remove download file
Error
Update
uncompress_log = error message
uncompress_status = 3
Send error to slack
Audio to Text
Load chunks that
start_upload_status = 1
complete_upload_status = 1
uncompress_status = 1
process_status = 0
process_count <= 3
Increase process_count before return
Note: Lambda function load this and for each chunk submit to ec2 to process
Download file
Note: Ec2 process from here
Error
Ok
Open file and send to OpenAPI
Error
Update
process_log = error message
process_status = 2
Ok
Upload to S3
Update
process_status = 1
1 more item...
Merge Texts
Load records that
Has all the chunks transcribed
Combine the text
Trim off white spaces
Update record
upload_status = 1
uploaded_on = current
Recommend
Load records that
upload_status = 1
ignore_status = 0
recommendation_status = 0 or 3
recommendation_count <= 3
num_of_file > 0
see_transcript = 1
Increase process count before return
Get transcription from S3
Ok
Summarization
Try to fetch if it's done
2 more items...
Recommendation
2 more items...
Error
Update
recommendation_processing = 3
recommendation_log = error message
Watching S3
Populate chunk records
Merge Audio
Load chunks