A plugin for IVR Tester to transcribe IVR call flows using AWS Transcribe.
Install using yarn:
yarn add ivr-tester-transcriber-amazon-transcribe
Or npm:
npm install ivr-tester-transcriber-amazon-transcribe
- Create an AWS Account
- Store AWS keys in environment variables:
export AWS_ACCESS_KEY_ID=<Your access key ID>
export AWS_SECRET_ACCESS_KEY=<Your secret access key>
See the API's documentation for details of each parameter.
import { amazonTranscribe } from "ivr-tester-transcriber-amazon-transcribe";
const config: Config = {
transcriber: amazonTranscribe("us-east-1", "en-GB"),
};
You can train a model with domain specific terminology to improve accuracy. As of writing this it is only available for US English (en-US).
Interesting blog article on the subject: Building custom language models to supercharge speech-to-text performance for Amazon Transcribe
Integration tests exist to assert it integrates properly with the real Amazon Transcribe service. This means it costs money so hasn't been added to the project's CI/CD pipeline.
To run locally:
export AWS_ACCESS_KEY_ID=<Your access key ID>
export AWS_SECRET_ACCESS_KEY=<Your secret access key>
yarn test:integration