Alexa call custom intent without “ask” the skill












0















I would like to call my utterances without saying ask + InvocationName.
By example:




Alexa, what is my plan today ?




Instead of




Alexa, ask my planning what is my plan today ?




I was thinking that you need to launch your skill (Alexa, launch my planning)
and set shouldEndSession to false, but it's not working, do i do it wrong ?



I found "canfulfillintentrequest" explaning here but i'm not able to turn on it on dev alexa panel :/



So, i'm stuck and not sure if it's really possible ?



Thanks by advance for the answer.










share|improve this question























  • Probably not want you're looking for but SmartHome skills allow for name free interaction "eg. alexa turn on my device"

    – German
    Nov 16 '18 at 0:35











  • I'm looking for a custom skills but thanks for the info :/

    – Nearyuk
    Nov 16 '18 at 9:25
















0















I would like to call my utterances without saying ask + InvocationName.
By example:




Alexa, what is my plan today ?




Instead of




Alexa, ask my planning what is my plan today ?




I was thinking that you need to launch your skill (Alexa, launch my planning)
and set shouldEndSession to false, but it's not working, do i do it wrong ?



I found "canfulfillintentrequest" explaning here but i'm not able to turn on it on dev alexa panel :/



So, i'm stuck and not sure if it's really possible ?



Thanks by advance for the answer.










share|improve this question























  • Probably not want you're looking for but SmartHome skills allow for name free interaction "eg. alexa turn on my device"

    – German
    Nov 16 '18 at 0:35











  • I'm looking for a custom skills but thanks for the info :/

    – Nearyuk
    Nov 16 '18 at 9:25














0












0








0








I would like to call my utterances without saying ask + InvocationName.
By example:




Alexa, what is my plan today ?




Instead of




Alexa, ask my planning what is my plan today ?




I was thinking that you need to launch your skill (Alexa, launch my planning)
and set shouldEndSession to false, but it's not working, do i do it wrong ?



I found "canfulfillintentrequest" explaning here but i'm not able to turn on it on dev alexa panel :/



So, i'm stuck and not sure if it's really possible ?



Thanks by advance for the answer.










share|improve this question














I would like to call my utterances without saying ask + InvocationName.
By example:




Alexa, what is my plan today ?




Instead of




Alexa, ask my planning what is my plan today ?




I was thinking that you need to launch your skill (Alexa, launch my planning)
and set shouldEndSession to false, but it's not working, do i do it wrong ?



I found "canfulfillintentrequest" explaning here but i'm not able to turn on it on dev alexa panel :/



So, i'm stuck and not sure if it's really possible ?



Thanks by advance for the answer.







alexa alexa-skill alexa-app






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 14 '18 at 16:47









NearyukNearyuk

808




808













  • Probably not want you're looking for but SmartHome skills allow for name free interaction "eg. alexa turn on my device"

    – German
    Nov 16 '18 at 0:35











  • I'm looking for a custom skills but thanks for the info :/

    – Nearyuk
    Nov 16 '18 at 9:25



















  • Probably not want you're looking for but SmartHome skills allow for name free interaction "eg. alexa turn on my device"

    – German
    Nov 16 '18 at 0:35











  • I'm looking for a custom skills but thanks for the info :/

    – Nearyuk
    Nov 16 '18 at 9:25

















Probably not want you're looking for but SmartHome skills allow for name free interaction "eg. alexa turn on my device"

– German
Nov 16 '18 at 0:35





Probably not want you're looking for but SmartHome skills allow for name free interaction "eg. alexa turn on my device"

– German
Nov 16 '18 at 0:35













I'm looking for a custom skills but thanks for the info :/

– Nearyuk
Nov 16 '18 at 9:25





I'm looking for a custom skills but thanks for the info :/

– Nearyuk
Nov 16 '18 at 9:25












1 Answer
1






active

oldest

votes


















3














canfulfillintentrequest is exactly what you want if you are looking for name-free interactions to interact with Alexa without invoking a specific skill by its invocation name.



