Questions tagged with Amazon Lex

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

Hi all, Apologies in advance for the simple question, i am still learning lexv2. I currently have an intent that has an output context, as I’d like to be able to use the slots from that intent in future intents. However when i set the context slot value as a default value for my slot in a different intent, and test it, the value only gets set as default when i set the input context as the specific context. This is not what i want as i want the user to be able to invoke the intent regardless of the context. Is there any ways to get the slot value to default to context value without specifying an input context, or is it a lambda problem?
1
answers
0
votes
5
views
asked 2 days ago
Hi, Does anyone know when this error occurs? and how can we fix this? Sometimes it happens when we use "RecognizeText" API. Error: "Encountered resource conflict while saving session data"
1
answers
0
votes
13
views
amin
asked 9 days ago
I want to give condition in fulfillment of an intent but it's not working its saying invalid slot name.
0
answers
0
votes
11
views
swarup
asked 9 days ago
Actually i am not clear yet. In my scenario I have created an authentication intent . for other intent like transaction related intent if the user directly hit those transaction related intent it should ask first authentication like username , mobile and email. also i want that if the authentication happened for one time then it should not ask for other intent .
1
answers
0
votes
14
views
swarup
asked 9 days ago
I am creating a chatbot using Lex V2. So i want to validate the dates because it is taking also past dates for booking . How can i validate dates . And i have an another question that what are session attributes how can we use them . Means if 1st intent is for authentication it should not ask again about authentication for other intent.
Accepted AnswerAmazon Lex
2
answers
0
votes
27
views
swarup
asked 16 days ago
Fairly new to Lex bots and Lambda so please forgive my utter lack of understanding I'm following this blog https://aws.amazon.com/blogs/contact-center/updating-your-addresses-with-amazon-connect-and-amazon-lex/ and built out a lex bot along with the lambda, but what isnt clear to me is how i connect the bot up to the lambda I've managed to publish it and link up the bot alias to the lambda alias, i can see it gets called but the responses i get in the bot dont align with what they should be. eg: me: Update Address bot: Intent UpdateAddress is fulfilled me: 90210 (this flows through to the zipcode slot) bot: Intent UpdateAddress is fulfilled Is this all because i used a v2 bot? and if so, what changes do i need to make to make it work?
2
answers
0
votes
48
views
asked 24 days ago
I'm trying to find a way of creating response cards (with button options) in Lex and integrating it with Amazon Connect. However, I wasn't able to find a solution using the UI in Lex V2. I believe Lex V1 had support for response cards via UI, however in Lex V2 the only way I was able to get those response cards to show up in Amazon Connect's test chat was by using a Lambda function. Is there a method of creating these response cards without using lambda?
2
answers
0
votes
57
views
Faad
asked 24 days ago
The "Code hook" is not invoking Lambda after a successful slot elicitation (even though Lex indicates Code Hook success) unless I choose to invoke Lambda at every turn. I'd like to limit the use of Lambda to utility functions and have conversation flow and logic in Lex as much as possible. Where am I going wrong? **---Background---** I'm writing a simple Intent in Lex v2 to get a number of days to schedule a reminder at the date calculated from the duration from the current date. I'm eliciting the duration in a Slot and then storing the calculated date as a Session Variable. I can get the Lambda code to invoke under the following conditions: 1. Fulfillment: When "Invoke Lambda" is checked - The is with the message text coming directly from Lambda (with Fulfillment state as "Fulfilled" and dialogAction:type as "Close") or by delegating the response (dialogAction:type as "Delegate") to the Fulfillment "Success Response" which references both duration Slot and calculated date Session Variable values 2. When the "Code hook - optional" is checked, calling the Lambda at each turn. The issue with #1 is that waiting until Fulfillment makes the dialog too verbose for my taste (i.e. "What's the duration?" -> "So, {duration} days?" -> "OK, scheduled for [calculated date]" -> "Scheduling successful for [date]") as I'd like to use this in SMS functionality. The user doesn't get to confirm the date, only the duration. The date is what I'd like to be confirmed. The issue with #2 is that my Lambda function has to be more sophisticated (check for conditions, errors, etc.) and I'd rather only pay for Lambda invocations that actually do something. Ideally, I'd like this to work like it's pictured here - with the "Code hook" only being called AFTER slot value elicitation and prior to confirmation. So, that I get a more useful confirmation message (i.e a flow that's more like this "What's the duration" -> "You would like to schedule in {duration} days, which would be [calculated date] is this correct?" ![Lex Flow](/media/postImages/original/IMR50toTUMT_21Q_lEKZYlgg) I can get the appropriate "Success response" from the Code Hook, but there's zero evidence in CloudWatch that the Lambda function was ever called and the bot fails on fulfillment because the session variable - [calculated_time] - is never set by the Lambda function.
1
answers
0
votes
50
views
asked a month ago
I have a scenario where I am making an outbound call using Amazon Connect StartOutboundVoiceContact API. This outbound call hits another contact flow which is an inbound contact flow. Is there any chance to detect, when the call is picked up by the agent? Or how can I detect the human voice in the contact flow so, then I can transfer the call to my agent. Actually, I want to start an outbound call, when it hits another contact flow and this call will then placed to the queue, so when the agent picks up the call then I transfer this call to my agent. Is there any possibility to detect this? If yes, then please guide? Edited** I want to make an outbound call in which AWS Lex is configured in the contact flow. The outbound destination number also configured with a third party (or any other IVR) that asks some question from us like what is your tax id, what is your name, etc, etc. So, I want to answer all these questions with the help of Lex bot, where I have already configured required intents. So, the bot will answer these question and then third party IVR transfers the call to their agent. I want to know that when their agent picks up the call then our call should be routed to our agent not before. We don't want to wait in the queue. That's why I am asking for human voice detection so we can implement it in our use case. Any other solution will be highly appreciated.
2
answers
0
votes
35
views
asked a month ago
I'm managing many lex bot in my account, is there any specific way to group my lex bots by category like this below : restaurant bots : contains 2 bots car bots : contains 3 bots
1
answers
0
votes
21
views
ayoub
asked a month ago
What are the steps to integrate a chatbot in android & iOS app? AWS Amplify documentation does not have clear documentation for the same. The Amplify Interactions page does not mention anything on Android / iOS. It has info only for React Native & javascript.
1
answers
0
votes
28
views
asked a month ago
![grxml size limit error](/media/postImages/original/IMJ7cwyHOrTW2Akjb_gMiU4g) Hi, this week, I tried to create an amazon Lex chatbot using a custom grammar slot type based on grxml file. After every build try, there is an error coming up. Is there any way to adjust Lex externalGrammar file size limit more than 100 KO?
0
answers
0
votes
35
views
Marwen
asked a month ago