AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateBotLocale operation. Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.LexModelsV2.AmazonLexModelsV2Request
      Amazon.LexModelsV2.Model.CreateBotLocaleRequest

Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z

Syntax

C#
public class CreateBotLocaleRequest : AmazonLexModelsV2Request
         IAmazonWebServiceRequest

The CreateBotLocaleRequest type exposes the following members

Constructors

NameDescription
Public Method CreateBotLocaleRequest()

Properties

NameTypeDescription
Public Property BotId System.String

Gets and sets the property BotId.

The identifier of the bot to create the locale for.

Public Property BotVersion System.String

Gets and sets the property BotVersion.

The version of the bot to create the locale for. This can only be the draft version of the bot.

Public Property Description System.String

Gets and sets the property Description.

A description of the bot locale. Use this to help identify the bot locale in lists.

Public Property GenerativeAISettings Amazon.LexModelsV2.Model.GenerativeAISettings

Gets and sets the property GenerativeAISettings.

Public Property LocaleId System.String

Gets and sets the property LocaleId.

The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.

Public Property NluIntentConfidenceThreshold System.Double

Gets and sets the property NluIntentConfidenceThreshold.

Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot.

For example, suppose a bot is configured with the confidence threshold of 0.80 and the AMAZON.FallbackIntent. Amazon Lex returns three alternative intents with the following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the RecognizeText operation would be:

  • AMAZON.FallbackIntent

  • IntentA

  • IntentB

  • IntentC

Public Property VoiceSettings Amazon.LexModelsV2.Model.VoiceSettings

Gets and sets the property VoiceSettings.

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5