Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for elicitSlot from different intent? #162

Closed
GomuGomuMan opened this issue Aug 2, 2017 · 6 comments
Closed

Support for elicitSlot from different intent? #162

GomuGomuMan opened this issue Aug 2, 2017 · 6 comments

Comments

@GomuGomuMan
Copy link

Suppose I have 2 intents A and B. Intent A uses Dialog Interface. Intent B is an AMAZON.HelpIntent.

What I want to do is a way to elicitSlot of intent A from intent B (I save intent and slot information on sessionAttributes). When I try to apply
this.emit(':elicitSlot', slot, prompt, reprompt, updatedIntent);
method with an updated Intent (with changed intentName). It gives me this error:

error

However, this functionality is supported on Amazon Lex as specified here on the elicitSlot section

@tianrenz
Copy link
Contributor

Hi,
Please make sure the updatedIntent matches exactly with the intent that your skill receives.
Please see here for more information on elicitSlot.

Regards

@khanh-nguyen
Copy link

It looks like it’s not supported :(

Note that you cannot change intents when returning a Dialog directive, so the intent name and set of slots must match the intent sent to your skill.

@tobias74
Copy link

tobias74 commented Jan 26, 2018

Is there any workaround?

Multi-Turn dialogs often elicit specific slots which are then answered by a single word. In case the user triggered the HelpIntent during a multi-turn dialog I need a way to re-elicit that very specific slot on that very intent. I cannot rely on the user saying a complete sentence to trigger that specific intent again.

The user is more likely to say just that one-word-answer I tried to elicit in the first place. But this one word abviously cannot trigger the correct intent. The wanted intent, for which I try to re-elicit a slot, has to be provided from within the HelpIntent like so:

this.emit(':elicitSlot','slotName','intentName');

@b11n
Copy link

b11n commented Mar 21, 2018

+1

@patjackson52
Copy link

+1. shame the issue was closed without considering this as a feature request

@tianrenz
Copy link
Contributor

tianrenz commented Sep 5, 2018

@patjackson52 , please go to alexa voice forum and post the feature request there, as this is not a SDK related issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants