Builder
Properties
When Amazon Lex can't understand the user's input in context, it tries to elicit the information a few times. After that, Amazon Lex sends the message defined in abortStatement
to the user, and then cancels the conversation. To set the number of retries, use the valueElicitationPrompt
field for the slot type.
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying true
or false
in the childDirected
field. By specifying true
in the childDirected
field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying false
in the childDirected
field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the childDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA.
When Amazon Lex doesn't understand the user's intent, it uses this message to get clarification. To specify how many times Amazon Lex should repeat the clarification prompt, use the maxAttempts
field. If Amazon Lex still doesn't understand, it sends the message in the abortStatement
field.
When set to true
a new numbered version of the bot is created. This is the same as calling the CreateBotVersion
operation. If you don't specify createVersion
, the default is false
.
A description of the bot.
When set to true
user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment
, the default is false
.
Set to true
to enable access to natural language understanding improvements.
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent
, AMAZON.KendraSearchIntent
, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent
and AMAZON.KendraSearchIntent
are only inserted if they are configured for the bot.
If you set the processBehavior
element to BUILD
, Amazon Lex builds the bot so that it can be run. If you set the element to SAVE
Amazon Lex saves the bot, but doesn't build it.
The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Voices in Amazon Polly in the Amazon Polly Developer Guide.
Functions
construct an aws.sdk.kotlin.services.lexmodelbuildingservice.model.Statement inside the given block
construct an aws.sdk.kotlin.services.lexmodelbuildingservice.model.Prompt inside the given block