@aws-sdk/client-lex-models-v2 3.940.0 → 3.942.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist-cjs/index.js +123 -16
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +117 -16
- package/dist-types/LexModelsV2.d.ts +1 -1
- package/dist-types/LexModelsV2Client.d.ts +1 -1
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +32 -2
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +16 -1
- package/dist-types/commands/DescribeImportCommand.d.ts +16 -1
- package/dist-types/commands/StartImportCommand.d.ts +32 -2
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +32 -2
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +116 -125
- package/dist-types/models/models_1.d.ts +141 -2
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -28
- package/dist-types/ts3.4/models/models_1.d.ts +34 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,5 +1,124 @@
|
|
|
1
|
-
import { AnalyticsModality, AnalyticsSessionSortByName, AnalyticsSortOrder, AnalyticsUtteranceSortByName, BotAliasStatus, BotLocaleStatus, BotRecommendationStatus, BotStatus, BotType, ConversationEndState, ExportStatus, GenerationStatus, ImportExportFileFormat, ImportStatus, IntentState, MergeStrategy, SearchOrder, SlotConstraint, SlotFilterName, SlotFilterOperator, SlotShape, SlotSortAttribute, SlotTypeCategory, SlotTypeFilterName, SlotTypeFilterOperator, SlotTypeSortAttribute, SortOrder, SpeechDetectionSensitivity, TestExecutionApiMode, TestExecutionModality, TestExecutionSortAttribute, TestExecutionStatus, TestResultMatchStatus, TestResultTypeFilter, TestSetGenerationStatus, TestSetModality, TestSetSortAttribute, TestSetStatus, TimeDimension, UtteranceContentType } from "./enums";
|
|
2
|
-
import { ActiveContext, AgentTurnResult, AgentTurnSpecification, AggregatedUtterancesFilter, AggregatedUtterancesSortBy, AggregatedUtterancesSummary, AnalyticsBinBySpecification, AnalyticsIntentFilter, AnalyticsIntentGroupBySpecification, AnalyticsIntentMetric, AnalyticsIntentNodeSummary, AnalyticsIntentResult, AnalyticsIntentStageFilter, AnalyticsIntentStageGroupBySpecification, AnalyticsIntentStageMetric, AnalyticsIntentStageResult, AnalyticsPathFilter, AnalyticsSessionFilter, AnalyticsSessionGroupBySpecification, AnalyticsSessionMetric, AnalyticsSessionResult, AnalyticsUtteranceAttribute, AnalyticsUtteranceFilter, AnalyticsUtteranceGroupBySpecification, AnalyticsUtteranceMetric, AnalyticsUtteranceResult, AssociatedTranscript, AssociatedTranscriptFilter, BotAliasLocaleSettings, BotAliasReplicaSummary, BotAliasSummary, BotFilter, BotLocaleFilter, BotLocaleSortBy, BotLocaleSummary, BotMember, BotRecommendationSummary, BotReplicaSummary, BotSortBy, BotSummary, BotVersionReplicaSortBy, BotVersionReplicaSummary, BotVersionSortBy, BotVersionSummary, BuiltInIntentSortBy, BuiltInIntentSummary, BuiltInSlotTypeSortBy, BuiltInSlotTypeSummary, CompositeSlotTypeSetting, Condition, ConversationLevelResultDetail, ConversationLevelTestResults, ConversationLevelTestResultsFilterBy, ConversationLogSettings, CustomVocabularyItem, DataPrivacy, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, EncryptionSetting, ErrorLogSettings, ExecutionErrorDetails, ExportFilter, ExportResourceSpecification, ExportSortBy, ExportSummary, ExternalSourceSetting, FulfillmentUpdatesSpecification, GenerationSortBy, GenerationSummary, GenerativeAISettings, ImageResponseCard, ImportFilter, ImportResourceSpecification, ImportSortBy, ImportSummary, InputContext, IntentClassificationTestResults, IntentFilter,
|
|
1
|
+
import { AnalyticsModality, AnalyticsSessionSortByName, AnalyticsSortOrder, AnalyticsUtteranceSortByName, BotAliasStatus, BotLocaleStatus, BotRecommendationStatus, BotStatus, BotType, ConversationEndState, ExportStatus, GenerationStatus, ImportExportFileFormat, ImportStatus, IntentSortAttribute, IntentState, MergeStrategy, SearchOrder, SlotConstraint, SlotFilterName, SlotFilterOperator, SlotShape, SlotSortAttribute, SlotTypeCategory, SlotTypeFilterName, SlotTypeFilterOperator, SlotTypeSortAttribute, SortOrder, SpeechDetectionSensitivity, TestExecutionApiMode, TestExecutionModality, TestExecutionSortAttribute, TestExecutionStatus, TestResultMatchStatus, TestResultTypeFilter, TestSetGenerationStatus, TestSetModality, TestSetSortAttribute, TestSetStatus, TimeDimension, UtteranceContentType } from "./enums";
|
|
2
|
+
import { ActiveContext, AgentTurnResult, AgentTurnSpecification, AggregatedUtterancesFilter, AggregatedUtterancesSortBy, AggregatedUtterancesSummary, AnalyticsBinBySpecification, AnalyticsIntentFilter, AnalyticsIntentGroupBySpecification, AnalyticsIntentMetric, AnalyticsIntentNodeSummary, AnalyticsIntentResult, AnalyticsIntentStageFilter, AnalyticsIntentStageGroupBySpecification, AnalyticsIntentStageMetric, AnalyticsIntentStageResult, AnalyticsPathFilter, AnalyticsSessionFilter, AnalyticsSessionGroupBySpecification, AnalyticsSessionMetric, AnalyticsSessionResult, AnalyticsUtteranceAttribute, AnalyticsUtteranceFilter, AnalyticsUtteranceGroupBySpecification, AnalyticsUtteranceMetric, AnalyticsUtteranceResult, AssociatedTranscript, AssociatedTranscriptFilter, BotAliasLocaleSettings, BotAliasReplicaSummary, BotAliasSummary, BotFilter, BotLocaleFilter, BotLocaleSortBy, BotLocaleSummary, BotMember, BotRecommendationSummary, BotReplicaSummary, BotSortBy, BotSummary, BotVersionReplicaSortBy, BotVersionReplicaSummary, BotVersionSortBy, BotVersionSummary, BuiltInIntentSortBy, BuiltInIntentSummary, BuiltInSlotTypeSortBy, BuiltInSlotTypeSummary, CompositeSlotTypeSetting, Condition, ConversationLevelResultDetail, ConversationLevelTestResults, ConversationLevelTestResultsFilterBy, ConversationLogSettings, CustomVocabularyItem, DataPrivacy, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, EncryptionSetting, ErrorLogSettings, ExecutionErrorDetails, ExportFilter, ExportResourceSpecification, ExportSortBy, ExportSummary, ExternalSourceSetting, FulfillmentUpdatesSpecification, GenerationSortBy, GenerationSummary, GenerativeAISettings, ImageResponseCard, ImportFilter, ImportResourceSpecification, ImportSortBy, ImportSummary, InputContext, IntentClassificationTestResults, IntentFilter, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, QInConnectIntentConfiguration, QnAIntentConfiguration, ResponseSpecification, RuntimeHintValue, SampleUtterance, SentimentAnalysisSettings, SlotDefaultValueSpecification, SlotPriority, SlotResolutionSetting, SlotResolutionTestResultItemCounts, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SpeechRecognitionSettings, SubSlotSetting, TestExecutionTarget, TestSetGenerationDataSource, TestSetStorageLocation, TranscriptSourceSetting, UnifiedSpeechSettings, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Information about the success and failure rate of slot resolution
|
|
5
|
+
* in the results of a test execution.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface SlotResolutionTestResultItem {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The name of the slot.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
slotName: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>A result for slot resolution in the results of a test execution.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
resultCounts: SlotResolutionTestResultItemCounts | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* <p>Information about intent-level slot resolution in a test result.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface IntentLevelSlotResolutionTestResultItem {
|
|
25
|
+
/**
|
|
26
|
+
* <p>The name of the intent that was recognized.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
intentName: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>Indicates whether the conversation involves multiple turns or not.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
multiTurnConversation: boolean | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The results for the slot resolution in the test execution result.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
slotResolutionResults: SlotResolutionTestResultItem[] | undefined;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>Indicates the success or failure of slots at the intent level.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface IntentLevelSlotResolutionTestResults {
|
|
46
|
+
/**
|
|
47
|
+
* <p>Indicates the items for the slot level resolution for the intents.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
items: IntentLevelSlotResolutionTestResultItem[] | undefined;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>Specifies attributes for sorting a list of intents.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface IntentSortBy {
|
|
57
|
+
/**
|
|
58
|
+
* <p>The attribute to use to sort the list of intents.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
attribute: IntentSortAttribute | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The order to sort the list. You can choose ascending or
|
|
64
|
+
* descending.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
order: SortOrder | undefined;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* <p>Summary information about an intent returned by the
|
|
71
|
+
* <code>ListIntents</code> operation.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export interface IntentSummary {
|
|
75
|
+
/**
|
|
76
|
+
* <p>The unique identifier assigned to the intent. Use this ID to get
|
|
77
|
+
* detailed information about the intent with the
|
|
78
|
+
* <code>DescribeIntent</code> operation.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
intentId?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The name of the intent.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
intentName?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The display name of the intent.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
intentDisplayName?: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The description of the intent.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
description?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* <p>If this intent is derived from a built-in intent, the name of the
|
|
99
|
+
* parent intent.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
parentIntentSignature?: string | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* <p>The input contexts that must be active for this intent to be
|
|
105
|
+
* considered for recognition.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
inputContexts?: InputContext[] | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The output contexts that are activated when this intent is
|
|
111
|
+
* fulfilled.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
outputContexts?: OutputContext[] | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* <p>The timestamp of the date and time that the intent was last
|
|
117
|
+
* updated.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
lastUpdatedDateTime?: Date | undefined;
|
|
121
|
+
}
|
|
3
122
|
/**
|
|
4
123
|
* <p>An object containing the name of an intent that was invoked.</p>
|
|
5
124
|
* @public
|
|
@@ -3935,6 +4054,16 @@ export interface UpdateBotLocaleRequest {
|
|
|
3935
4054
|
* @public
|
|
3936
4055
|
*/
|
|
3937
4056
|
voiceSettings?: VoiceSettings | undefined;
|
|
4057
|
+
/**
|
|
4058
|
+
* <p>Updated unified speech settings to apply to the bot locale.</p>
|
|
4059
|
+
* @public
|
|
4060
|
+
*/
|
|
4061
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
4062
|
+
/**
|
|
4063
|
+
* <p>Updated speech-to-text settings to apply to the bot locale.</p>
|
|
4064
|
+
* @public
|
|
4065
|
+
*/
|
|
4066
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
3938
4067
|
/**
|
|
3939
4068
|
* <p>Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing
|
|
3940
4069
|
* may differ if you turn a feature on. For more information, see LINK.</p>
|
|
@@ -3990,6 +4119,16 @@ export interface UpdateBotLocaleResponse {
|
|
|
3990
4119
|
* @public
|
|
3991
4120
|
*/
|
|
3992
4121
|
voiceSettings?: VoiceSettings | undefined;
|
|
4122
|
+
/**
|
|
4123
|
+
* <p>The updated unified speech settings for the bot locale.</p>
|
|
4124
|
+
* @public
|
|
4125
|
+
*/
|
|
4126
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
4127
|
+
/**
|
|
4128
|
+
* <p>The updated speech-to-text settings for the bot locale.</p>
|
|
4129
|
+
* @public
|
|
4130
|
+
*/
|
|
4131
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
3993
4132
|
/**
|
|
3994
4133
|
* <p>The current status of the locale. When the bot status is
|
|
3995
4134
|
* <code>Built</code> the locale is ready for use.</p>
|
|
@@ -139,6 +139,7 @@ export declare var CustomVocabularyItem: StaticStructureSchema;
|
|
|
139
139
|
export declare var DataPrivacy: StaticStructureSchema;
|
|
140
140
|
export declare var DataSourceConfiguration: StaticStructureSchema;
|
|
141
141
|
export declare var DateRangeFilter: StaticStructureSchema;
|
|
142
|
+
export declare var DeepgramSpeechModelConfig: StaticStructureSchema;
|
|
142
143
|
export declare var DefaultConditionalBranch: StaticStructureSchema;
|
|
143
144
|
export declare var DeleteBotAliasRequest: StaticStructureSchema;
|
|
144
145
|
export declare var DeleteBotAliasResponse: StaticStructureSchema;
|
|
@@ -384,6 +385,9 @@ export declare var SlotValueOverride: StaticStructureSchema;
|
|
|
384
385
|
export declare var SlotValueRegexFilter: StaticStructureSchema;
|
|
385
386
|
export declare var SlotValueSelectionSetting: StaticStructureSchema;
|
|
386
387
|
export declare var Specifications: StaticStructureSchema;
|
|
388
|
+
export declare var SpeechFoundationModel: StaticStructureSchema;
|
|
389
|
+
export declare var SpeechModelConfig: StaticStructureSchema;
|
|
390
|
+
export declare var SpeechRecognitionSettings: StaticStructureSchema;
|
|
387
391
|
export declare var SSMLMessage: StaticStructureSchema;
|
|
388
392
|
export declare var StartBotRecommendationRequest: StaticStructureSchema;
|
|
389
393
|
export declare var StartBotRecommendationResponse: StaticStructureSchema;
|
|
@@ -429,6 +433,7 @@ export declare var ThrottlingException: StaticErrorSchema;
|
|
|
429
433
|
export declare var TranscriptFilter: StaticStructureSchema;
|
|
430
434
|
export declare var TranscriptSourceSetting: StaticStructureSchema;
|
|
431
435
|
export declare var TurnSpecification: StaticStructureSchema;
|
|
436
|
+
export declare var UnifiedSpeechSettings: StaticStructureSchema;
|
|
432
437
|
export declare var UntagResourceRequest: StaticStructureSchema;
|
|
433
438
|
export declare var UntagResourceResponse: StaticStructureSchema;
|
|
434
439
|
export declare var UpdateBotAliasRequest: StaticStructureSchema;
|
|
@@ -284,6 +284,13 @@ export declare const SpeechDetectionSensitivity: {
|
|
|
284
284
|
};
|
|
285
285
|
export type SpeechDetectionSensitivity =
|
|
286
286
|
(typeof SpeechDetectionSensitivity)[keyof typeof SpeechDetectionSensitivity];
|
|
287
|
+
export declare const SpeechModelPreference: {
|
|
288
|
+
readonly Deepgram: "Deepgram";
|
|
289
|
+
readonly Neural: "Neural";
|
|
290
|
+
readonly Standard: "Standard";
|
|
291
|
+
};
|
|
292
|
+
export type SpeechModelPreference =
|
|
293
|
+
(typeof SpeechModelPreference)[keyof typeof SpeechModelPreference];
|
|
287
294
|
export declare const VoiceEngine: {
|
|
288
295
|
readonly Generative: "generative";
|
|
289
296
|
readonly LongForm: "long-form";
|
|
@@ -63,7 +63,6 @@ import {
|
|
|
63
63
|
ImportStatus,
|
|
64
64
|
IntentFilterName,
|
|
65
65
|
IntentFilterOperator,
|
|
66
|
-
IntentSortAttribute,
|
|
67
66
|
MergeStrategy,
|
|
68
67
|
MessageSelectionStrategy,
|
|
69
68
|
ObfuscationSettingType,
|
|
@@ -72,6 +71,7 @@ import {
|
|
|
72
71
|
SlotValueResolutionStrategy,
|
|
73
72
|
SortOrder,
|
|
74
73
|
SpeechDetectionSensitivity,
|
|
74
|
+
SpeechModelPreference,
|
|
75
75
|
TestExecutionApiMode,
|
|
76
76
|
TestExecutionModality,
|
|
77
77
|
TestExecutionStatus,
|
|
@@ -447,9 +447,27 @@ export interface BotLocaleHistoryEvent {
|
|
|
447
447
|
event: string | undefined;
|
|
448
448
|
eventDate: Date | undefined;
|
|
449
449
|
}
|
|
450
|
+
export interface DeepgramSpeechModelConfig {
|
|
451
|
+
apiTokenSecretArn: string | undefined;
|
|
452
|
+
modelId?: string | undefined;
|
|
453
|
+
}
|
|
454
|
+
export interface SpeechModelConfig {
|
|
455
|
+
deepgramConfig?: DeepgramSpeechModelConfig | undefined;
|
|
456
|
+
}
|
|
457
|
+
export interface SpeechRecognitionSettings {
|
|
458
|
+
speechModelPreference?: SpeechModelPreference | undefined;
|
|
459
|
+
speechModelConfig?: SpeechModelConfig | undefined;
|
|
460
|
+
}
|
|
461
|
+
export interface SpeechFoundationModel {
|
|
462
|
+
modelArn: string | undefined;
|
|
463
|
+
voiceId?: string | undefined;
|
|
464
|
+
}
|
|
465
|
+
export interface UnifiedSpeechSettings {
|
|
466
|
+
speechFoundationModel: SpeechFoundationModel | undefined;
|
|
467
|
+
}
|
|
450
468
|
export interface VoiceSettings {
|
|
451
|
-
voiceId: string | undefined;
|
|
452
469
|
engine?: VoiceEngine | undefined;
|
|
470
|
+
voiceId: string | undefined;
|
|
453
471
|
}
|
|
454
472
|
export interface BotLocaleImportSpecification {
|
|
455
473
|
botId: string | undefined;
|
|
@@ -457,7 +475,9 @@ export interface BotLocaleImportSpecification {
|
|
|
457
475
|
localeId: string | undefined;
|
|
458
476
|
nluIntentConfidenceThreshold?: number | undefined;
|
|
459
477
|
voiceSettings?: VoiceSettings | undefined;
|
|
478
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
460
479
|
speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
|
|
480
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
461
481
|
}
|
|
462
482
|
export interface BotLocaleSortBy {
|
|
463
483
|
attribute: BotLocaleSortAttribute | undefined;
|
|
@@ -776,6 +796,8 @@ export interface CreateBotLocaleRequest {
|
|
|
776
796
|
description?: string | undefined;
|
|
777
797
|
nluIntentConfidenceThreshold: number | undefined;
|
|
778
798
|
voiceSettings?: VoiceSettings | undefined;
|
|
799
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
800
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
779
801
|
generativeAISettings?: GenerativeAISettings | undefined;
|
|
780
802
|
speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
|
|
781
803
|
}
|
|
@@ -787,6 +809,8 @@ export interface CreateBotLocaleResponse {
|
|
|
787
809
|
description?: string | undefined;
|
|
788
810
|
nluIntentConfidenceThreshold?: number | undefined;
|
|
789
811
|
voiceSettings?: VoiceSettings | undefined;
|
|
812
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
813
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
790
814
|
botLocaleStatus?: BotLocaleStatus | undefined;
|
|
791
815
|
creationDateTime?: Date | undefined;
|
|
792
816
|
generativeAISettings?: GenerativeAISettings | undefined;
|
|
@@ -1264,6 +1288,8 @@ export interface DescribeBotLocaleResponse {
|
|
|
1264
1288
|
description?: string | undefined;
|
|
1265
1289
|
nluIntentConfidenceThreshold?: number | undefined;
|
|
1266
1290
|
voiceSettings?: VoiceSettings | undefined;
|
|
1291
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
1292
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
1267
1293
|
intentsCount?: number | undefined;
|
|
1268
1294
|
slotTypesCount?: number | undefined;
|
|
1269
1295
|
botLocaleStatus?: BotLocaleStatus | undefined;
|
|
@@ -1662,29 +1688,3 @@ export interface SlotResolutionTestResultItemCounts {
|
|
|
1662
1688
|
| Partial<Record<TestResultMatchStatus, number>>
|
|
1663
1689
|
| undefined;
|
|
1664
1690
|
}
|
|
1665
|
-
export interface SlotResolutionTestResultItem {
|
|
1666
|
-
slotName: string | undefined;
|
|
1667
|
-
resultCounts: SlotResolutionTestResultItemCounts | undefined;
|
|
1668
|
-
}
|
|
1669
|
-
export interface IntentLevelSlotResolutionTestResultItem {
|
|
1670
|
-
intentName: string | undefined;
|
|
1671
|
-
multiTurnConversation: boolean | undefined;
|
|
1672
|
-
slotResolutionResults: SlotResolutionTestResultItem[] | undefined;
|
|
1673
|
-
}
|
|
1674
|
-
export interface IntentLevelSlotResolutionTestResults {
|
|
1675
|
-
items: IntentLevelSlotResolutionTestResultItem[] | undefined;
|
|
1676
|
-
}
|
|
1677
|
-
export interface IntentSortBy {
|
|
1678
|
-
attribute: IntentSortAttribute | undefined;
|
|
1679
|
-
order: SortOrder | undefined;
|
|
1680
|
-
}
|
|
1681
|
-
export interface IntentSummary {
|
|
1682
|
-
intentId?: string | undefined;
|
|
1683
|
-
intentName?: string | undefined;
|
|
1684
|
-
intentDisplayName?: string | undefined;
|
|
1685
|
-
description?: string | undefined;
|
|
1686
|
-
parentIntentSignature?: string | undefined;
|
|
1687
|
-
inputContexts?: InputContext[] | undefined;
|
|
1688
|
-
outputContexts?: OutputContext[] | undefined;
|
|
1689
|
-
lastUpdatedDateTime?: Date | undefined;
|
|
1690
|
-
}
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
GenerationStatus,
|
|
14
14
|
ImportExportFileFormat,
|
|
15
15
|
ImportStatus,
|
|
16
|
+
IntentSortAttribute,
|
|
16
17
|
IntentState,
|
|
17
18
|
MergeStrategy,
|
|
18
19
|
SearchOrder,
|
|
@@ -120,9 +121,6 @@ import {
|
|
|
120
121
|
InputContext,
|
|
121
122
|
IntentClassificationTestResults,
|
|
122
123
|
IntentFilter,
|
|
123
|
-
IntentLevelSlotResolutionTestResults,
|
|
124
|
-
IntentSortBy,
|
|
125
|
-
IntentSummary,
|
|
126
124
|
KendraConfiguration,
|
|
127
125
|
MultipleValuesSetting,
|
|
128
126
|
ObfuscationSetting,
|
|
@@ -137,17 +135,46 @@ import {
|
|
|
137
135
|
SlotDefaultValueSpecification,
|
|
138
136
|
SlotPriority,
|
|
139
137
|
SlotResolutionSetting,
|
|
138
|
+
SlotResolutionTestResultItemCounts,
|
|
140
139
|
SlotTypeValue,
|
|
141
140
|
SlotValue,
|
|
142
141
|
SlotValueSelectionSetting,
|
|
142
|
+
SpeechRecognitionSettings,
|
|
143
143
|
SubSlotSetting,
|
|
144
144
|
TestExecutionTarget,
|
|
145
145
|
TestSetGenerationDataSource,
|
|
146
146
|
TestSetStorageLocation,
|
|
147
147
|
TranscriptSourceSetting,
|
|
148
|
+
UnifiedSpeechSettings,
|
|
148
149
|
VoiceSettings,
|
|
149
150
|
WaitAndContinueSpecification,
|
|
150
151
|
} from "./models_0";
|
|
152
|
+
export interface SlotResolutionTestResultItem {
|
|
153
|
+
slotName: string | undefined;
|
|
154
|
+
resultCounts: SlotResolutionTestResultItemCounts | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface IntentLevelSlotResolutionTestResultItem {
|
|
157
|
+
intentName: string | undefined;
|
|
158
|
+
multiTurnConversation: boolean | undefined;
|
|
159
|
+
slotResolutionResults: SlotResolutionTestResultItem[] | undefined;
|
|
160
|
+
}
|
|
161
|
+
export interface IntentLevelSlotResolutionTestResults {
|
|
162
|
+
items: IntentLevelSlotResolutionTestResultItem[] | undefined;
|
|
163
|
+
}
|
|
164
|
+
export interface IntentSortBy {
|
|
165
|
+
attribute: IntentSortAttribute | undefined;
|
|
166
|
+
order: SortOrder | undefined;
|
|
167
|
+
}
|
|
168
|
+
export interface IntentSummary {
|
|
169
|
+
intentId?: string | undefined;
|
|
170
|
+
intentName?: string | undefined;
|
|
171
|
+
intentDisplayName?: string | undefined;
|
|
172
|
+
description?: string | undefined;
|
|
173
|
+
parentIntentSignature?: string | undefined;
|
|
174
|
+
inputContexts?: InputContext[] | undefined;
|
|
175
|
+
outputContexts?: OutputContext[] | undefined;
|
|
176
|
+
lastUpdatedDateTime?: Date | undefined;
|
|
177
|
+
}
|
|
151
178
|
export interface InvokedIntentSample {
|
|
152
179
|
intentName?: string | undefined;
|
|
153
180
|
}
|
|
@@ -886,6 +913,8 @@ export interface UpdateBotLocaleRequest {
|
|
|
886
913
|
description?: string | undefined;
|
|
887
914
|
nluIntentConfidenceThreshold: number | undefined;
|
|
888
915
|
voiceSettings?: VoiceSettings | undefined;
|
|
916
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
917
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
889
918
|
generativeAISettings?: GenerativeAISettings | undefined;
|
|
890
919
|
speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
|
|
891
920
|
}
|
|
@@ -897,6 +926,8 @@ export interface UpdateBotLocaleResponse {
|
|
|
897
926
|
description?: string | undefined;
|
|
898
927
|
nluIntentConfidenceThreshold?: number | undefined;
|
|
899
928
|
voiceSettings?: VoiceSettings | undefined;
|
|
929
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
930
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
900
931
|
botLocaleStatus?: BotLocaleStatus | undefined;
|
|
901
932
|
failureReasons?: string[] | undefined;
|
|
902
933
|
creationDateTime?: Date | undefined;
|
|
@@ -146,6 +146,7 @@ export declare var CustomVocabularyItem: StaticStructureSchema;
|
|
|
146
146
|
export declare var DataPrivacy: StaticStructureSchema;
|
|
147
147
|
export declare var DataSourceConfiguration: StaticStructureSchema;
|
|
148
148
|
export declare var DateRangeFilter: StaticStructureSchema;
|
|
149
|
+
export declare var DeepgramSpeechModelConfig: StaticStructureSchema;
|
|
149
150
|
export declare var DefaultConditionalBranch: StaticStructureSchema;
|
|
150
151
|
export declare var DeleteBotAliasRequest: StaticStructureSchema;
|
|
151
152
|
export declare var DeleteBotAliasResponse: StaticStructureSchema;
|
|
@@ -391,6 +392,9 @@ export declare var SlotValueOverride: StaticStructureSchema;
|
|
|
391
392
|
export declare var SlotValueRegexFilter: StaticStructureSchema;
|
|
392
393
|
export declare var SlotValueSelectionSetting: StaticStructureSchema;
|
|
393
394
|
export declare var Specifications: StaticStructureSchema;
|
|
395
|
+
export declare var SpeechFoundationModel: StaticStructureSchema;
|
|
396
|
+
export declare var SpeechModelConfig: StaticStructureSchema;
|
|
397
|
+
export declare var SpeechRecognitionSettings: StaticStructureSchema;
|
|
394
398
|
export declare var SSMLMessage: StaticStructureSchema;
|
|
395
399
|
export declare var StartBotRecommendationRequest: StaticStructureSchema;
|
|
396
400
|
export declare var StartBotRecommendationResponse: StaticStructureSchema;
|
|
@@ -436,6 +440,7 @@ export declare var ThrottlingException: StaticErrorSchema;
|
|
|
436
440
|
export declare var TranscriptFilter: StaticStructureSchema;
|
|
437
441
|
export declare var TranscriptSourceSetting: StaticStructureSchema;
|
|
438
442
|
export declare var TurnSpecification: StaticStructureSchema;
|
|
443
|
+
export declare var UnifiedSpeechSettings: StaticStructureSchema;
|
|
439
444
|
export declare var UntagResourceRequest: StaticStructureSchema;
|
|
440
445
|
export declare var UntagResourceResponse: StaticStructureSchema;
|
|
441
446
|
export declare var UpdateBotAliasRequest: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-models-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.942.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lex-models-v2",
|