Questions tagged [amazon-lex]

Amazon Lex is "a service for building conversational interfaces into any application using voice and text."

What questions should have this tag?
Questions related to Amazon-Lex, AWS-Lex should be asked here. Mostly AWS-Lambda is used as the backend for Lex bots, so those questions are also valid as they are both connected.

Some basic definitions
Chatbots: Chatbots are computer programs designed to simulate conversation with human users, especially over the Internet.
Amazon Lex: Amazon Lex is a service for building conversational interfaces using voice and text.
Amazon Lambda: AWS Lambda is a compute service that lets you run code without provisioning or managing servers. AWS Lambda executes your code only when needed and scales automatically, from a few requests per day to thousands per second.

Brief introduction to the subject
Amazon Lex is a service for building conversational interfaces using voice and text. Powered by the same conversational engine as Alexa, Amazon Lex provides high quality speech recognition and language understanding capabilities, enabling addition of sophisticated, natural language ‘chatbots’ to new and existing applications.
Amazon Lex leverages AWS Lambda for Intent fulfillment, Amazon Cognito for user authentication, and Amazon Polly for text to speech. In addition, AWS Amplify can be used to automatically provision bots from a template.

Important links for learning more
https://aws.amazon.com/lex/
http://docs.aws.amazon.com/lex/latest/dg/what-is.html
http://docs.aws.amazon.com/lambda/latest/dg/welcome.html

728 questions
2
votes
2 answers

Does Amazon aws lex chatbot supports videos?

I am new to Amazon aws, Is lex chat bot support video eg MP4 , ? Assume something like this: Bot: would you like to watch the tutorial? Human: Yes. Bot: displays a video A video can be alone or with response card . Is this possible????
The Dead Man
  • 6,258
  • 28
  • 111
  • 193
2
votes
1 answer

Is there any configuration required in AWS to the confirm intent to accept utterances like "yes it is" or "yes got it"

When trying to use these utterances the bot takes the confirm status as none instead of confirmed. Example: "confirmationStatus": "Confirmed", "sourceLexNLUIntentInterpretation": null }, "inputTranscript": "yes" }…
Nitin Malode
  • 87
  • 1
  • 7
2
votes
1 answer

Amazon LEX native email slot type does not recognize emails that ends in 4 digits

It seems like Amazon.EmailAddress slot type has trouble recognizing emails that end in 4 or more numbers. For example john2341@gmail.com. It just automatically switches to the next intent and asks for an email repeatedly again and again.
JustinZ
  • 169
  • 7
2
votes
1 answer

Stagged validation/parsing in Amazon Lex

I want to make a simple quote bot which needs to know about addresses and dimensions. Currently I have hacked one together with a python state machine and rasa NLU for the intent stuff, though the nature of the data means most of the entities are…
zylatis
  • 448
  • 3
  • 14
2
votes
0 answers

MongoDB and Firebase not working with AWS Lambda function

I am making AWS Lex bot using lambda function and trying to connecting it to database of MongoDB Atlas using "mongoose" and database of firebase using "cloud firestore".But no data is saving to the database and even there is no error giving at cloud…
2
votes
2 answers

AWS Lex matches the wrong intent despite entering exact utterance

I have been having this problem in a variety of different cases. I'll share an example of one. I have a few FAQ intents. One answers "What is Named Entity Recognition" These are it's utterances : Tell me about Named Entity Recognition Tell me…
2
votes
1 answer

How to filter name from string using python for AWS Lex chat bot?

I have a AWS Lex chat bot and in which chat bot when asks name of customer, if customer enters only his name then no issue but what if customer enters "my name is sudhir" or "am sagar" or "this is hari". How to filter name from above response in…
sudhir tataraju
  • 1,159
  • 1
  • 14
  • 30
2
votes
1 answer

Amazon Lex using cli

How to create multiple intents in Amazon Lex bot using command line interface? I can generate single intent but I want to add more than one intent at a time.
Tushar Nitave
  • 519
  • 4
  • 13
2
votes
3 answers

Put a user on hold with Amazon Lex

We are using Amazon Connect, Lex and Lambda to create a phone bot. One use case we have is that we need to put the user on hold while we find information in other systems. So the conversation will be something like this: - bot: hi, what can I do for…
dgaviola
  • 2,421
  • 2
  • 26
  • 37
2
votes
0 answers

An error has occurred: Invalid Lambda Response: Received null response from Lambda

I am trying to build an Lex bot for Pizza delivery using Node.js. I have 2 intents 1) Customer data 2) Pizza Order. So currently, my code work perfectly if I just want to get customer data from user and send the response to Bot, I am trying to…
Bhaskar A
  • 21
  • 3
2
votes
1 answer

Error "LexAudio.conversation is not a constructor". React component calling vanilla javascript

Below is the React component calling external vanilla aws lex javascript for conversation. Issue is coming with call new LexAudio.conversation(...) what is the best way to import the external js library into react component. class MyComponent…
2
votes
1 answer

Scoring / Confidence of Intents using Amazon-Lex

I try to get a scoring-value or a value for confidence of an intent using amazon-lex (PostText) but there is no response-element in json-file at all. (https://docs.aws.amazon.com/de_de/lex/latest/dg/API_runtime_PostText.html) Is there any level or…
2
votes
0 answers

How can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

I have written my lambda function and it works perfectly but when I try to communicate with it from Lex I get dependency exception.How can i debug this or solve this issue? The variable REST_END_POINT has been defined. Below is my code please kindly…
DjomkamK
  • 27
  • 3
2
votes
1 answer

Failed to update Lex bots

I have created Amazon Lex bot and working perfect. I want to add this chat bot to amazon connect so people can use this chat bot over mobile call. but I unable add to chat bot to amazon connect. It shows "Failed to update Lex bots.Please try…
Mehul Katara
  • 907
  • 11
  • 32
2
votes
0 answers

Response card with attachment returned to Lex from Lambda doesn't contain attachment

I use AWS Lambda function written in Python to return a response card with an attachment (according to https://docs.aws.amazon.com/lex/latest/dg/lambda-input-response-format.html#using-lambda-response-format and Hyperlink in response card button in…
user3855877
  • 99
  • 1
  • 1
  • 11