amazon-lex

Play a message to the user after confirmation prompt. like “Please wait. While we are fetching your details”

為{幸葍}努か 提交于 2021-02-11 18:21:44
问题 I have set up a Lex bot which provides the order status to the user. User invoked the intent with a specific utterance. Then lex bot asked the information as requested in the slot specified. Then confirmation prompt is invoked "Are you sure you want information" and the user said "yes". before replying the user with the information, when the user says yes I want that lex bot should say "Please wait, while we are fetching your information". I have tried with different intents invoke. but

Play a message to the user after confirmation prompt. like “Please wait. While we are fetching your details”

*爱你&永不变心* 提交于 2021-02-11 18:21:15
问题 I have set up a Lex bot which provides the order status to the user. User invoked the intent with a specific utterance. Then lex bot asked the information as requested in the slot specified. Then confirmation prompt is invoked "Are you sure you want information" and the user said "yes". before replying the user with the information, when the user says yes I want that lex bot should say "Please wait, while we are fetching your information". I have tried with different intents invoke. but

What is Amazon Lex inbuilt slot type for description or notes?

被刻印的时光 ゝ 提交于 2021-02-11 05:33:01
问题 I have configured my AWS Lex bot to 'Schedule A Meeting' and 'Add Notes' tasks. While meeting scheduling I have a slot 'Meeting Description' where user can add single word to a sentence. Similarly for adding notes I have 'Notes'. For this slot I am not finding any inbuilt slot type like 'AMAZON.Description' or anything which can store a word or a sentence. I tried with 'AMAZON.VideoGame', 'AMAZON.FoodEstablishment' etc. But found intermittent issue with those. Some times they work and some

What is Amazon Lex inbuilt slot type for description or notes?

只谈情不闲聊 提交于 2021-02-11 05:29:55
问题 I have configured my AWS Lex bot to 'Schedule A Meeting' and 'Add Notes' tasks. While meeting scheduling I have a slot 'Meeting Description' where user can add single word to a sentence. Similarly for adding notes I have 'Notes'. For this slot I am not finding any inbuilt slot type like 'AMAZON.Description' or anything which can store a word or a sentence. I tried with 'AMAZON.VideoGame', 'AMAZON.FoodEstablishment' etc. But found intermittent issue with those. Some times they work and some

Multiple response cards unable to be shown for Amazon lex chatbot

杀马特。学长 韩版系。学妹 提交于 2021-01-28 19:00:45
问题 I am currently using Amazon lex to create a chatbot and want to be able to post multiple response cards at once. The question asked by the chatbot will be "Do you have an integrated Shield Plan currently?" and followed will be multiple response cards where it will show a list of plans from different brands. But if the user does not have a plan, there will be an option called "No" on the response card. But if I publish the chatbot let's say on Slack, not even one response card is shown. How do

Is it possible to rename an Intent in Amazon Lex?

烂漫一生 提交于 2021-01-28 06:37:14
问题 I am using Amazon Lex to build a chatbot. I have an intent called GetPersonalLoan which I now want to break down into multiple intents like GetPersonalDetails , GetLoanDetails and so on. So is there any option to change the name of the intent GetPersonalLoan ? 回答1: No, there is currently no ability to rename intents. You can copy or move intents to other lex bots, but the name is fixed and cannot be used a second time in your AWS account. You will have to create a new intent for the new name.

AWS Lex + Lambda - Intercepting all of next user response regardless of context - without defining sample utterances?

蓝咒 提交于 2021-01-27 12:04:00
问题 Consider the following scenario (U=User, L=Lex): U1: Hello L1: Hello, please give me your name to get started. U2: Bob L2: Bob, consider the following question: What colour is the sky? U3: The sky is usually blue but sometimes the sky is red. The system reads a database of questions and randomly chooses one to present to the user. This is done via AWS Lambda and the question is presented to the user in message L2. Is there any way to say that 'the next response from the user should be treated

AWS Lex + Lambda - Intercepting all of next user response regardless of context - without defining sample utterances?

别等时光非礼了梦想. 提交于 2021-01-27 11:52:28
问题 Consider the following scenario (U=User, L=Lex): U1: Hello L1: Hello, please give me your name to get started. U2: Bob L2: Bob, consider the following question: What colour is the sky? U3: The sky is usually blue but sometimes the sky is red. The system reads a database of questions and randomly chooses one to present to the user. This is done via AWS Lambda and the question is presented to the user in message L2. Is there any way to say that 'the next response from the user should be treated

AWS Amplify MissingRequiredParameter userId error

半城伤御伤魂 提交于 2020-12-10 20:47:50
问题 I'm following the guide for starting with Interactions. When I call the send method on Interactions, I get the following error: (node:27796) UnhandledPromiseRejectionWarning: MissingRequiredParameter: Missing required key 'userId' in params It looks like Interactions is expecting a userId param, which in @aws-amplify/interactions/lib/Providers/AWSLexProvider.js , is supposed to be pulled from credentials.identityId . However, when I log credentials , it is type SharedIniFileCredentials ,

AWS Amplify MissingRequiredParameter userId error

余生长醉 提交于 2020-12-10 20:46:12
问题 I'm following the guide for starting with Interactions. When I call the send method on Interactions, I get the following error: (node:27796) UnhandledPromiseRejectionWarning: MissingRequiredParameter: Missing required key 'userId' in params It looks like Interactions is expecting a userId param, which in @aws-amplify/interactions/lib/Providers/AWSLexProvider.js , is supposed to be pulled from credentials.identityId . However, when I log credentials , it is type SharedIniFileCredentials ,