Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data BotLocaleImportSpecification = BotLocaleImportSpecification' {}
- newBotLocaleImportSpecification :: Text -> Text -> Text -> BotLocaleImportSpecification
- botLocaleImportSpecification_nluIntentConfidenceThreshold :: Lens' BotLocaleImportSpecification (Maybe Double)
- botLocaleImportSpecification_voiceSettings :: Lens' BotLocaleImportSpecification (Maybe VoiceSettings)
- botLocaleImportSpecification_botId :: Lens' BotLocaleImportSpecification Text
- botLocaleImportSpecification_botVersion :: Lens' BotLocaleImportSpecification Text
- botLocaleImportSpecification_localeId :: Lens' BotLocaleImportSpecification Text
Documentation
data BotLocaleImportSpecification Source #
Provides the bot locale parameters required for importing a bot locale.
See: newBotLocaleImportSpecification
smart constructor.
BotLocaleImportSpecification' | |
|
Instances
newBotLocaleImportSpecification Source #
:: Text | |
-> Text | |
-> Text | |
-> BotLocaleImportSpecification |
Create a value of BotLocaleImportSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nluIntentConfidenceThreshold:BotLocaleImportSpecification'
, botLocaleImportSpecification_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 PostText
operation would be:
AMAZON.FallbackIntent
IntentA
IntentB
IntentC
$sel:voiceSettings:BotLocaleImportSpecification'
, botLocaleImportSpecification_voiceSettings
- Undocumented member.
$sel:botId:BotLocaleImportSpecification'
, botLocaleImportSpecification_botId
- The identifier of the bot to import the locale to.
$sel:botVersion:BotLocaleImportSpecification'
, botLocaleImportSpecification_botVersion
- The version of the bot to import the locale to. This can only be the
DRAFT
version of the bot.
$sel:localeId:BotLocaleImportSpecification'
, botLocaleImportSpecification_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.
botLocaleImportSpecification_nluIntentConfidenceThreshold :: Lens' BotLocaleImportSpecification (Maybe Double) Source #
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
botLocaleImportSpecification_voiceSettings :: Lens' BotLocaleImportSpecification (Maybe VoiceSettings) Source #
Undocumented member.
botLocaleImportSpecification_botId :: Lens' BotLocaleImportSpecification Text Source #
The identifier of the bot to import the locale to.
botLocaleImportSpecification_botVersion :: Lens' BotLocaleImportSpecification Text Source #
The version of the bot to import the locale to. This can only be the
DRAFT
version of the bot.
botLocaleImportSpecification_localeId :: Lens' BotLocaleImportSpecification Text Source #
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.