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

Getting error Verifier rejected class software.amazon.awssdk.http.apache.ApacheHttpClient on android when trying to build LexRuntimeV2Client

I'm trying to build LexRuntimeV2Client on android but when ever i start app and try to build LexRuntimeV2Client object i get error Verifier rejected class software.amazon.awssdk.http.apache.ApacheHttpClient. i'm using following dependancies to…
imran khan
  • 382
  • 3
  • 15
2
votes
0 answers

How do I test an AWS Lex bot locally?

I am currently building a very complex voice application for a client. I am using AWS Lex for intent resolution and then AWS Lambda + Node/Typescript to execute the conversation logic. My current development flow is much slower than I would like…
2
votes
3 answers

Lambda function is not recognizing LexBot

I have created simple Lambda function (simple nodejs application) and trying to integrate with Lex bot. have followed the aws doc and created the execution role. configured the lex bot with proper alias and associated the version as well. this is…
user2315104
  • 2,378
  • 7
  • 35
  • 54
2
votes
0 answers

Lex chatbot and wso2 authentication

We have a mobile application in which we want to integrate aws lex chatbot.We are using wso2 authentication for mobile app to authenticate user. Can we propogate this wso2 access token to authenticate user in lex chatbot as well?
sayali
  • 71
  • 4
2
votes
0 answers

AWS Lex: sending a response from lambda function with python

I am having trouble with sending a JSON response from my python3.8 lambda function (default lambda_handler function). I am pretty sure I understand what I am doing after reading most of the docs and the Lambda Function Input Event and Response…
2
votes
2 answers

Testing Lambda Function to fullfill Chatbot request

I am new to AWS LAmbda, Chatbots, and Javascript.: Ultimately, I am trying to create a chatbot that will make a rest API call (POST) using the value in the slot when the lambda function fulfills the request from the chatbot. I have the lambda code…
2
votes
2 answers

I'm not seeing "Publish" button in Amazon Lex Bot and all the tutorials' screenshots I'm finding don't align with my AWS Consoles

Hello Stackoverflow Friends: Context: My goal is to use Amazon Lex Bot to communicate via an SMS text channel using an Amazon Pinpoint phone number associated with my account. Users will send utterances via their native text client, i.e. the…
davos
  • 151
  • 10
2
votes
1 answer

An error has occurred: The server encountered an error processing the Lambda response

I am using AWS Lex and AWS Lambda for creating a chatbot. The request and response format are as follows Event being passed to AWS Lambda { "alternativeIntents": [ { "intentName": "AMAZON.FallbackIntent", "nluIntentConfidence":…
alphason
  • 41
  • 1
  • 9
2
votes
1 answer

Error while calling amazon lex from aws lambda using boto3

I have published a Lex bot and a Lambda function on the same region. I am trying to interact with Lex from Lambda using following code. import boto3 client = boto3.client('lex-runtime') def lambda_handler(event, context): response =…
hR 312
  • 824
  • 1
  • 9
  • 22
2
votes
1 answer

Follow up questions in AWS Lex

I'm trying to create a chatbot using Amazon Lex to display results from a database. The designed conversational flow is to show 10 results at first, and then provide an option for the user to "See more results?", which would be a Yes/No question.…
Sherwin
  • 49
  • 6
2
votes
1 answer

Is Amazon Connect supposed to set the outputDialogMode when invoking Lex?

When I call a Lambda function from Lex by calling my number set up in AWS Connect, intent_request['outputDialogMode'] always seems to return "text" when using a simple if/else statement. Is this expected?
Michał
  • 868
  • 1
  • 10
  • 36
2
votes
1 answer

Amazon Lex PostText operation not returning confidence scores

I am using the AWS SDK for JavaScript in Node.js. Calling the PostText operation does not seem to return the confidence scores even though I have configured the bot to enable accuracy improvements, set the confidence threshold and published it on…
2
votes
1 answer

Amazon Lex and BotFramework integration TypeError: Cannot perform 'get' on a proxy that has been revoked at Response

I was doing a proof of concept trying to integrate BotFramework with Amazon lex and finally integrate the bot to Microsoft teams channel. The AWS-SDK is used to call the Amazon Lex bot. async callLex(context) { let msg var lexruntime = new…
2
votes
3 answers

How to have Free text custom slot type on AWS lex

I need a slot type that accepts any type of input, The slot I want to point is to get review feedback from my clients. After looking on with all possible option the only way to achieve is with training data on custom slot type that all search…
fernandus
  • 538
  • 1
  • 6
  • 24
2
votes
1 answer

Response cards not showing -Amazon lex

I have created a lex chatbot and integrated it into website .Its working fine.I got to know that I have to invoke response cards from lambda .I did that too.Also,I enabled repsonse card checkbox in lex console.After all this,I am not able too see…
lakshmi
  • 201
  • 2
  • 13