amazon lex slot type with multiple values











up vote
0
down vote

favorite












Could anyone help me to resolve the issue with amazon lex slot type.
Here is the requirement: I am using AMAZON.Organization slot type but it is not recognizing multiple words ( Lets say "Edge Connections")



Any help is much appreciated.
Sample Utterances
TestCase



Thanks,
Vempati










share|improve this question
























  • Please show how you have your bot set up. Either include the relevant part of your exported Lex JSON, or add some screenshots to the question. The slots section and the intent utterances are key. The more information you include in your questions the better, like an example ideal interaction compared to what you are getting. If there are no problems there, then I have a workaround to suggest, but let's start with making sure that the bot is set up correctly.
    – Jay A. Little
    Nov 9 at 3:15










  • Hi Jay, Thanks for the quick response. Here is the snapshot attached.
    – V Subrahmanyam
    Nov 9 at 6:20










  • Great, looks good. Now are you actually using the "Lambda initialization and validation" yet? Also just checking if you really want to use AMAZON.Organization which looks for "Names of non-governmental organizations" such as "tacobell", "amazon", "microsoft"? Because it looks like you want more specific and possibly less well known company names.
    – Jay A. Little
    Nov 9 at 6:51










  • No I am not using Lambda initialization and validation, Is it needed?I have tried with custom type slot with the possible values and trained with data set ( 50 Values).Still it is not recognizing. I found only AMAZON.Organization, which is relevant to this use case by referring the documentation it can accept multiple words in the slots( eg: Edge Communication). Please suggest a better approach
    – V Subrahmanyam
    Nov 9 at 8:21








  • 1




    Thanks for inputs, found the actual Issue. Lex is filling the slot , my fulfillment lambda is failing due to some validations.Issue is resolved.
    – V Subrahmanyam
    Nov 9 at 10:02

















up vote
0
down vote

favorite












Could anyone help me to resolve the issue with amazon lex slot type.
Here is the requirement: I am using AMAZON.Organization slot type but it is not recognizing multiple words ( Lets say "Edge Connections")



Any help is much appreciated.
Sample Utterances
TestCase



Thanks,
Vempati










share|improve this question
























  • Please show how you have your bot set up. Either include the relevant part of your exported Lex JSON, or add some screenshots to the question. The slots section and the intent utterances are key. The more information you include in your questions the better, like an example ideal interaction compared to what you are getting. If there are no problems there, then I have a workaround to suggest, but let's start with making sure that the bot is set up correctly.
    – Jay A. Little
    Nov 9 at 3:15










  • Hi Jay, Thanks for the quick response. Here is the snapshot attached.
    – V Subrahmanyam
    Nov 9 at 6:20










  • Great, looks good. Now are you actually using the "Lambda initialization and validation" yet? Also just checking if you really want to use AMAZON.Organization which looks for "Names of non-governmental organizations" such as "tacobell", "amazon", "microsoft"? Because it looks like you want more specific and possibly less well known company names.
    – Jay A. Little
    Nov 9 at 6:51










  • No I am not using Lambda initialization and validation, Is it needed?I have tried with custom type slot with the possible values and trained with data set ( 50 Values).Still it is not recognizing. I found only AMAZON.Organization, which is relevant to this use case by referring the documentation it can accept multiple words in the slots( eg: Edge Communication). Please suggest a better approach
    – V Subrahmanyam
    Nov 9 at 8:21








  • 1




    Thanks for inputs, found the actual Issue. Lex is filling the slot , my fulfillment lambda is failing due to some validations.Issue is resolved.
    – V Subrahmanyam
    Nov 9 at 10:02















up vote
0
down vote

favorite









up vote
0
down vote

favorite











Could anyone help me to resolve the issue with amazon lex slot type.
Here is the requirement: I am using AMAZON.Organization slot type but it is not recognizing multiple words ( Lets say "Edge Connections")



Any help is much appreciated.
Sample Utterances
TestCase



Thanks,
Vempati










share|improve this question















Could anyone help me to resolve the issue with amazon lex slot type.
Here is the requirement: I am using AMAZON.Organization slot type but it is not recognizing multiple words ( Lets say "Edge Connections")



Any help is much appreciated.
Sample Utterances
TestCase



Thanks,
Vempati







amazon-web-services aws-lambda bots chatbot amazon-lex






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 9 at 6:21

























asked Nov 8 at 13:14









V Subrahmanyam

12




