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
11
votes
3 answers

How to send a response card using AWS Lambda in C#

Hi I am developing a chatbot on amazon lex and I want to send a response card using the lambda function but on using response card function inside the close response format it gives the error of null exception. Can anyone tell the solution to it? PS…
6
votes
1 answer

Can aws-lex be used to build a conversation flow bot?

Can aws-lex be used to build a conversation flow bot? For example: Is there a way to do something like this in aws-lex or not? I tried using slots/prompts/lambda but I am not able to go to 2nd or 3rd level depth in diagram. can be done…
6
votes
2 answers

How to access the raw input text and the entire conversation in AWS Lex

How can I access to raw text the lead to the intent in lex How can I extract the entire conversation including the user input and the Lex responses I thought of creating a lambda & API gateway to capture the input and record it before sending it…
Shachaf.Gortler
  • 5,655
  • 14
  • 43
  • 71
5
votes
2 answers

Is there a way to deploy a Lex bot using CDK?

I want to deploy a Lex bot to my AWS account using CDK. Looking at the API reference documentation I can't find a construct for Lex. Also, I found this issue on the CDK GitHub repository which confirms there is no CDK construct for Lex. Is there…
eldercookie
  • 137
  • 8
5
votes
0 answers

Getting the "Invalid Lambda Response: Received error response from Lambda: Handled" error

I am receiving the error: An error has occurred: Invalid Lambda Response: Received error response from Lambda: Handled. from lex from my lambda function, I am trying out the code in https://github.com/awslabs/amz-ai-building-better-bots, The…
Harun
  • 51
  • 3
5
votes
1 answer

Lex Bot Integration with Rest Api

Is there any reference to connect lex bot with my rest api project?, i want to get pricing from my products , this enpoint is included in my project in a rest method (json request and response), however, I have tried to find any reference to call my…
DuSant
  • 970
  • 12
  • 25
4
votes
2 answers

Can I create an AWS Lex Bot that displays different responses based on user input?

I am trying to create a lex bot that lets users learn about different options. For example, it can tell a user about the three different products available. I can't seem to find documentation about how to do this without using a lambda function, and…
4
votes
0 answers

LEX slot type for file name. AMAZON.LITERAL replacement

I have to create an intent with sample utterances "open file 'fileName'" "show 'fileName'" ... Basically, I have to have a slot which accepts file name. User can type "open my file report.pdf" "open file activity1.doc" "open file last year…
AntonIva
  • 597
  • 1
  • 6
  • 22
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
0 answers

Setting session/request attributes using amplify Interactions.send

I am using Amplify.Interactions (Lex) in a Vue.js project. I can successfully send and receive text messages. I am having difficulties specifying requestAttributes or sessionAttributes value on my request. Does anyone know how to solve it? Thank…
gen
  • 95
  • 6
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
0 answers

How can I integrate my Lex chatbot with my website , actually I want to set up Lambda function and create an API gateway to post and get responses

import boto3 def lambda_handler(event, context): responderName = event["DestinationBot"] userId = event["SenderID"] userInput = event["message"]["text"] client = boto3.client('lex-runtime') response = client.post_text( …
gourabk
  • 177
  • 1
  • 12
3
votes
1 answer

AWS Lex Lambda return multiple lines with Python

I've been reading the AWS Lex / Lambda docs and looking at the examples. I don't see a way to return multiple lines. I want to create an intent that when a user types 'Help' It gives me an output like below. Options: Deploy new instance. …
Simply Seth
  • 3,246
  • 17
  • 51
  • 77
3
votes
1 answer

AWS Lex - select query from user question

I am building a chat bot that takes inputs such as the following: "How do I take a screenshot on iphone" and then searches for "take a screenshot on iphone" I followed the tutorials on how to make a Document Search Bot and a Question and Answer…
BWP
  • 380
  • 1
  • 17
3
votes
1 answer

How to build aws lex bot via .NET SDK

I am searching for a solution to build and publish the AWS Lex bot via .NET SDK or via any other API. Any help will be appreciated.
1
2 3 4 5 6 7 8