AWS Lex Sentiment Analysis

0

I had enabled sentiment analysis for my lex bots, and when I used to watch cloudwatch logs, I used to find sentiment analysis results for each utterance, but now I am not able to receive any sentiment analysis results for the lex bots in cloudwatch logs. I am using a free-tier plan of AWS. Is it something to do with that cuz Lex internally uses Comprehend and what if there is a limit or something?

Please help me out, it is urgent

3 Answers
2

Amazon Lex uses Amazon Comprehend for sentiment analysis via an Service-Linked Role created during bot setup. Comprehend offers 50K units (5M characters) per API monthly in its free tier. Your error likely stems from exceeding this monthly limit.

Comprehend Pricing : https://aws.amazon.com/comprehend/pricing/ Lex SLR permissions : https://docs.aws.amazon.com/lex/latest/dg/using-service-linked-roles.html#slr-permissions

AWS
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile picture
EXPERT
reviewed a month ago
0

Ok, let’s start with the basics. You have sentiment enabled for the alias, you’re using that alias, your bot is sending logs to cloudwatch, right?

David

profile picture
dmacias
answered a month ago
  • Hello David,

    I forgot to update here---- the issue has been resolved. The problem was that each time I made changes to the Lex bot configuration, I needed to re-associate the alias with the correct version. It was essentially an issue with proper aliasing and versioning.

0

Looks like comprehend is not the problem, when I check the using of comprehend it shows as follows: none

If the monthly limit is not exceeded what could be the issue?

Nigel
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions