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

Amazon Lex Preventing Intent from activting

I have an intent configured where a user can ask about resetting their password. My bot successfully picks up that the user is asking about a password reset and responds correctly. The bot provides the user with help on how to reset their password…
Adrian
  • 11
  • 1
1
vote
1 answer

Send group (multiple) messages from Lambda to Lex

I am currently trying to send multiple messages from AWS Lambda to Lex in Python 3.6, but Lex considers my answers as incorrect. I got multiple errors such as : Received invalid response from Lambda: Can not construct instance of Message, problem:…
1
vote
2 answers

Slack returns error on setting event subscription URL with Amazon Lex

I created a bot in AWS Lex and I am trying to integrate it with Slack. I created a Slack app and followed the documentation as mentioned in- https://docs.aws.amazon.com/lex/latest/dg/slack-bot-association.html However, while trying to integrate with…
1
vote
1 answer

Building similar bot with different webhook using AWS Lex and Dialogflow

I have one client with 3 hotels for which I want to build chat bot for making reservation and I wish to build only one single bot which handles all hotel. Somehow I want to identify at start of chat which hotel site he is coming from. How to do that…
Pinal
  • 41
  • 8
1
vote
1 answer

Amazon Lex- slot elicitation not working inside callback

I have a call back function which is getting data from an external API and depends on a data check I have tried for a slot elicitation inside callback but looks like elicitation is not working inside the callback. Please find the code snippet…
Vijayanath Viswanathan
  • 8,027
  • 3
  • 25
  • 43
1
vote
0 answers

How to end the conversation and stop talking in AWS Lex? I want to delegate the conversation to a human

I have a chat bot developed using AWS Lex with a Facebook Messenger integration. However, while I want the chat bot to handle the initial conversation, a human should be able to pick up the conversation if the chat bot fails. Is it possible to "turn…
James Tidman
  • 183
  • 1
  • 9
1
vote
0 answers

AWS Lex Response Message based on the slot Value?

Is there a way to have response messages within an intent, based on the value selected in a slot? I.e. If Slot1 = "Value 1" then Message1 , If slot1 = "value2" Then Message2?
1
vote
0 answers

Deleting a lex bot and all associated aliases

I'm trying to delete an AWS lex bot. The prerequisite for the delete it action is that all associated aliases should be deleted. I'm deleting these aliases sequentially as the API doesn't support parallel delete. I'm certain that the first alias is…
Abhiman
  • 53
  • 2
  • 7
1
vote
1 answer

AWS Lambda - How handle the order of request processing in a function

I am using AWS Lambda (Node.js 8.1) for my AWS Lex chatbot which is integrated with facebook and would like to know how to make the bot print out the confirmIntent response (request 1) first and then print the quick replies (request 2). I have tried…
1
vote
1 answer

Invalid Lambda Response: Lambda response provided invalid slot names [slotId]

I get the error Invalid Lambda Response: Lambda response provided invalid slot names [slotId] when lambda sends response to lex using elicitSlot to get slot values for undefined slot. I referred the lex blueprint code as following. const handleOrder…
Shanika Ediriweera
  • 1,975
  • 2
  • 24
  • 31
0
votes
1 answer

How to count the number of times the userid is present in Dynamodb

I have created a amazon lex chatbot that raises the ticket for the organisation. It asks for 5 input fields (empid, name, description, impact, urgency, emailid) and stores in aws lambda. Till now, I have been storing the input fields that I get from…
lakshmi
  • 201
  • 2
  • 13
0
votes
1 answer

How to publish a View to Slack app for all users?

I have a Slack App that is connected to an AWS Lex bot. Thus, the Request URL for the Slack app is the Postback URL provided by Lex. However, I want to add a Home tab for the app, but am unable to publish a surface for all users. The Slack API only…
Desi Pilla
  • 544
  • 6
  • 20
0
votes
1 answer

Uploading a file to Amazon Lex

I'm creating a chatbot with Amazon Lex and the idea is that a user can drop an Excel file into a Slack channel and the bot sends the file to the appropriate Lambda function. What is the best way to achieve this goal? It would also be acceptable if…
Desi Pilla
  • 544
  • 6
  • 20
0
votes
1 answer

handle multiple confirmation Prompts

How to handle multiple confirmation prompts: use case, 1st prompt is to ask would you like to add more products? if yes, should repeat the intent to take more products and quantity, if no, should ask for confirmation- Shall I place an order? -> if…
0
votes
0 answers

Best approach for AWS Lex Intent Creation

We are building a chatbot application for our ERP Project. In our system we are having more than 500 FAQ's questions (We Can't group questions, each QA is different), how do I create intents for all questions because AWS Lex is having the limitation…
Sathishkumar
  • 3,394
  • 4
  • 20
  • 23