AI Cloud Architect

Improve bot accuracy with Amazon Lex Assisted NLU

AWSHow-to by Priti Aryamane, Rakshit Parashar, Karthik Konaraddi, Alampu Maakaru, Dipkumar Mehta and Mahesh SankaranarayananAWS Artificial Intelligence Blog

In this post, you will learn how to implement Assisted NLU effectively. You will learn how to improve your bot design with effective intent and slot descriptions, validate your implementation using Test Workbench, and plan your transition from traditional NLU to Assisted NLU for both new and existing bots.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Lex Assisted NLU uses an LLM and the names and descriptions of intents and slots to classify inputs and resolve slots, in Primary or Fallback mode, with no extra cost.

Who it is for

Teams running Amazon Lex bots that want better intent accuracy, either new bots or existing bots that already perform well.

Key points

  • AWS says Assisted NLU reaches 92 percent intent classification and 84 percent slot resolution accuracy on average.
  • Primary mode uses the LLM for every input; Fallback mode uses it only when traditional NLU confidence is low.
  • Included at no additional cost with standard Amazon Lex pricing.
  • Test with the Test Workbench against an alias that points to a version with Assisted NLU enabled.

Timeline

Posts about Amazon Lex, oldest first.

  1. Update to an existing featureAmazon Lex provides generative AI based enhanced natural language understanding in eight new languages · AWS · Announcement
  2. Customer storyPrincipal Financial Group accelerates build, test, and deployment of Amazon Lex V2 bots through automation · AWS · Customer story
  3. New featureAmazon Lex now supports LLMs as the primary option for natural language understanding · AWS · Announcement
  4. How-toDrive organizational growth with Amazon Lex multi-developer CI/CD pipeline · AWS · How-to
  5. This postImprove bot accuracy with Amazon Lex Assisted NLU

Go deeper