12












  • Please show how you have your bot set up. Either include the relevant part of your exported Lex JSON, or add some screenshots to the question. The slots section and the intent utterances are key. The more information you include in your questions the better, like an example ideal interaction compared to what you are getting. If there are no problems there, then I have a workaround to suggest, but let's start with making sure that the bot is set up correctly.
    – Jay A. Little
    Nov 9 at 3:15










  • Hi Jay, Thanks for the quick response. Here is the snapshot attached.
    – V Subrahmanyam
    Nov 9 at 6:20










  • Great, looks good. Now are you actually using the "Lambda initialization and validation" yet? Also just checking if you really want to use AMAZON.Organization which looks for "Names of non-governmental organizations" such as "tacobell", "amazon", "microsoft"? Because it looks like you want more specific and possibly less well known company names.
    – Jay A. Little
    Nov 9 at 6:51










  • No I am not using Lambda initialization and validation, Is it needed?I have tried with custom type slot with the possible values and trained with data set ( 50 Values).Still it is not recognizing. I found only AMAZON.Organization, which is relevant to this use case by referring the documentation it can accept multiple words in the slots( eg: Edge Communication). Please suggest a better approach
    – V Subrahmanyam
    Nov 9 at 8:21








  • 1




    Thanks for inputs, found the actual Issue. Lex is filling the slot , my fulfillment lambda is failing due to some validations.Issue is resolved.
    – V Subrahmanyam
    Nov 9 at 10:02




















  • Please show how you have your bot set up. Either include the relevant part of your exported Lex JSON, or add some screenshots to the question. The slots section and the intent utterances are key. The more information you include in your questions the better, like an example ideal interaction compared to what you are getting. If there are no problems there, then I have a workaround to suggest, but let's start with making sure that the bot is set up correctly.
    – Jay A. Little
    Nov 9 at 3:15










  • Hi Jay, Thanks for the quick response. Here is the snapshot attached.
    – V Subrahmanyam
    Nov 9 at 6:20










  • Great, looks good. Now are you actually using the "Lambda initialization and validation" yet? Also just checking if you really want to use AMAZON.Organization which looks for "Names of non-governmental organizations" such as "tacobell", "amazon", "microsoft"? Because it looks like you want more specific and possibly less well known company names.
    – Jay A. Little
    Nov 9 at 6:51










  • No I am not using Lambda initialization and validation, Is it needed?I have tried with custom type slot with the possible values and trained with data set ( 50 Values).Still it is not recognizing. I found only AMAZON.Organization, which is relevant to this use case by referring the documentation it can accept multiple words in the slots( eg: Edge Communication). Please suggest a better approach
    – V Subrahmanyam
    Nov 9 at 8:21








  • 1




    Thanks for inputs, found the actual Issue. Lex is filling the slot , my fulfillment lambda is failing due to some validations.Issue is resolved.
    – V Subrahmanyam
    Nov 9 at 10:02


















Please show how you have your bot set up. Either include the relevant part of your exported Lex JSON, or add some screenshots to the question. The slots section and the intent utterances are key. The more information you include in your questions the better, like an example ideal interaction compared to what you are getting. If there are no problems there, then I have a workaround to suggest, but let's start with making sure that the bot is set up correctly.
– Jay A. Little
Nov 9 at 3:15




Please show how you have your bot set up. Either include the relevant part of your exported Lex JSON, or add some screenshots to the question. The slots section and the intent utterances are key. The more information you include in your questions the better, like an example ideal interaction compared to what you are getting. If there are no problems there, then I have a workaround to suggest, but let's start with making sure that the bot is set up correctly.
– Jay A. Little
Nov 9 at 3:15












Hi Jay, Thanks for the quick response. Here is the snapshot attached.
– V Subrahmanyam
Nov 9 at 6:20




Hi Jay, Thanks for the quick response. Here is the snapshot attached.
– V Subrahmanyam
Nov 9 at 6:20












Great, looks good. Now are you actually using the "Lambda initialization and validation" yet? Also just checking if you really want to use AMAZON.Organization which looks for "Names of non-governmental organizations" such as "tacobell", "amazon", "microsoft"? Because it looks like you want more specific and possibly less well known company names.
– Jay A. Little
Nov 9 at 6:51




Great, looks good. Now are you actually using the "Lambda initialization and validation" yet? Also just checking if you really want to use AMAZON.Organization which looks for "Names of non-governmental organizations" such as "tacobell", "amazon", "microsoft"? Because it looks like you want more specific and possibly less well known company names.
– Jay A. Little
Nov 9 at 6:51












