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
4
votes
2 answers

Integrating AWS Lex with Skype

I have created a Chat bot in AWS LEX and want to integrate it with Skype. Is there any way I can achieve that? I have already implemented it with Facebook, Slack, and Twillo.
Suraj Rawat
  • 3,685
  • 22
  • 33
4
votes
4 answers

Allow AWS Lex to accept any user input

I am building a chatbot that asks the user a question with a wide range of possible responses, for example: Bot: "What do you want your user bio to say?" UserA: "My name is Bob. #chatbots are cool!!!" or UserB: "123" I want Lex to accept virtually…
JeffD23
  • 8,318
  • 2
  • 32
  • 41
4
votes
1 answer

AWS Lex Access Denied after lambda redeployed. Wrong default IAM role

I created an AWS Lex bot and added an intent recently. Then I uploaded a simple AWS Lambda, which has an administrator access (I will lower it later, no worries) and then also added some trusted entities: Trusted entities The identity provider(s)…
3
votes
3 answers

How do I initiate a conversation with AWS LEX from node js?

My context is this: I am attempting to build a chat bot into my Mozilla Hubs client, which is a node js / React project. I have a lex bot created on AWS, and I have installed the client-lex-runtime-v2 package and can import it successfully, but I…
Chris Calef
  • 61
  • 1
  • 6
3
votes
1 answer

Is it possible to create AWS Lex V2 bots using terraform?

As far as I know, we can create Lex bots (V1) via terraform using the resources here. I cannot find any resources anywhere for creating bots on Lex V2 platform using terraform. So does terraform support Lex v2 as of now? If not, is there any work…
veri_pudicha_coder
  • 1,411
  • 9
  • 9
3
votes
0 answers

How do I create response cards with Twilio Flex Webchat UI

I am using the Twilio Flex Webchat UI library that I am integrating with Amazon Lex. I would like to render response cards based on Lex's ResponseCards feature, so basically present buttons for users to reply with instead of relying on free text. I…
Crocodile
  • 5,724
  • 11
  • 41
  • 67
3
votes
1 answer

AWS Lex AlphaNumeric Built-In Slot type not accepting string

I have been working on a AWS Lex Bot with multiple Intents. Currently I am having an issue where Slots with the Slot Type AMAZON.AlphaNumberic only accepts numbers. When I type in a word like, "Test" it does not continue on to the next Slot, but…
willemlab
  • 73
  • 11
3
votes
3 answers

"checksum must be specified in PUT API, when the resource already exists"

I am getting the following error while building using AWS Lex? "checksum must be specified in PUT API, when the resource already exists" Can someone tell what it means and how to fix it?
3
votes
1 answer

Sending extra details using js SDK to Amazon Lex

Scenario I wanted to add feedback feature, on thumbs down to any responses from the bot. The idea is to send response & question pair with intent message like thumbs down and thereafter using lambda function store it somewhere else for future…
Gandalf the White
  • 2,415
  • 2
  • 18
  • 39
3
votes
1 answer

How do I pass a parameter from my website (in Javascript) to my amazon bot when implemented using cloud formation?

My Amazon Lex is hosted on a website. Users are logged into the website and I have to pass their user token from the website to Lex or lambda. The bot is embedded in the website using CloudFormation code snippet. Where and how do I set the…
Kristen
  • 113
  • 6
3
votes
0 answers

custom payload on amazon lex aws with lambda

I have a simple bot for ordering pizza, in a fullfilment function, I would like to display a video instead of a message. Here is what I have so far: 'use strict'; // Close dialog with the customer, reporting fulfillmentState of Failed or Fulfilled…
The Dead Man
  • 6,258
  • 28
  • 111
  • 193
3
votes
1 answer

Can Lex start the conversation?

I want to create a Lex bot that would send a welcome message every time the chat gets opened. Does anyone know if this is possible?
AdeEla
  • 279
  • 1
  • 3
  • 13
3
votes
1 answer

Having problem in generating elicit slot response

I want to create a dialogHook for a certain slot rather better to say a validation type of thing .If the slot returns true then only I will fire my elicit slot otherwise it would go as usual.Please help what would be my approach.I am relatively new…
gourabk
  • 177
  • 1
  • 12
3
votes
1 answer

Provide AWS Lex response in Hyperlink format

While creating a chatbot using AWS Lex, I would like to provide the response in hyperlink format. But I don't want to use Response card in this case. As per the AWS Lex docs, I knew that hyperlinks can't be given directly in responses. Am new to…
PRIYA M
  • 181
  • 2
  • 3
  • 19
3
votes
2 answers

Is there anyway to convert or import AIML files to Dialogflow or Lex?

Is there anyway to convert or import AIML files to Dialogflow or Lex for creating a chatbot? I am hoping for a way to incorporate open source AIML files into an NLP chatbot framework like Dialogflow or Lex, and so far my googling has produced no…
Christin
  • 46
  • 5
1 2
3
48 49