I was able to build Amazon Lex sample app with a new bot including several new intents.
What I'm trying to support now is to change the character and output voice
For example,
Currently we have 7 characters in default : Joanna, Salli, Kimberly, Kendra, Justin, Joey, Ivy.
User : Who are you?
Bot : (Salli's Voice) I'm Salli.
User : I want to change to Joey.
Bot : (Salli's Voice) Ok. I'll change to Joey
( --> System Command : Change the voice to Joey)
User : Who are you?
Bot : (Joey's Voice) I'm Joey.
In order to achieve the goal, I need to know 3 things. (At least third one)
- How to get the current output voice
- How to add the current output voice name in the utterance answer
- How to change the output voice with system command (maybe Lambda with Restful API?)
I tried to get the information from the API doc (http://docs.aws.amazon.com/en_en/lex/latest/dg/API_Reference.html), but it wasn't helpful.
Any comments will be welcomed.
Thanks.