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
-1
votes
1 answer

The specified resource 'xxxx' does not exist. Amazon LexBot

I absolutely can't find my mistake. I'm trying to place a LexBot on a website hosted on AWS S3 but an error persists: The specified resource 'xxxx' does not exist. I am sure of my Bot's name as well as the IdentityPoolID. //set the focus to the…
-1
votes
1 answer

callback is not a function serverless AWS lambda

I am trying the below function just to see the fulfillment of the amazon lex using lambda, but it says callback is not a function. 'use strict'; module.exports.intent =(event, callback) => { callback(null, { dialogAction:{ type:"Close", …
-1
votes
1 answer

How can I collect a users description in Amazon Lex and send it through email?

I am developing a chatbot with Amazon Lex and I want to collect a description of a customers issue, save it to a variable, and send it through email. How can I implement this functionality?
-1
votes
1 answer

Unable to access AWS Lex From Lambda

I am trying to access amazon lex from a lambda function. Lambda function sends the input message from the chat bot to lex. When I try to send the text,it is giving me an error. errorMessage: "An error occurred (AccessDeniedException) when calling…
therealbappi
  • 115
  • 1
  • 10
-1
votes
1 answer

How to handle null attributes while fetching data from dynamodb

I have a simple table where primary key is ID and other attributes are name and balance. Now there are some rows where balance can be NULL. When I am fetching those attributes using Lambda function it cannot handle it. I want to handle these cases…
-1
votes
1 answer

AWS Lex - Cloudwatch Logs

Have a weird case. I have configured Amazon Lex Bot (V2) and have created Twilio Channel to integrate with WhatsApp. The Bot is working all fine on WhatsApp. I have enabled Text Conversational logs and see that the logs are recorded only for one…
-1
votes
2 answers

Amazon Lex V2 Lambda python code to get intent name or any response back from lambda is not working

''' Trying to get response back as name of the intent from lambda for Amazon Lex v2. It can be string or any response back in simple program. I have referred the V2 Lex documentation but I can come-up with below code which shows error after several…
-1
votes
1 answer

Chatbot with map/location picker

I am planning to build a chat bot using either azure framework composer, aws lex or google dialogflow but none seem to offer an easy way to have a map/location picker. It should be an straight forward interaction with user where based on a button…
vhmoura
  • 21
  • 4
-1
votes
1 answer

Uncaught exception in AWS lambda javascript

I am trying to elicit an intent from Amazon LEX through lambda but I was given an error calling uncaught exception. Would appreciate the help, my code is as follows: 'use strict'; exports.handler = (event, context, callback) => { const…
lj4r2020
  • 61
  • 1
  • 5
-1
votes
2 answers

How to use AWS lambda in java for Amazon lex

I want to use aws lambda in java for Amazon lex. But there is no any reference or blueprint on aws site. I am confused with how to take request and send response to lex What is tha format of request and response ?
-1
votes
1 answer

what will be the Regular expression?

What will be the regular expression for salary i.e "2 lakhs" or "3.4 lakhs" or "3.4" in python for Amazon Lex? I tried this ctc_regex = re.compile(r'^[0-9]+(\.[0-9]{1,2})"lakhs"?$')
-1
votes
1 answer

How can I fetch data from a REST API to a Lex ChatBot (Node.js)

I am an intern working on a chatbot with AWS Lex. I want to be able to tell the bot to "select a file", then "give me the name on the file". Our company has a REST api containing these files. How would be able to do this? I cant even get lex to…
Reza
  • 73
  • 1
  • 8
-1
votes
1 answer

AWS Chatbot response sent to mobile as text message, which is not recognized as proper URL

I wrote a Bot using AWS service. When a utterance said like "APPLY" i am populating a URL link as response. which will be sent to mobile as a plain text format. When I do this URL is being changed example:- The URL…
Pra-red
  • 7
  • 1
-1
votes
2 answers

How to call a Lambda function within a another Lambda function using Lex?

I am playing with AWS Lambda along with Twilio. I have a Lambda function that integrates Lex with Twilio. I also have another Lambda function that does the the validations for my LexBot. Both work fine separately. However, I'm trying to put them…
sptramp
  • 897
  • 2
  • 10
  • 29
-1
votes
1 answer

How to get lex conservation in lambda function

I am trying to integrate lambda with Amazon connect and Lex. I want to get all conversation happened with amazon lex and caller. How can I implement this? Thanks, Ganesh
1 2 3
48
49