Sequence that uses AssemblyAi to transcript Audio sent by input channel
This is a sequence which transript audio file using AssemblyAi API.
As this apps is using AssemblyAi Api, the key is required to use it. For informations how to get one please refer to assemblyAi
Open the terminal and run the following commands:
# go to 'repo-checker' directory cd typescript/audio2text-input # install dependencies npm install # transpile TS->JS to dist/ npm run build # Pack the Sequence into a gzip format si seq pack dist # Send the Sequence to the Transform-Hub, with a return <Sequence-id> value si seq send dist.tar.gz # Start a Sequence, with the AssemblyAi-key as an argument parameter si seq start <Sequence-id> --args [\"<AssemblyAI-token>\"] # upload file to a instance si inst input - /path/to/your/file -e -t application/octet-stream
All the informations generated by this instance will be available at the log channel.
To get result simply type in console:
si inst output -
to make testing easier the sequence contains file ready to be uploaded.
Logs when running this sequence with a sample file should look like this: