aws-sdk-lexmodelbuildingservice 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c56f0f4678792c15329290fcfa74f505256add2e9b163ef694f74d35aa9568b2
|
4
|
+
data.tar.gz: 5b1f37c34a72392baa9352293f330d9d36b865de53478e9c8326f3821d2945df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35077d5fdfdb7550651aeb835430cff04853654581fff347e85356a3d7a0f30cac869b26cceb9928eb2cabc7ed3ba9a2a5c14f4ec1a7b787b624942e5d79adcb
|
7
|
+
data.tar.gz: 624972524277bcb659ff4bddd95eb20187040ac31224b793b2f0e5807e8d723b3e03ec259cf1a9d5ffe81747493b11918414650dfaebfaea889de85996ca501b
|
@@ -409,7 +409,7 @@ module Aws::LexModelBuildingService
|
|
409
409
|
# resp.voice_id #=> String
|
410
410
|
# resp.checksum #=> String
|
411
411
|
# resp.version #=> String
|
412
|
-
# resp.locale #=> String, one of "en-US", "en-GB", "de-DE"
|
412
|
+
# resp.locale #=> String, one of "en-US", "en-GB", "de-DE", "en-AU"
|
413
413
|
# resp.child_directed #=> Boolean
|
414
414
|
# resp.enable_model_improvements #=> Boolean
|
415
415
|
# resp.detect_sentiment #=> Boolean
|
@@ -1082,7 +1082,7 @@ module Aws::LexModelBuildingService
|
|
1082
1082
|
# resp.voice_id #=> String
|
1083
1083
|
# resp.checksum #=> String
|
1084
1084
|
# resp.version #=> String
|
1085
|
-
# resp.locale #=> String, one of "en-US", "en-GB", "de-DE"
|
1085
|
+
# resp.locale #=> String, one of "en-US", "en-GB", "de-DE", "en-AU"
|
1086
1086
|
# resp.child_directed #=> Boolean
|
1087
1087
|
# resp.detect_sentiment #=> Boolean
|
1088
1088
|
#
|
@@ -1524,7 +1524,7 @@ module Aws::LexModelBuildingService
|
|
1524
1524
|
#
|
1525
1525
|
# resp.signature #=> String
|
1526
1526
|
# resp.supported_locales #=> Array
|
1527
|
-
# resp.supported_locales[0] #=> String, one of "en-US", "en-GB", "de-DE"
|
1527
|
+
# resp.supported_locales[0] #=> String, one of "en-US", "en-GB", "de-DE", "en-AU"
|
1528
1528
|
# resp.slots #=> Array
|
1529
1529
|
# resp.slots[0].name #=> String
|
1530
1530
|
#
|
@@ -1576,7 +1576,7 @@ module Aws::LexModelBuildingService
|
|
1576
1576
|
# @example Request syntax with placeholder values
|
1577
1577
|
#
|
1578
1578
|
# resp = client.get_builtin_intents({
|
1579
|
-
# locale: "en-US", # accepts en-US, en-GB, de-DE
|
1579
|
+
# locale: "en-US", # accepts en-US, en-GB, de-DE, en-AU
|
1580
1580
|
# signature_contains: "String",
|
1581
1581
|
# next_token: "NextToken",
|
1582
1582
|
# max_results: 1,
|
@@ -1587,7 +1587,7 @@ module Aws::LexModelBuildingService
|
|
1587
1587
|
# resp.intents #=> Array
|
1588
1588
|
# resp.intents[0].signature #=> String
|
1589
1589
|
# resp.intents[0].supported_locales #=> Array
|
1590
|
-
# resp.intents[0].supported_locales[0] #=> String, one of "en-US", "en-GB", "de-DE"
|
1590
|
+
# resp.intents[0].supported_locales[0] #=> String, one of "en-US", "en-GB", "de-DE", "en-AU"
|
1591
1591
|
# resp.next_token #=> String
|
1592
1592
|
#
|
1593
1593
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntents AWS API Documentation
|
@@ -1639,7 +1639,7 @@ module Aws::LexModelBuildingService
|
|
1639
1639
|
# @example Request syntax with placeholder values
|
1640
1640
|
#
|
1641
1641
|
# resp = client.get_builtin_slot_types({
|
1642
|
-
# locale: "en-US", # accepts en-US, en-GB, de-DE
|
1642
|
+
# locale: "en-US", # accepts en-US, en-GB, de-DE, en-AU
|
1643
1643
|
# signature_contains: "String",
|
1644
1644
|
# next_token: "NextToken",
|
1645
1645
|
# max_results: 1,
|
@@ -1650,7 +1650,7 @@ module Aws::LexModelBuildingService
|
|
1650
1650
|
# resp.slot_types #=> Array
|
1651
1651
|
# resp.slot_types[0].signature #=> String
|
1652
1652
|
# resp.slot_types[0].supported_locales #=> Array
|
1653
|
-
# resp.slot_types[0].supported_locales[0] #=> String, one of "en-US", "en-GB", "de-DE"
|
1653
|
+
# resp.slot_types[0].supported_locales[0] #=> String, one of "en-US", "en-GB", "de-DE", "en-AU"
|
1654
1654
|
# resp.next_token #=> String
|
1655
1655
|
#
|
1656
1656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypes AWS API Documentation
|
@@ -2535,19 +2535,16 @@ module Aws::LexModelBuildingService
|
|
2535
2535
|
# OrderPizza intent. For more information, see how-it-works.
|
2536
2536
|
#
|
2537
2537
|
# @option params [Boolean] :enable_model_improvements
|
2538
|
-
# Set to `true` to enable
|
2539
|
-
#
|
2540
|
-
# performance of your bot.
|
2538
|
+
# Set to `true` to enable access to natural language understanding
|
2539
|
+
# improvements.
|
2541
2540
|
#
|
2542
2541
|
# When you set the `enableModelImprovements` parameter to `true` you can
|
2543
2542
|
# use the `nluIntentConfidenceThreshold` parameter to configure
|
2544
2543
|
# confidence scores. For more information, see [Confidence Scores][1].
|
2545
2544
|
#
|
2546
2545
|
# You can only set the `enableModelImprovements` parameter in certain
|
2547
|
-
# Regions. If you set the parameter to `true`, your bot
|
2548
|
-
#
|
2549
|
-
# use the original NLU. If you set the parameter to `false` after
|
2550
|
-
# setting it to `true`, your bot will return to the original NLU.
|
2546
|
+
# Regions. If you set the parameter to `true`, your bot has access to
|
2547
|
+
# accuracy improvements.
|
2551
2548
|
#
|
2552
2549
|
# The Regions where you can set the `enableModelImprovements` parameter
|
2553
2550
|
# to `true` are:
|
@@ -2586,6 +2583,17 @@ module Aws::LexModelBuildingService
|
|
2586
2583
|
# You must set the `enableModelImprovements` parameter to `true` to use
|
2587
2584
|
# confidence scores.
|
2588
2585
|
#
|
2586
|
+
# * US East (N. Virginia) (us-east-1)
|
2587
|
+
#
|
2588
|
+
# * US West (Oregon) (us-west-2)
|
2589
|
+
#
|
2590
|
+
# * Asia Pacific (Sydney) (ap-southeast-2)
|
2591
|
+
#
|
2592
|
+
# * EU (Ireland) (eu-west-1)
|
2593
|
+
#
|
2594
|
+
# In other Regions, the `enableModelImprovements` parameter is set to
|
2595
|
+
# `true` by default.
|
2596
|
+
#
|
2589
2597
|
# For example, suppose a bot is configured with the confidence threshold
|
2590
2598
|
# of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex returns three
|
2591
2599
|
# alternative intents with the following confidence scores: IntentA
|
@@ -2651,7 +2659,7 @@ module Aws::LexModelBuildingService
|
|
2651
2659
|
# When Amazon Lex can't understand the user's input in context, it
|
2652
2660
|
# tries to elicit the information a few times. After that, Amazon Lex
|
2653
2661
|
# sends the message defined in `abortStatement` to the user, and then
|
2654
|
-
#
|
2662
|
+
# cancels the conversation. To set the number of retries, use the
|
2655
2663
|
# `valueElicitationPrompt` field for the slot type.
|
2656
2664
|
#
|
2657
2665
|
# For example, in a pizza ordering bot, Amazon Lex might ask a user
|
@@ -2665,7 +2673,7 @@ module Aws::LexModelBuildingService
|
|
2665
2673
|
# You specify the `valueElicitationPrompt` field when you create the
|
2666
2674
|
# `CrustType` slot.
|
2667
2675
|
#
|
2668
|
-
# If you have defined a fallback intent the
|
2676
|
+
# If you have defined a fallback intent the cancel statement will not be
|
2669
2677
|
# sent to the user, the fallback intent is used instead. For more
|
2670
2678
|
# information, see [ AMAZON.FallbackIntent][1].
|
2671
2679
|
#
|
@@ -2925,7 +2933,7 @@ module Aws::LexModelBuildingService
|
|
2925
2933
|
# voice_id: "String",
|
2926
2934
|
# checksum: "String",
|
2927
2935
|
# process_behavior: "SAVE", # accepts SAVE, BUILD
|
2928
|
-
# locale: "en-US", # required, accepts en-US, en-GB, de-DE
|
2936
|
+
# locale: "en-US", # required, accepts en-US, en-GB, de-DE, en-AU
|
2929
2937
|
# child_directed: false, # required
|
2930
2938
|
# detect_sentiment: false,
|
2931
2939
|
# create_version: false,
|
@@ -2965,7 +2973,7 @@ module Aws::LexModelBuildingService
|
|
2965
2973
|
# resp.voice_id #=> String
|
2966
2974
|
# resp.checksum #=> String
|
2967
2975
|
# resp.version #=> String
|
2968
|
-
# resp.locale #=> String, one of "en-US", "en-GB", "de-DE"
|
2976
|
+
# resp.locale #=> String, one of "en-US", "en-GB", "de-DE", "en-AU"
|
2969
2977
|
# resp.child_directed #=> Boolean
|
2970
2978
|
# resp.create_version #=> Boolean
|
2971
2979
|
# resp.detect_sentiment #=> Boolean
|
@@ -3797,6 +3805,9 @@ module Aws::LexModelBuildingService
|
|
3797
3805
|
# are additional values that help train the machine learning model about
|
3798
3806
|
# the values that it resolves for a slot.
|
3799
3807
|
#
|
3808
|
+
# A regular expression slot type doesn't require enumeration values.
|
3809
|
+
# All other slot types require a list of enumeration values.
|
3810
|
+
#
|
3800
3811
|
# When Amazon Lex resolves a slot value, it generates a resolution list
|
3801
3812
|
# that contains up to five possible values for the slot. If you are
|
3802
3813
|
# using a Lambda function, this resolution list is passed to the
|
@@ -4100,7 +4111,7 @@ module Aws::LexModelBuildingService
|
|
4100
4111
|
params: params,
|
4101
4112
|
config: config)
|
4102
4113
|
context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
|
4103
|
-
context[:gem_version] = '1.
|
4114
|
+
context[:gem_version] = '1.36.0'
|
4104
4115
|
Seahorse::Client::Request.new(handlers, context)
|
4105
4116
|
end
|
4106
4117
|
|
@@ -412,7 +412,7 @@ module Aws::LexModelBuildingService
|
|
412
412
|
# @return [Types::Prompt]
|
413
413
|
#
|
414
414
|
# @!attribute [rw] abort_statement
|
415
|
-
# The message that Amazon Lex uses to
|
415
|
+
# The message that Amazon Lex uses to cancel a conversation. For more
|
416
416
|
# information, see PutBot.
|
417
417
|
# @return [Types::Statement]
|
418
418
|
#
|
@@ -493,9 +493,9 @@ module Aws::LexModelBuildingService
|
|
493
493
|
# @return [Boolean]
|
494
494
|
#
|
495
495
|
# @!attribute [rw] enable_model_improvements
|
496
|
-
# Indicates whether the bot uses
|
497
|
-
#
|
498
|
-
#
|
496
|
+
# Indicates whether the bot uses accuracy improvements. `true`
|
497
|
+
# indicates that the bot is using the imoprovements, otherwise,
|
498
|
+
# `false`.
|
499
499
|
# @return [Boolean]
|
500
500
|
#
|
501
501
|
# @!attribute [rw] detect_sentiment
|
@@ -1457,17 +1457,19 @@ module Aws::LexModelBuildingService
|
|
1457
1457
|
# @return [Array<Types::Intent>]
|
1458
1458
|
#
|
1459
1459
|
# @!attribute [rw] enable_model_improvements
|
1460
|
-
# Indicates whether the bot uses
|
1461
|
-
#
|
1462
|
-
#
|
1460
|
+
# Indicates whether the bot uses accuracy improvements. `true`
|
1461
|
+
# indicates that the bot is using the imoprovements, otherwise,
|
1462
|
+
# `false`.
|
1463
1463
|
# @return [Boolean]
|
1464
1464
|
#
|
1465
1465
|
# @!attribute [rw] nlu_intent_confidence_threshold
|
1466
1466
|
# The score that determines where Amazon Lex inserts the
|
1467
1467
|
# `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
|
1468
1468
|
# returning alternative intents in a [PostContent][1] or [PostText][2]
|
1469
|
-
# response. `AMAZON.FallbackIntent`
|
1470
|
-
#
|
1469
|
+
# response. `AMAZON.FallbackIntent` is inserted if the confidence
|
1470
|
+
# score for all intents is below this value.
|
1471
|
+
# `AMAZON.KendraSearchIntent` is only inserted if it is configured for
|
1472
|
+
# the bot.
|
1471
1473
|
#
|
1472
1474
|
#
|
1473
1475
|
#
|
@@ -1766,7 +1768,7 @@ module Aws::LexModelBuildingService
|
|
1766
1768
|
# data as a hash:
|
1767
1769
|
#
|
1768
1770
|
# {
|
1769
|
-
# locale: "en-US", # accepts en-US, en-GB, de-DE
|
1771
|
+
# locale: "en-US", # accepts en-US, en-GB, de-DE, en-AU
|
1770
1772
|
# signature_contains: "String",
|
1771
1773
|
# next_token: "NextToken",
|
1772
1774
|
# max_results: 1,
|
@@ -1836,7 +1838,7 @@ module Aws::LexModelBuildingService
|
|
1836
1838
|
# data as a hash:
|
1837
1839
|
#
|
1838
1840
|
# {
|
1839
|
-
# locale: "en-US", # accepts en-US, en-GB, de-DE
|
1841
|
+
# locale: "en-US", # accepts en-US, en-GB, de-DE, en-AU
|
1840
1842
|
# signature_contains: "String",
|
1841
1843
|
# next_token: "NextToken",
|
1842
1844
|
# max_results: 1,
|
@@ -3091,7 +3093,7 @@ module Aws::LexModelBuildingService
|
|
3091
3093
|
# voice_id: "String",
|
3092
3094
|
# checksum: "String",
|
3093
3095
|
# process_behavior: "SAVE", # accepts SAVE, BUILD
|
3094
|
-
# locale: "en-US", # required, accepts en-US, en-GB, de-DE
|
3096
|
+
# locale: "en-US", # required, accepts en-US, en-GB, de-DE, en-AU
|
3095
3097
|
# child_directed: false, # required
|
3096
3098
|
# detect_sentiment: false,
|
3097
3099
|
# create_version: false,
|
@@ -3118,19 +3120,16 @@ module Aws::LexModelBuildingService
|
|
3118
3120
|
# @return [Array<Types::Intent>]
|
3119
3121
|
#
|
3120
3122
|
# @!attribute [rw] enable_model_improvements
|
3121
|
-
# Set to `true` to enable
|
3122
|
-
#
|
3123
|
-
# performance of your bot.
|
3123
|
+
# Set to `true` to enable access to natural language understanding
|
3124
|
+
# improvements.
|
3124
3125
|
#
|
3125
3126
|
# When you set the `enableModelImprovements` parameter to `true` you
|
3126
3127
|
# can use the `nluIntentConfidenceThreshold` parameter to configure
|
3127
3128
|
# confidence scores. For more information, see [Confidence Scores][1].
|
3128
3129
|
#
|
3129
3130
|
# You can only set the `enableModelImprovements` parameter in certain
|
3130
|
-
# Regions. If you set the parameter to `true`, your bot
|
3131
|
-
#
|
3132
|
-
# to use the original NLU. If you set the parameter to `false` after
|
3133
|
-
# setting it to `true`, your bot will return to the original NLU.
|
3131
|
+
# Regions. If you set the parameter to `true`, your bot has access to
|
3132
|
+
# accuracy improvements.
|
3134
3133
|
#
|
3135
3134
|
# The Regions where you can set the `enableModelImprovements`
|
3136
3135
|
# parameter to `true` are:
|
@@ -3170,6 +3169,17 @@ module Aws::LexModelBuildingService
|
|
3170
3169
|
# You must set the `enableModelImprovements` parameter to `true` to
|
3171
3170
|
# use confidence scores.
|
3172
3171
|
#
|
3172
|
+
# * US East (N. Virginia) (us-east-1)
|
3173
|
+
#
|
3174
|
+
# * US West (Oregon) (us-west-2)
|
3175
|
+
#
|
3176
|
+
# * Asia Pacific (Sydney) (ap-southeast-2)
|
3177
|
+
#
|
3178
|
+
# * EU (Ireland) (eu-west-1)
|
3179
|
+
#
|
3180
|
+
# In other Regions, the `enableModelImprovements` parameter is set to
|
3181
|
+
# `true` by default.
|
3182
|
+
#
|
3173
3183
|
# For example, suppose a bot is configured with the confidence
|
3174
3184
|
# threshold of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex
|
3175
3185
|
# returns three alternative intents with the following confidence
|
@@ -3237,7 +3247,7 @@ module Aws::LexModelBuildingService
|
|
3237
3247
|
# When Amazon Lex can't understand the user's input in context, it
|
3238
3248
|
# tries to elicit the information a few times. After that, Amazon Lex
|
3239
3249
|
# sends the message defined in `abortStatement` to the user, and then
|
3240
|
-
#
|
3250
|
+
# cancels the conversation. To set the number of retries, use the
|
3241
3251
|
# `valueElicitationPrompt` field for the slot type.
|
3242
3252
|
#
|
3243
3253
|
# For example, in a pizza ordering bot, Amazon Lex might ask a user
|
@@ -3251,7 +3261,7 @@ module Aws::LexModelBuildingService
|
|
3251
3261
|
# You specify the `valueElicitationPrompt` field when you create the
|
3252
3262
|
# `CrustType` slot.
|
3253
3263
|
#
|
3254
|
-
# If you have defined a fallback intent the
|
3264
|
+
# If you have defined a fallback intent the cancel statement will not
|
3255
3265
|
# be sent to the user, the fallback intent is used instead. For more
|
3256
3266
|
# information, see [ AMAZON.FallbackIntent][1].
|
3257
3267
|
#
|
@@ -3407,17 +3417,19 @@ module Aws::LexModelBuildingService
|
|
3407
3417
|
# @return [Array<Types::Intent>]
|
3408
3418
|
#
|
3409
3419
|
# @!attribute [rw] enable_model_improvements
|
3410
|
-
# Indicates whether the bot uses
|
3411
|
-
#
|
3412
|
-
#
|
3420
|
+
# Indicates whether the bot uses accuracy improvements. `true`
|
3421
|
+
# indicates that the bot is using the imoprovements, otherwise,
|
3422
|
+
# `false`.
|
3413
3423
|
# @return [Boolean]
|
3414
3424
|
#
|
3415
3425
|
# @!attribute [rw] nlu_intent_confidence_threshold
|
3416
3426
|
# The score that determines where Amazon Lex inserts the
|
3417
3427
|
# `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
|
3418
3428
|
# returning alternative intents in a [PostContent][1] or [PostText][2]
|
3419
|
-
# response. `AMAZON.FallbackIntent`
|
3420
|
-
#
|
3429
|
+
# response. `AMAZON.FallbackIntent` is inserted if the confidence
|
3430
|
+
# score for all intents is below this value.
|
3431
|
+
# `AMAZON.KendraSearchIntent` is only inserted if it is configured for
|
3432
|
+
# the bot.
|
3421
3433
|
#
|
3422
3434
|
#
|
3423
3435
|
#
|
@@ -3431,7 +3443,7 @@ module Aws::LexModelBuildingService
|
|
3431
3443
|
# @return [Types::Prompt]
|
3432
3444
|
#
|
3433
3445
|
# @!attribute [rw] abort_statement
|
3434
|
-
# The message that Amazon Lex uses to
|
3446
|
+
# The message that Amazon Lex uses to cancel a conversation. For more
|
3435
3447
|
# information, see PutBot.
|
3436
3448
|
# @return [Types::Statement]
|
3437
3449
|
#
|
@@ -4017,6 +4029,9 @@ module Aws::LexModelBuildingService
|
|
4017
4029
|
# which are additional values that help train the machine learning
|
4018
4030
|
# model about the values that it resolves for a slot.
|
4019
4031
|
#
|
4032
|
+
# A regular expression slot type doesn't require enumeration values.
|
4033
|
+
# All other slot types require a list of enumeration values.
|
4034
|
+
#
|
4020
4035
|
# When Amazon Lex resolves a slot value, it generates a resolution
|
4021
4036
|
# list that contains up to five possible values for the slot. If you
|
4022
4037
|
# are using a Lambda function, this resolution list is passed to the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelbuildingservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08
|
11
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|