Questions tagged [aws-lex]

Amazon Lex is a service for building conversational interfaces into any application using voice and text. It is used to build conversation/chat bots. Use this tag for questions related to Amazon-Lex such as questions on chat bots built using Amazon-lex.

Amazon Lex is a service for building conversational interfaces into any application using voice and text. It is used to build conversation/chat bots. Use this tag for questions related to Amazon-Lex such as questions on chat bots built using Amazon-lex.

118 questions
1
vote
2 answers

Received invalid response from Lambda: Can not construct instance of IntentResponse

I have been trying out the lambda codehook on aws lex and this what the response that I'll be returning looks like response = { "dialogAction" : { "type": "ElicitSlot", "message": { …
1
vote
0 answers

How Amazon Lex + Lambda chatbot calls other intent after fulfillment?

I am new in aws lex + lambda chatbot (Java 8) and I am working on very basic shoppingbot sample where my bot first greets a user gets user details with prompts and then on fulfillment bot message "Welcome XYZ, what would you like to buy ?" I also…
Himanshu Arora
  • 688
  • 1
  • 9
  • 20
1
vote
1 answer

Is there a way to call the Rest API from the aws lamda functions ( node js)

I am tying to call the external API from the lambda function for LEX bot intent and not able to communicate with external API, these APIs are hosted somewhere else. Same JS code is working from my local system, but not able to communicate from…
Pras
  • 41
  • 1
  • 6
1
vote
0 answers

How can I do dynamic spacing in my chatbot response in html and css

I have a chatbot UI whenever I am Posting contents in the div the problem is coming in margins of the request that I ask for and the response that I get from the chatbot ui. Also, I want loading or typing effect type screen block whenever there is a…
gourabk
  • 177
  • 1
  • 12
1
vote
0 answers

Image not displaying in close response

I want to display clickable images of my social links to user in response card, in AWS console those images are displaying (although click is not working) but when the bot is integrated with website those images are not displaying. I am using…
Bimal
  • 11
  • 2
1
vote
1 answer

Precedence of slot utterances over intent utterances

In our bot we have several intents. In one of the intents we have the following sample utterance: I {injuryType} my {bodyPart} So it matches things like I broke my leg. Then, in another intent, we have a slot for bodyPart with the following sample…
dgaviola
  • 2,421
  • 2
  • 26
  • 37
1
vote
1 answer

Amazon Lex Integration into AWS Lambda

I have been working with Alexa Skills Kit for some time now with my code deployed in AWS Lambda written in Node Js. Now i want to integrate chatbots into it via the amazon Lex service. So that i am able to control my device using both Amazon Alexa…
Muneeb Rehman
  • 135
  • 2
  • 10
1
vote
1 answer

Sending a message to user when user enters a geofence / area?

I'm making a dialogflow agent that will be integrated with various platforms (Facebook messenger, slack and maybe a few others) that will have the basic functions of a informational chatbot. The agent will be for a specific store and I'm wondering…
Landon G
  • 819
  • 2
  • 12
  • 31
1
vote
1 answer

Error on testing AWS Lambda handler function: Data format for event and context parameters

I have the following code from a blog which gets the bitcoin price for today. I could access this Lambda function from the AWS Lex console and test the bot to get the price for today. """ Lexbot Lambda handler. """ from urllib.request import…
Hackerds
  • 1,195
  • 2
  • 16
  • 34
1
vote
0 answers

AWS Lex: No option to create follow up prompt on Console

I am trying to create a follow up prompt (next response from the bot) in the console itself and not using Lambda functions. when I click on an option from the list of response cards. In the above image, when I click 'color2', the next response (as…
Hackerds
  • 1,195
  • 2
  • 16
  • 34
1
vote
0 answers

AWS Lex AMAZON.DATE slot type parsing the date in US format

A lex intent have a slot with type AMAZON.DATE If I enter the date like 11.02.2019 then it is processing the date in mm.dd.yyyy format, but my customers in Europe region, it supposed to process the date in dd.mm.yyyy format. I am using Javascript…
yottabrain
  • 2,387
  • 5
  • 23
  • 37
1
vote
1 answer

How to create an intent with multiple slot values in its utterances in AWS Lex?

How do I create an intent which expects multiple consecutive slot values in its utterances which are set to expandable values? In the screenshot, the manufacturer model variant trio appears together in the utterances. Problem is the manufacturer and…
1
vote
2 answers

how to play custom voice in aws lex bot

We are calling Lex bot from Amazon connect by using GetUserInput. Currently we are playing built-in voice (Jonna) from Lex. Now we want to play custom voice from Lex bot. Is it possible to play custom voice from Lex and Connect? Thanks, Ganesh
1
vote
1 answer

Multiple return statements from single lamda function in lex

I am trying to migrate a bot from microsoft azure to aws lex. In azure we can use multiple session.send() statements to send multiple responses to a single user input. But in aws lex we can not use multiple return statements in lambda function. In…
1
vote
1 answer

Is it feasible to combine aws lex with amazon comprehend with lambda?

I want to build something using aws lex, lambda and amazon comprehend. Can we combine them?
christo-pher18
  • 145
  • 1
  • 14