How CanFulfillIntentRequest works:




  1. The customer speaks to Alexa with a requested action, a question, or a statement that does not include a skill name.

  2. Alexa, process this utterance and queries few skills which can handle CanFulfillIntentRequest to check whether they can fulfill the request.

  3. Your skill receive a CanFulfillIntentRequest with the processed utterances and slots. Your skills has to then respond back with a canFulfillIntent object that contains the mandatory field canFulfill for the intent, and two optional fields for slot– canUnderstand and canFulfill.

  4. Alexa collects the responses from the original list of skills and select the best skill to fulfill the customer's request.

  5. Alexa calls the selected skill with an actual IntentRequest, just like how a customer might have invoked the skill by name. Your skill has to then respond back to this IntentRequest as usual.


If your skill supports the CanFulfillIntentRequest interface, then your skill may be chosen and auto-enabled to fulfill a query for users who have not enabled your skill yet.





shouldEndSession property is used to keep-alive a skill session (when you want a response from the user) for a max time of 8 seconds followed by reprompt and another 8 seconds. You cannot extend this time. While you are in an active session you don't have to use invocation name.




Note: The use of CanFulfillIntentRequest in Alexa skills is offered as a public preview/beta and may improve or change. This
feature is available for English (U.S.) skills only.







share|improve this answer
























  • Thanks for the answer, it's exactly what i'm looking for, unfortunatelyi'm french: / But maybe a tricks existing or an other solution? Because Skills like Spotify or Uber... are using it

    – Nearyuk
    Nov 16 '18 at 9:24













Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305083%2falexa-call-custom-intent-without-ask-the-skill%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














canfulfillintentrequest is exactly what you want if you are looking for name-free interactions to interact with Alexa without invoking a specific skill by its invocation name.



How CanFulfillIntentRequest works:




  1. The customer speaks to Alexa with a requested action, a question, or a statement that does not include a skill name.

  2. Alexa, process this utterance and queries few skills which can handle CanFulfillIntentRequest to check whether they can fulfill the request.

  3. Your skill receive a CanFulfillIntentRequest with the processed utterances and slots. Your skills has to then respond back with a canFulfillIntent object that contains the mandatory field canFulfill for the intent, and two optional fields for slot– canUnderstand and canFulfill.

  4. Alexa collects the responses from the original list of skills and select the best skill to fulfill the customer's request.

  5. Alexa calls the selected skill with an actual IntentRequest, just like how a customer might have invoked the skill by name. Your skill has to then respond back to this IntentRequest as usual.


If your skill supports the CanFulfillIntentRequest interface, then your skill may be chosen and auto-enabled to fulfill a query for users who have not enabled your skill yet.





shouldEndSession property is used to keep-alive a skill session (when you want a response from the user) for a max time of 8 seconds followed by reprompt and another 8 seconds. You cannot extend this time. While you are in an active session you don't have to use invocation name.




Note: The use of CanFulfillIntentRequest in Alexa skills is offered as a public preview/beta and may improve or change. This
feature is available for English (U.S.) skills only.







share|improve this answer
























  • Thanks for the answer, it's exactly what i'm looking for, unfortunatelyi'm french: / But maybe a tricks existing or an other solution? Because Skills like Spotify or Uber... are using it

    – Nearyuk
    Nov 16 '18 at 9:24


















3














canfulfillintentrequest is exactly what you want if you are looking for name-free interactions to interact with Alexa without invoking a specific skill by its invocation name.



How CanFulfillIntentRequest works:




  1. The customer speaks to Alexa with a requested action, a question, or a statement that does not include a skill name.

  2. Alexa, process this utterance and queries few skills which can handle CanFulfillIntentRequest to check whether they can fulfill the request.

  3. Your skill receive a CanFulfillIntentRequest with the processed utterances and slots. Your skills has to then respond back with a canFulfillIntent object that contains the mandatory field canFulfill for the intent, and two optional fields for slot– canUnderstand and canFulfill.

  4. Alexa collects the responses from the original list of skills and select the best skill to fulfill the customer's request.

  5. Alexa calls the selected skill with an actual IntentRequest, just like how a customer might have invoked the skill by name. Your skill has to then respond back to this IntentRequest as usual.


If your skill supports the CanFulfillIntentRequest interface, then your skill may be chosen and auto-enabled to fulfill a query for users who have not enabled your skill yet.





shouldEndSession property is used to keep-alive a skill session (when you want a response from the user) for a max time of 8 seconds followed by reprompt and another 8 seconds. You cannot extend this time. While you are in an active session you don't have to use invocation name.




Note: The use of CanFulfillIntentRequest in Alexa skills is offered as a public preview/beta and may improve or change. This
feature is available for English (U.S.) skills only.