No I am not using Lambda initialization and validation, Is it needed?I have tried with custom type slot with the possible values and trained with data set ( 50 Values).Still it is not recognizing. I found only AMAZON.Organization, which is relevant to this use case by referring the documentation it can accept multiple words in the slots( eg: Edge Communication). Please suggest a better approach
– V Subrahmanyam
Nov 9 at 8:21






No I am not using Lambda initialization and validation, Is it needed?I have tried with custom type slot with the possible values and trained with data set ( 50 Values).Still it is not recognizing. I found only AMAZON.Organization, which is relevant to this use case by referring the documentation it can accept multiple words in the slots( eg: Edge Communication). Please suggest a better approach
– V Subrahmanyam
Nov 9 at 8:21






1




1




Thanks for inputs, found the actual Issue. Lex is filling the slot , my fulfillment lambda is failing due to some validations.Issue is resolved.
– V Subrahmanyam
Nov 9 at 10:02






Thanks for inputs, found the actual Issue. Lex is filling the slot , my fulfillment lambda is failing due to some validations.Issue is resolved.
– V Subrahmanyam
Nov 9 at 10:02














1 Answer
1






active

oldest

votes

















up vote
0
down vote














  1. Create custom slot type and define all the possible account names in it.

  2. If you want your slot to accept only the values which you have defined then select Restrict to Slot values and Synonyms under Slot Resolution.

  3. Then assign your custom slot type to the slot {AccountName}.


It worked for me.






share|improve this answer























  • Thanks for the inputs.
    – V Subrahmanyam
    Nov 9 at 10:02










  • No mention. If this answer is really useful and works for you then upvote it. Will be helpful for others.
    – Praveen Raj
    Nov 9 at 10:26











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',
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%2f53208517%2famazon-lex-slot-type-with-multiple-values%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








up vote
0
down vote














  1. Create custom slot type and define all the possible account names in it.

  2. If you want your slot to accept only the values which you have defined then select Restrict to Slot values and Synonyms under Slot Resolution.

  3. Then assign your custom slot type to the slot {AccountName}.


It worked for me.






share|improve this answer























  • Thanks for the inputs.
    – V Subrahmanyam
    Nov 9 at 10:02










  • No mention. If this answer is really useful and works for you then upvote it. Will be helpful for others.
    – Praveen Raj
    Nov 9 at 10:26















up vote
0
down vote














  1. Create custom slot type and define all the possible account names in it.

  2. If you want your slot to accept only the values which you have defined then select Restrict to Slot values and Synonyms under Slot Resolution.

  3. Then assign your custom slot type to the slot {AccountName}.


It worked for me.






share|improve this answer























  • Thanks for the inputs.
    – V Subrahmanyam
    Nov 9 at 10:02










  • No mention. If this answer is really useful and works for you then upvote it. Will be helpful for others.
    – Praveen Raj
    Nov 9 at 10:26













up vote
0
down vote










up vote
0
down vote










  1. Create custom slot type and define all the possible account names in it.

  2. If you want your slot to accept only the values which you have defined then select Restrict to Slot values and Synonyms under Slot Resolution.

  3. Then assign your custom slot type to the slot {AccountName}.


It worked for me.






share|improve this answer















  1. Create custom slot type and define all the possible account names in it.

  2. If you want your slot to accept only the values which you have defined then select Restrict to Slot values and Synonyms under Slot Resolution.

  3. Then assign your custom slot type to the slot {AccountName}.


It worked for me.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 9 at 9:46

























answered Nov 9 at 9:36









Praveen Raj

215




215












  • Thanks for the inputs.
    – V Subrahmanyam
    Nov 9 at 10:02










  • No mention. If this answer is really useful and works for you then upvote it. Will be helpful for others.
    – Praveen Raj
    Nov 9 at 10:26


















  • Thanks for the inputs.
    – V Subrahmanyam
    Nov 9 at 10:02










  • No mention. If this answer is really useful and works for you then upvote it. Will be helpful for others.
    – Praveen Raj
    Nov 9 at 10:26
















Thanks for the inputs.
– V Subrahmanyam
Nov 9 at 10:02




Thanks for the inputs.
– V Subrahmanyam
Nov 9 at 10:02












No mention. If this answer is really useful and works for you then upvote it. Will be helpful for others.
– Praveen Raj
Nov 9 at 10:26




No mention. If this answer is really useful and works for you then upvote it. Will be helpful for others.
– Praveen Raj
Nov 9 at 10:26


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53208517%2famazon-lex-slot-type-with-multiple-values%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

Schultheiß

Liste der Kulturdenkmale in Wilsdruff

Android Play Services Check