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

Return back to the same place in the dialog tree after switching between intents in Amazon LEX

Giving I have a dialog tree for booking a rental car. The bot have a main Intent called "orderIntent" and a second intent called "colorIntent". In the "orderIntent" dialog the user will be asked to chose for a car category, date, and price (all of…
Ben J
  • 147
  • 2
  • 14
2
votes
0 answers

Filling data in response cards with Amazon Lex

I figured out how to send a Close response that would send details to the user and close the intent.But I can't figure out how to mange other types of comunication from the lambda to the dialog flow. A.How can I send custom values or information…
Ben J
  • 147
  • 2
  • 14
2
votes
1 answer

Capturing missed utterances

Does anybody know if it is at all possible to capture missed utterances? I don't see the missed ones being logged into CloudWatch. I know that you can view them in the Lex Console after 24 hours, but I'm trying to capture them with data attached to…
845614720
  • 756
  • 1
  • 7
  • 22
2
votes
0 answers

"Missing Authentication Token" Error while saving lambda in AWS Console

I am getting "Missing Authentication Token" error when I am trying to save a lambda in Node.js: I am following this tutorial and followed all the steps as it is AWS creating a custom bot, adding the lambda function Is there anything that I am…
2
votes
0 answers

How do i add a web-view to my Amazon Lex chatbot on Messenger?

I would like to add this webview feature to my Amazon Lex chatbot on Facebook Messenger but I can't figure out how. The reason I want to add webview is that I need the user to select multiple checkboxes.
Harry
  • 1,021
  • 4
  • 21
  • 41
2
votes
1 answer

How to store random sentence as slot value in Lex or Alexa?

I want to store complete random sentence given by user. How can I take a complete random sentence as input in lex/alexa? What slot type should I use?
2
votes
2 answers

Can Amazon Lex be used with other platforms (eg. Google Home)?

I'm trying to figure out which open source framework to use to start building a conversational AI for our business. We are a financial technology company so security/ privacy is just as important as ability to build features quickly. Amazon Lex…
Rob
  • 7,028
  • 15
  • 63
  • 95
2
votes
1 answer

Using Lex Runtime to Post Content in Node JS

I am trying to develop an application that will take an audio file and send it to Amazon Lex using the aws-sdk, specifically the lexruntime to postContent. Currently I have audio files out on the web that I am downloading locally and then trying to…
rocketlobster
  • 690
  • 7
  • 18
2
votes
2 answers

Amazon Lex Bot - How to delete or rename a Slot

I'm creating a new Bot with Amazon Lex. I created and Intent, and a new Slot for it. I now want to delete it or rename it, is there any way to do this?
Evgeny Lukiyanov
  • 498
  • 1
  • 5
  • 20
2
votes
1 answer

ChatBot QnaMaker(Microsoft Azure) vs Lex (Amazon AWS)

Looking to make a chatbot on either Microsoft QnaMaker or Lex. I would like to be able to make API calls to request answer to the question (node.js), train the bot using the API. Currently I am using QnaMaker but unfortunately it doesn't seem to…
tomeda
  • 55
  • 1
  • 6
2
votes
1 answer

AWS Lex - Default slot type has no limits

In AWS Lex, I am using the default AMAZON.Country as a slot type. However, when I interact with the test bot, I can enter any value (for instance "I don't know") and the JSON when I inspect the response says that the value for 'country' is "I don't…
eagle28
  • 896
  • 10
  • 19
2
votes
1 answer

How do I get an authorized user for PostText API call for a Lex bot runtime

Sorry for the long post. I am trying to call a Lex bot with the PostText runtime API with my lambda function. However when I test this call then it returns that the userID is not authorized to use this. This is the error message I receive: …
Loyal_Burrito
  • 125
  • 2
  • 14
2
votes
1 answer

How to give control to another amazon Lex bot to answer the conversation from a previous lex bot?

I want to be able to give control of one lex bot to another. They would be specialized chatbots for certain jobs. I would like to be able to switch bots once the demand for a service is done.
2
votes
1 answer

AWS Connect and Lex - How to reference a value of a slot from lex excution?

I have a Lex bot where it collects a value for a slot "name". Then in the lex interface, for fulfillment, I selected "return parameters to client", I assume this means it will return intent and slot values to Connect when I add a "get customer…
raffa
  • 145
  • 2
  • 11
2
votes
1 answer

Amazon Lex - Lambda function doesn't return voice when the "content" has HTML tags

I have built my chat-bot with AWS Lex. The Chat bot returns text as well as voice when there is no HTML tags in the message, from Lambda function. However, when I add HTML tags to style the text output, Lambda doesn't return the voice. var…
Anoop
  • 385
  • 2
  • 10