As part of BPMN definition process, any service task responsible for triggering speech to text needs to set transcribe.TRANSCRIBE as the value for its implementation attribute.
In addition to the above configuration, these variables are required to perform the audio analysis:
The input parameters of the transcribe connector are:
Parameter | Type | Required | Description |
---|---|---|---|
file | Array | Required | File to be transcribed. If multiple files are passed, only the first one will be processed. |
timeout | Integer | Optional | Timeout for the remote call to transcribe service in milliseconds.
The default is:
${aws.transcribe.asynchTimeout} |
generateWebVTT | Boolean | Optional | The output webVTT is only populated if generateWebVTT is set to true. |
The output parameters of the Transcribe connector are:
Parameter | Type | Required | Description |
---|---|---|---|
awsResult | JSON | Optional | Result of the AWS Transcribe speech to text process. |
transcription | String | Required | Transcription result. |
webVTT | JSON | Optional | Subtitles result in Web Video Text Tracks format. |