NAME

Paws::LexModelsV2::BotLocaleImportSpecification

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::LexModelsV2::BotLocaleImportSpecification object:

$service_obj->Method(Att1 => { BotId => $value, ..., VoiceSettings => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::LexModelsV2::BotLocaleImportSpecification object:

$result = $service_obj->Method(...);
$result->Att1->BotId

DESCRIPTION

Provides the bot locale parameters required for importing a bot locale.

ATTRIBUTES

REQUIRED BotId => Str

The identifier of the bot to import the locale to.

REQUIRED BotVersion => Str

The version of the bot to import the locale to. This can only be the DRAFT version of the bot.

REQUIRED LocaleId => Str

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 (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

NluIntentConfidenceThreshold => Num

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 PostText operation would be:

  • AMAZON.FallbackIntent

  • IntentA

  • IntentB

  • IntentC

VoiceSettings => Paws::LexModelsV2::VoiceSettings

SEE ALSO

This class forms part of Paws, describing an object used in Paws::LexModelsV2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues