Skip to content

Commit 6197dd3

Browse files
author
AWS
committed
Amazon Lex Model Building V2 Update: Adds support for LLM as Primary, allowing usage of LLMs as the default NLU system.
1 parent 9354d4d commit 6197dd3

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Lex Model Building V2",
4+
"contributor": "",
5+
"description": "Adds support for LLM as Primary, allowing usage of LLMs as the default NLU system."
6+
}

services/lexmodelsv2/src/main/resources/codegen-resources/service-2.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2985,6 +2985,14 @@
29852985
"enum":["UtteranceTimestamp"]
29862986
},
29872987
"AnswerField":{"type":"string"},
2988+
"AssistedNluMode":{
2989+
"type":"string",
2990+
"documentation":"<p>Defines the operational mode for Assisted Natural Language Understanding. This enum determines how the enhanced NLU capabilities integrate with standard intent recognition.</p>",
2991+
"enum":[
2992+
"Primary",
2993+
"Fallback"
2994+
]
2995+
},
29882996
"AssociatedTranscript":{
29892997
"type":"structure",
29902998
"members":{
@@ -10884,10 +10892,14 @@
1088410892
"members":{
1088510893
"enabled":{
1088610894
"shape":"Enabled",
10887-
"documentation":"<p>Specifies whether the assisted nlu feature is enabled.</p>"
10895+
"documentation":"<p>Determines whether the Assisted NLU feature is enabled for the bot. When set to <code>true</code>, Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default being <code>false</code>.</p>"
10896+
},
10897+
"assistedNluMode":{
10898+
"shape":"AssistedNluMode",
10899+
"documentation":"<p>Specifies the mode for Assisted NLU operation. Use <code>Primary</code> to make Assisted NLU the primary intent recognition method, or <code>Fallback</code> to use it only when standard NLU confidence is low.</p>"
1088810900
}
1088910901
},
10890-
"documentation":"<p>Specifies whether the assisted nlu feature is turned on or off.</p>"
10902+
"documentation":"<p>Configures the Assisted Natural Language Understanding (NLU) feature for your bot. This specification determines whether enhanced intent recognition and utterance understanding capabilities are active.</p>"
1089110903
},
1089210904
"NonEmptyString":{
1089310905
"type":"string",
@@ -11513,7 +11525,7 @@
1151311525
},
1151411526
"nluImprovement":{
1151511527
"shape":"NluImprovementSpecification",
11516-
"documentation":"<p>An object containing specifications for the assisted nlu feature.</p>"
11528+
"documentation":"<p>An object containing specifications for the Assisted NLU feature within the bot's runtime settings. These settings determine how the bot processes and interprets user utterances during conversations.</p>"
1151711529
}
1151811530
},
1151911531
"documentation":"<p>Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>"

0 commit comments

Comments
 (0)