share|improve this answer
























  • Thanks for the answer, it's exactly what i'm looking for, unfortunatelyi'm french: / But maybe a tricks existing or an other solution? Because Skills like Spotify or Uber... are using it

    – Nearyuk
    Nov 16 '18 at 9:24
















3












3








3







canfulfillintentrequest is exactly what you want if you are looking for name-free interactions to interact with Alexa without invoking a specific skill by its invocation name.



How CanFulfillIntentRequest works:




  1. The customer speaks to Alexa with a requested action, a question, or a statement that does not include a skill name.

  2. Alexa, process this utterance and queries few skills which can handle CanFulfillIntentRequest to check whether they can fulfill the request.

  3. Your skill receive a CanFulfillIntentRequest with the processed utterances and slots. Your skills has to then respond back with a canFulfillIntent object that contains the mandatory field canFulfill for the intent, and two optional fields for slot– canUnderstand and canFulfill.

  4. Alexa collects the responses from the original list of skills and select the best skill to fulfill the customer's request.

  5. Alexa calls the selected skill with an actual IntentRequest, just like how a customer might have invoked the skill by name. Your skill has to then respond back to this IntentRequest as usual.


If your skill supports the CanFulfillIntentRequest interface, then your skill may be chosen and auto-enabled to fulfill a query for users who have not enabled your skill yet.





shouldEndSession property is used to keep-alive a skill session (when you want a response from the user) for a max time of 8 seconds followed by reprompt and another 8 seconds. You cannot extend this time. While you are in an active session you don't have to use invocation name.




Note: The use of CanFulfillIntentRequest in Alexa skills is offered as a public preview/beta and may improve or change. This
feature is available for English (U.S.) skills only.







share|improve this answer













canfulfillintentrequest is exactly what you want if you are looking for name-free interactions to interact with Alexa without invoking a specific skill by its invocation name.



How CanFulfillIntentRequest works:




  1. The customer speaks to Alexa with a requested action, a question, or a statement that does not include a skill name.

  2. Alexa, process this utterance and queries few skills which can handle CanFulfillIntentRequest to check whether they can fulfill the request.

  3. Your skill receive a CanFulfillIntentRequest with the processed utterances and slots. Your skills has to then respond back with a canFulfillIntent object that contains the mandatory field canFulfill for the intent, and two optional fields for slot– canUnderstand and canFulfill.

  4. Alexa collects the responses from the original list of skills and select the best skill to fulfill the customer's request.

  5. Alexa calls the selected skill with an actual IntentRequest, just like how a customer might have invoked the skill by name. Your skill has to then respond back to this IntentRequest as usual.


If your skill supports the CanFulfillIntentRequest interface, then your skill may be chosen and auto-enabled to fulfill a query for users who have not enabled your skill yet.





shouldEndSession property is used to keep-alive a skill session (when you want a response from the user) for a max time of 8 seconds followed by reprompt and another 8 seconds. You cannot extend this time. While you are in an active session you don't have to use invocation name.




Note: The use of CanFulfillIntentRequest in Alexa skills is offered as a public preview/beta and may improve or change. This
feature is available for English (U.S.) skills only.








share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 15 '18 at 9:07









Cicil ThomasCicil Thomas

3,24721532




3,24721532













  • Thanks for the answer, it's exactly what i'm looking for, unfortunatelyi'm french: / But maybe a tricks existing or an other solution? Because Skills like Spotify or Uber... are using it

    – Nearyuk
    Nov 16 '18 at 9:24





















  • Thanks for the answer, it's exactly what i'm looking for, unfortunatelyi'm french: / But maybe a tricks existing or an other solution? Because Skills like Spotify or Uber... are using it

    – Nearyuk
    Nov 16 '18 at 9:24



















Thanks for the answer, it's exactly what i'm looking for, unfortunatelyi'm french: / But maybe a tricks existing or an other solution? Because Skills like Spotify or Uber... are using it

– Nearyuk
Nov 16 '18 at 9:24







Thanks for the answer, it's exactly what i'm looking for, unfortunatelyi'm french: / But maybe a tricks existing or an other solution? Because Skills like Spotify or Uber... are using it

– Nearyuk
Nov 16 '18 at 9:24






















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305083%2falexa-call-custom-intent-without-ask-the-skill%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bressuire

Vorschmack

Quarantine