codeforequity-at / botium-core

The Selenium for Chatbots - Bots Testing Bots
https://www.botium.ai
MIT License
229 stars 64 forks source link

Alexa AVS connector- incorrect conversion of speech to text of Alexa response. #214

Closed ChampNBM closed 5 years ago

ChampNBM commented 5 years ago

Hi, My skill is getting invoked and if I debug I am getting proper Audio response from Alexa as expected. But my test case gets failed since that response is not getting converted to text properly. There are 3 statements and it skips Hi There! and translates 2nd statement that too with incorrect spelling. Is there any solution or workaround for this?

ujja commented 5 years ago

Hello,

For us it worked. What where those statements? Maybe I sound some settings to improve it.

We support two speech to text provider now. One from google, one from amazon. Google text to speech is simplier, and faster, we suggest to use it. But it is possible that Amazon text to speech (transcribe) is better, or at least fits better to other amazon product as Alexa.

You can give a try for the other provider, but I dont expect too mutch difference there.

ChampNBM commented 5 years ago

Statement was Hello there, Welcome to your book recommendation assistant, Let’s get started. and instead of this statement I am getting Welcome to book redemption assistant Hello there and lets get started missing.

Is there any setting I can check or any way I can debug as why it is not converting correctly as I can hear audio response is correct. but not text. and because of this my script gets failed. I am using google

ujja commented 5 years ago

We have found something to improve it, update is coming in some days.

ChampNBM commented 5 years ago

Please let me know once it is ready for use. Thanks :)

ujja commented 5 years ago

It is out yesterday.

Documentation at: https://github.com/codeforequity-at/botium-connector-alexa-avs#alexa_avs_stt_google_cloud_speech_send_text_as_phrase_hint

Changed:

But I suppose It wont help you. It helped me, if I used a world which is unknown to Google, and easy to misunderstand (krls or something was it) for normal worlds it did not helped. But I tested on german.

Please inform us about your experience.

If it does not change anything, then send logs please.