Open billyvg opened 7 years ago
Could you provide an example of usage for Dialog.Delegate
decorator? I was trying to use it but I haven't succeeded.
BTW, in my code I'm using the Dialog.ElicitSlot
this way:
import { Dialog } from "../constants";
export const ElicitSlot = slot => ({
type: "Dialog.ElicitSlot",
slotToElicit: slot
});
Then in my skill:
import { ElicitSlot } from './somewhere';
// ...
return Response.ask('What is your name?').directives(ElicitSlot('name'))
I can create a PR if you point me where should I create this directives, from what I've seen I think it belongs to the alexa-response
package, just like AudioPlayer
we could have Dialog
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/dialog-interface-reference