Open divyenduz opened 5 years ago
Streaming transcribe is not supported yet: https://github.com/aws/aws-sdk-js/issues/2416
Need to use the start job and poll method.
This feature has landed in @LingoParrotDevBot
with a hardcoded mp3, as ogg
to mp3
conversion in memory is still pending.
It is pretty unusable because of the following reasons:-
ogg
to mp3
conversion. Also, AWS transcribe only support source file residing on S3, which is where I had to move the voice from telegram server to S3, adding to the slowness. The slowness bit might be mitigated by making the heavier operations async by using chosen_inline_result update type. @LingoParrotDevBot
with around ~60 sec execution time. In its current state, this can't be anyway near being user ready. This feature will be hidden unless multiple improvements are made.
To try it out in its current state, just send a voice towards the bot (English supported)
I am not sure about the use case of Amazon Lex but maybe that can be used for this.
This feature is behind a feature flag and disabled for now because of its short comings.
Like listening, speaking is also very important. This is where LingoParrot can listen to the user and use Amazon Transcribe to put it back to text.
This will help the user try to say things out loud and help them with this aspect of language learning.
Related post: https://developer.ibm.com/answers/questions/424777/help-how-do-i-use-speech-to-text-with-my-telegram/