@aws-sdk/client-lex-models-v2 3.940.0 → 3.943.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 +5 -5
|
@@ -46,8 +46,23 @@ declare const CreateBotLocaleCommand_base: {
|
|
|
46
46
|
* description: "STRING_VALUE",
|
|
47
47
|
* nluIntentConfidenceThreshold: Number("double"), // required
|
|
48
48
|
* voiceSettings: { // VoiceSettings
|
|
49
|
-
* voiceId: "STRING_VALUE", // required
|
|
50
49
|
* engine: "standard" || "neural" || "long-form" || "generative",
|
|
50
|
+
* voiceId: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* unifiedSpeechSettings: { // UnifiedSpeechSettings
|
|
53
|
+
* speechFoundationModel: { // SpeechFoundationModel
|
|
54
|
+
* modelArn: "STRING_VALUE", // required
|
|
55
|
+
* voiceId: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* speechRecognitionSettings: { // SpeechRecognitionSettings
|
|
59
|
+
* speechModelPreference: "Standard" || "Neural" || "Deepgram",
|
|
60
|
+
* speechModelConfig: { // SpeechModelConfig
|
|
61
|
+
* deepgramConfig: { // DeepgramSpeechModelConfig
|
|
62
|
+
* apiTokenSecretArn: "STRING_VALUE", // required
|
|
63
|
+
* modelId: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
51
66
|
* },
|
|
52
67
|
* generativeAISettings: { // GenerativeAISettings
|
|
53
68
|
* runtimeSettings: { // RuntimeSettings
|
|
@@ -112,8 +127,23 @@ declare const CreateBotLocaleCommand_base: {
|
|
|
112
127
|
* // description: "STRING_VALUE",
|
|
113
128
|
* // nluIntentConfidenceThreshold: Number("double"),
|
|
114
129
|
* // voiceSettings: { // VoiceSettings
|
|
115
|
-
* // voiceId: "STRING_VALUE", // required
|
|
116
130
|
* // engine: "standard" || "neural" || "long-form" || "generative",
|
|
131
|
+
* // voiceId: "STRING_VALUE", // required
|
|
132
|
+
* // },
|
|
133
|
+
* // unifiedSpeechSettings: { // UnifiedSpeechSettings
|
|
134
|
+
* // speechFoundationModel: { // SpeechFoundationModel
|
|
135
|
+
* // modelArn: "STRING_VALUE", // required
|
|
136
|
+
* // voiceId: "STRING_VALUE",
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // speechRecognitionSettings: { // SpeechRecognitionSettings
|
|
140
|
+
* // speechModelPreference: "Standard" || "Neural" || "Deepgram",
|
|
141
|
+
* // speechModelConfig: { // SpeechModelConfig
|
|
142
|
+
* // deepgramConfig: { // DeepgramSpeechModelConfig
|
|
143
|
+
* // apiTokenSecretArn: "STRING_VALUE", // required
|
|
144
|
+
* // modelId: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
146
|
+
* // },
|
|
117
147
|
* // },
|
|
118
148
|
* // botLocaleStatus: "Creating" || "Building" || "Built" || "ReadyExpressTesting" || "Failed" || "Deleting" || "NotBuilt" || "Importing" || "Processing",
|
|
119
149
|
* // creationDateTime: new Date("TIMESTAMP"),
|
|
@@ -51,8 +51,23 @@ declare const DescribeBotLocaleCommand_base: {
|
|
|
51
51
|
* // description: "STRING_VALUE",
|
|
52
52
|
* // nluIntentConfidenceThreshold: Number("double"),
|
|
53
53
|
* // voiceSettings: { // VoiceSettings
|
|
54
|
-
* // voiceId: "STRING_VALUE", // required
|
|
55
54
|
* // engine: "standard" || "neural" || "long-form" || "generative",
|
|
55
|
+
* // voiceId: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // unifiedSpeechSettings: { // UnifiedSpeechSettings
|
|
58
|
+
* // speechFoundationModel: { // SpeechFoundationModel
|
|
59
|
+
* // modelArn: "STRING_VALUE", // required
|
|
60
|
+
* // voiceId: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // speechRecognitionSettings: { // SpeechRecognitionSettings
|
|
64
|
+
* // speechModelPreference: "Standard" || "Neural" || "Deepgram",
|
|
65
|
+
* // speechModelConfig: { // SpeechModelConfig
|
|
66
|
+
* // deepgramConfig: { // DeepgramSpeechModelConfig
|
|
67
|
+
* // apiTokenSecretArn: "STRING_VALUE", // required
|
|
68
|
+
* // modelId: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
56
71
|
* // },
|
|
57
72
|
* // intentsCount: Number("int"),
|
|
58
73
|
* // slotTypesCount: Number("int"),
|
|
@@ -67,10 +67,25 @@ declare const DescribeImportCommand_base: {
|
|
|
67
67
|
* // localeId: "STRING_VALUE", // required
|
|
68
68
|
* // nluIntentConfidenceThreshold: Number("double"),
|
|
69
69
|
* // voiceSettings: { // VoiceSettings
|
|
70
|
-
* // voiceId: "STRING_VALUE", // required
|
|
71
70
|
* // engine: "standard" || "neural" || "long-form" || "generative",
|
|
71
|
+
* // voiceId: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // speechRecognitionSettings: { // SpeechRecognitionSettings
|
|
74
|
+
* // speechModelPreference: "Standard" || "Neural" || "Deepgram",
|
|
75
|
+
* // speechModelConfig: { // SpeechModelConfig
|
|
76
|
+
* // deepgramConfig: { // DeepgramSpeechModelConfig
|
|
77
|
+
* // apiTokenSecretArn: "STRING_VALUE", // required
|
|
78
|
+
* // modelId: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
72
81
|
* // },
|
|
73
82
|
* // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
|
|
83
|
+
* // unifiedSpeechSettings: { // UnifiedSpeechSettings
|
|
84
|
+
* // speechFoundationModel: { // SpeechFoundationModel
|
|
85
|
+
* // modelArn: "STRING_VALUE", // required
|
|
86
|
+
* // voiceId: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
74
89
|
* // },
|
|
75
90
|
* // customVocabularyImportSpecification: { // CustomVocabularyImportSpecification
|
|
76
91
|
* // botId: "STRING_VALUE", // required
|
|
@@ -63,10 +63,25 @@ declare const StartImportCommand_base: {
|
|
|
63
63
|
* localeId: "STRING_VALUE", // required
|
|
64
64
|
* nluIntentConfidenceThreshold: Number("double"),
|
|
65
65
|
* voiceSettings: { // VoiceSettings
|
|
66
|
-
* voiceId: "STRING_VALUE", // required
|
|
67
66
|
* engine: "standard" || "neural" || "long-form" || "generative",
|
|
67
|
+
* voiceId: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* speechRecognitionSettings: { // SpeechRecognitionSettings
|
|
70
|
+
* speechModelPreference: "Standard" || "Neural" || "Deepgram",
|
|
71
|
+
* speechModelConfig: { // SpeechModelConfig
|
|
72
|
+
* deepgramConfig: { // DeepgramSpeechModelConfig
|
|
73
|
+
* apiTokenSecretArn: "STRING_VALUE", // required
|
|
74
|
+
* modelId: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
68
77
|
* },
|
|
69
78
|
* speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
|
|
79
|
+
* unifiedSpeechSettings: { // UnifiedSpeechSettings
|
|
80
|
+
* speechFoundationModel: { // SpeechFoundationModel
|
|
81
|
+
* modelArn: "STRING_VALUE", // required
|
|
82
|
+
* voiceId: "STRING_VALUE",
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
70
85
|
* },
|
|
71
86
|
* customVocabularyImportSpecification: { // CustomVocabularyImportSpecification
|
|
72
87
|
* botId: "STRING_VALUE", // required
|
|
@@ -123,10 +138,25 @@ declare const StartImportCommand_base: {
|
|
|
123
138
|
* // localeId: "STRING_VALUE", // required
|
|
124
139
|
* // nluIntentConfidenceThreshold: Number("double"),
|
|
125
140
|
* // voiceSettings: { // VoiceSettings
|
|
126
|
-
* // voiceId: "STRING_VALUE", // required
|
|
127
141
|
* // engine: "standard" || "neural" || "long-form" || "generative",
|
|
142
|
+
* // voiceId: "STRING_VALUE", // required
|
|
143
|
+
* // },
|
|
144
|
+
* // speechRecognitionSettings: { // SpeechRecognitionSettings
|
|
145
|
+
* // speechModelPreference: "Standard" || "Neural" || "Deepgram",
|
|
146
|
+
* // speechModelConfig: { // SpeechModelConfig
|
|
147
|
+
* // deepgramConfig: { // DeepgramSpeechModelConfig
|
|
148
|
+
* // apiTokenSecretArn: "STRING_VALUE", // required
|
|
149
|
+
* // modelId: "STRING_VALUE",
|
|
150
|
+
* // },
|
|
151
|
+
* // },
|
|
128
152
|
* // },
|
|
129
153
|
* // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
|
|
154
|
+
* // unifiedSpeechSettings: { // UnifiedSpeechSettings
|
|
155
|
+
* // speechFoundationModel: { // SpeechFoundationModel
|
|
156
|
+
* // modelArn: "STRING_VALUE", // required
|
|
157
|
+
* // voiceId: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // },
|
|
130
160
|
* // },
|
|
131
161
|
* // customVocabularyImportSpecification: { // CustomVocabularyImportSpecification
|
|
132
162
|
* // botId: "STRING_VALUE", // required
|
|
@@ -43,8 +43,23 @@ declare const UpdateBotLocaleCommand_base: {
|
|
|
43
43
|
* description: "STRING_VALUE",
|
|
44
44
|
* nluIntentConfidenceThreshold: Number("double"), // required
|
|
45
45
|
* voiceSettings: { // VoiceSettings
|
|
46
|
-
* voiceId: "STRING_VALUE", // required
|
|
47
46
|
* engine: "standard" || "neural" || "long-form" || "generative",
|
|
47
|
+
* voiceId: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* unifiedSpeechSettings: { // UnifiedSpeechSettings
|
|
50
|
+
* speechFoundationModel: { // SpeechFoundationModel
|
|
51
|
+
* modelArn: "STRING_VALUE", // required
|
|
52
|
+
* voiceId: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* speechRecognitionSettings: { // SpeechRecognitionSettings
|
|
56
|
+
* speechModelPreference: "Standard" || "Neural" || "Deepgram",
|
|
57
|
+
* speechModelConfig: { // SpeechModelConfig
|
|
58
|
+
* deepgramConfig: { // DeepgramSpeechModelConfig
|
|
59
|
+
* apiTokenSecretArn: "STRING_VALUE", // required
|
|
60
|
+
* modelId: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
48
63
|
* },
|
|
49
64
|
* generativeAISettings: { // GenerativeAISettings
|
|
50
65
|
* runtimeSettings: { // RuntimeSettings
|
|
@@ -109,8 +124,23 @@ declare const UpdateBotLocaleCommand_base: {
|
|
|
109
124
|
* // description: "STRING_VALUE",
|
|
110
125
|
* // nluIntentConfidenceThreshold: Number("double"),
|
|
111
126
|
* // voiceSettings: { // VoiceSettings
|
|
112
|
-
* // voiceId: "STRING_VALUE", // required
|
|
113
127
|
* // engine: "standard" || "neural" || "long-form" || "generative",
|
|
128
|
+
* // voiceId: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // unifiedSpeechSettings: { // UnifiedSpeechSettings
|
|
131
|
+
* // speechFoundationModel: { // SpeechFoundationModel
|
|
132
|
+
* // modelArn: "STRING_VALUE", // required
|
|
133
|
+
* // voiceId: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // },
|
|
136
|
+
* // speechRecognitionSettings: { // SpeechRecognitionSettings
|
|
137
|
+
* // speechModelPreference: "Standard" || "Neural" || "Deepgram",
|
|
138
|
+
* // speechModelConfig: { // SpeechModelConfig
|
|
139
|
+
* // deepgramConfig: { // DeepgramSpeechModelConfig
|
|
140
|
+
* // apiTokenSecretArn: "STRING_VALUE", // required
|
|
141
|
+
* // modelId: "STRING_VALUE",
|
|
142
|
+
* // },
|
|
143
|
+
* // },
|
|
114
144
|
* // },
|
|
115
145
|
* // botLocaleStatus: "Creating" || "Building" || "Built" || "ReadyExpressTesting" || "Failed" || "Deleting" || "NotBuilt" || "Importing" || "Processing",
|
|
116
146
|
* // failureReasons: [ // FailureReasons
|
package/dist-types/index.d.ts
CHANGED
|
@@ -521,6 +521,19 @@ export declare const SpeechDetectionSensitivity: {
|
|
|
521
521
|
* @public
|
|
522
522
|
*/
|
|
523
523
|
export type SpeechDetectionSensitivity = (typeof SpeechDetectionSensitivity)[keyof typeof SpeechDetectionSensitivity];
|
|
524
|
+
/**
|
|
525
|
+
* @public
|
|
526
|
+
* @enum
|
|
527
|
+
*/
|
|
528
|
+
export declare const SpeechModelPreference: {
|
|
529
|
+
readonly Deepgram: "Deepgram";
|
|
530
|
+
readonly Neural: "Neural";
|
|
531
|
+
readonly Standard: "Standard";
|
|
532
|
+
};
|
|
533
|
+
/**
|
|
534
|
+
* @public
|
|
535
|
+
*/
|
|
536
|
+
export type SpeechModelPreference = (typeof SpeechModelPreference)[keyof typeof SpeechModelPreference];
|
|
524
537
|
/**
|
|
525
538
|
* @public
|
|
526
539
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AggregatedUtterancesFilterName, AggregatedUtterancesFilterOperator, AggregatedUtterancesSortAttribute, AnalyticsBinByName, AnalyticsCommonFilterName, AnalyticsFilterOperator, AnalyticsIntentField, AnalyticsIntentFilterName, AnalyticsIntentMetricName, AnalyticsIntentStageField, AnalyticsIntentStageFilterName, AnalyticsIntentStageMetricName, AnalyticsInterval, AnalyticsMetricStatistic, AnalyticsNodeType, AnalyticsSessionField, AnalyticsSessionFilterName, AnalyticsSessionMetricName, AnalyticsSortOrder, AnalyticsUtteranceAttributeName, AnalyticsUtteranceField, AnalyticsUtteranceFilterName, AnalyticsUtteranceMetricName, AssistedNluMode, AssociatedTranscriptFilterName, AudioRecognitionStrategy, BedrockTraceStatus, BotAliasReplicationStatus, BotAliasStatus, BotFilterName, BotFilterOperator, BotLocaleFilterName, BotLocaleFilterOperator, BotLocaleSortAttribute, BotLocaleStatus, BotRecommendationStatus, BotReplicaStatus, BotSortAttribute, BotStatus, BotType, BotVersionReplicaSortAttribute, BotVersionReplicationStatus, BotVersionSortAttribute, BuiltInIntentSortAttribute, BuiltInSlotTypeSortAttribute, ConversationLogsInputModeFilter, CustomVocabularyStatus, DialogActionType, Effect, ErrorCode, ExportFilterName, ExportFilterOperator, ExportSortAttribute, ExportStatus, GenerationSortByAttribute, GenerationStatus, ImportExportFileFormat, ImportFilterName, ImportFilterOperator, ImportResourceType, ImportSortAttribute, ImportStatus, IntentFilterName, IntentFilterOperator,
|
|
1
|
+
import { AggregatedUtterancesFilterName, AggregatedUtterancesFilterOperator, AggregatedUtterancesSortAttribute, AnalyticsBinByName, AnalyticsCommonFilterName, AnalyticsFilterOperator, AnalyticsIntentField, AnalyticsIntentFilterName, AnalyticsIntentMetricName, AnalyticsIntentStageField, AnalyticsIntentStageFilterName, AnalyticsIntentStageMetricName, AnalyticsInterval, AnalyticsMetricStatistic, AnalyticsNodeType, AnalyticsSessionField, AnalyticsSessionFilterName, AnalyticsSessionMetricName, AnalyticsSortOrder, AnalyticsUtteranceAttributeName, AnalyticsUtteranceField, AnalyticsUtteranceFilterName, AnalyticsUtteranceMetricName, AssistedNluMode, AssociatedTranscriptFilterName, AudioRecognitionStrategy, BedrockTraceStatus, BotAliasReplicationStatus, BotAliasStatus, BotFilterName, BotFilterOperator, BotLocaleFilterName, BotLocaleFilterOperator, BotLocaleSortAttribute, BotLocaleStatus, BotRecommendationStatus, BotReplicaStatus, BotSortAttribute, BotStatus, BotType, BotVersionReplicaSortAttribute, BotVersionReplicationStatus, BotVersionSortAttribute, BuiltInIntentSortAttribute, BuiltInSlotTypeSortAttribute, ConversationLogsInputModeFilter, CustomVocabularyStatus, DialogActionType, Effect, ErrorCode, ExportFilterName, ExportFilterOperator, ExportSortAttribute, ExportStatus, GenerationSortByAttribute, GenerationStatus, ImportExportFileFormat, ImportFilterName, ImportFilterOperator, ImportResourceType, ImportSortAttribute, ImportStatus, IntentFilterName, IntentFilterOperator, MergeStrategy, MessageSelectionStrategy, ObfuscationSettingType, PromptAttempt, SlotResolutionStrategy, SlotValueResolutionStrategy, SortOrder, SpeechDetectionSensitivity, SpeechModelPreference, TestExecutionApiMode, TestExecutionModality, TestExecutionStatus, TestResultMatchStatus, TestSetDiscrepancyReportStatus, TestSetGenerationStatus, TestSetModality, TestSetStatus, TranscriptFormat, VoiceEngine } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The active context used in the test execution.</p>
|
|
4
4
|
* @public
|
|
@@ -2651,6 +2651,76 @@ export interface BotLocaleHistoryEvent {
|
|
|
2651
2651
|
*/
|
|
2652
2652
|
eventDate: Date | undefined;
|
|
2653
2653
|
}
|
|
2654
|
+
/**
|
|
2655
|
+
* <p>Configuration settings for integrating Deepgram speech-to-text models with Amazon Lex.</p>
|
|
2656
|
+
* @public
|
|
2657
|
+
*/
|
|
2658
|
+
export interface DeepgramSpeechModelConfig {
|
|
2659
|
+
/**
|
|
2660
|
+
* <p>The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the Deepgram API token.</p>
|
|
2661
|
+
* @public
|
|
2662
|
+
*/
|
|
2663
|
+
apiTokenSecretArn: string | undefined;
|
|
2664
|
+
/**
|
|
2665
|
+
* <p>The identifier of the Deepgram speech-to-text model to use for processing speech input.</p>
|
|
2666
|
+
* @public
|
|
2667
|
+
*/
|
|
2668
|
+
modelId?: string | undefined;
|
|
2669
|
+
}
|
|
2670
|
+
/**
|
|
2671
|
+
* <p>Configuration settings that define which speech-to-text model to use for processing speech input.</p>
|
|
2672
|
+
* @public
|
|
2673
|
+
*/
|
|
2674
|
+
export interface SpeechModelConfig {
|
|
2675
|
+
/**
|
|
2676
|
+
* <p>Configuration settings for using Deepgram as the speech-to-text provider.</p>
|
|
2677
|
+
* @public
|
|
2678
|
+
*/
|
|
2679
|
+
deepgramConfig?: DeepgramSpeechModelConfig | undefined;
|
|
2680
|
+
}
|
|
2681
|
+
/**
|
|
2682
|
+
* <p>Settings that control how Amazon Lex processes and recognizes speech input from users.</p>
|
|
2683
|
+
* @public
|
|
2684
|
+
*/
|
|
2685
|
+
export interface SpeechRecognitionSettings {
|
|
2686
|
+
/**
|
|
2687
|
+
* <p>The speech-to-text model to use.</p>
|
|
2688
|
+
* @public
|
|
2689
|
+
*/
|
|
2690
|
+
speechModelPreference?: SpeechModelPreference | undefined;
|
|
2691
|
+
/**
|
|
2692
|
+
* <p>Configuration settings for the selected speech-to-text model.</p>
|
|
2693
|
+
* @public
|
|
2694
|
+
*/
|
|
2695
|
+
speechModelConfig?: SpeechModelConfig | undefined;
|
|
2696
|
+
}
|
|
2697
|
+
/**
|
|
2698
|
+
* <p>Configuration for a foundation model used for speech synthesis and recognition capabilities.</p>
|
|
2699
|
+
* @public
|
|
2700
|
+
*/
|
|
2701
|
+
export interface SpeechFoundationModel {
|
|
2702
|
+
/**
|
|
2703
|
+
* <p>The Amazon Resource Name (ARN) of the foundation model used for speech processing.</p>
|
|
2704
|
+
* @public
|
|
2705
|
+
*/
|
|
2706
|
+
modelArn: string | undefined;
|
|
2707
|
+
/**
|
|
2708
|
+
* <p>The identifier of the voice to use for speech synthesis with the foundation model.</p>
|
|
2709
|
+
* @public
|
|
2710
|
+
*/
|
|
2711
|
+
voiceId?: string | undefined;
|
|
2712
|
+
}
|
|
2713
|
+
/**
|
|
2714
|
+
* <p>Unified configuration settings that combine speech recognition and synthesis capabilities.</p>
|
|
2715
|
+
* @public
|
|
2716
|
+
*/
|
|
2717
|
+
export interface UnifiedSpeechSettings {
|
|
2718
|
+
/**
|
|
2719
|
+
* <p>The foundation model configuration to use for unified speech processing capabilities.</p>
|
|
2720
|
+
* @public
|
|
2721
|
+
*/
|
|
2722
|
+
speechFoundationModel: SpeechFoundationModel | undefined;
|
|
2723
|
+
}
|
|
2654
2724
|
/**
|
|
2655
2725
|
* <p>Defines settings for using an Amazon Polly voice to communicate with a
|
|
2656
2726
|
* user.</p>
|
|
@@ -2680,11 +2750,6 @@ export interface BotLocaleHistoryEvent {
|
|
|
2680
2750
|
* @public
|
|
2681
2751
|
*/
|
|
2682
2752
|
export interface VoiceSettings {
|
|
2683
|
-
/**
|
|
2684
|
-
* <p>The identifier of the Amazon Polly voice to use.</p>
|
|
2685
|
-
* @public
|
|
2686
|
-
*/
|
|
2687
|
-
voiceId: string | undefined;
|
|
2688
2753
|
/**
|
|
2689
2754
|
* <p>Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the <a href="https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine">
|
|
2690
2755
|
* <code>engine</code> parameter of the <code>SynthesizeSpeech</code> operation</a> in the <i>Amazon Polly developer guide</i>.</p>
|
|
@@ -2692,6 +2757,11 @@ export interface VoiceSettings {
|
|
|
2692
2757
|
* @public
|
|
2693
2758
|
*/
|
|
2694
2759
|
engine?: VoiceEngine | undefined;
|
|
2760
|
+
/**
|
|
2761
|
+
* <p>The identifier of the Amazon Polly voice to use.</p>
|
|
2762
|
+
* @public
|
|
2763
|
+
*/
|
|
2764
|
+
voiceId: string | undefined;
|
|
2695
2765
|
}
|
|
2696
2766
|
/**
|
|
2697
2767
|
* <p>Provides the bot locale parameters required for importing a bot
|
|
@@ -2785,11 +2855,21 @@ export interface BotLocaleImportSpecification {
|
|
|
2785
2855
|
* @public
|
|
2786
2856
|
*/
|
|
2787
2857
|
voiceSettings?: VoiceSettings | undefined;
|
|
2858
|
+
/**
|
|
2859
|
+
* <p>Speech-to-text settings to apply when importing the bot locale configuration.</p>
|
|
2860
|
+
* @public
|
|
2861
|
+
*/
|
|
2862
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
2788
2863
|
/**
|
|
2789
2864
|
* <p>The sensitivity level for voice activity detection (VAD) in the bot locale. This setting helps optimize speech recognition accuracy by adjusting how the system responds to background noise during voice interactions.</p>
|
|
2790
2865
|
* @public
|
|
2791
2866
|
*/
|
|
2792
2867
|
speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
|
|
2868
|
+
/**
|
|
2869
|
+
* <p>Unified speech settings to apply when importing the bot locale configuration.</p>
|
|
2870
|
+
* @public
|
|
2871
|
+
*/
|
|
2872
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
2793
2873
|
}
|
|
2794
2874
|
/**
|
|
2795
2875
|
* <p>Specifies attributes for sorting a list of bot locales.</p>
|
|
@@ -4243,6 +4323,16 @@ export interface CreateBotLocaleRequest {
|
|
|
4243
4323
|
* @public
|
|
4244
4324
|
*/
|
|
4245
4325
|
voiceSettings?: VoiceSettings | undefined;
|
|
4326
|
+
/**
|
|
4327
|
+
* <p>Unified speech settings to configure for the new bot locale.</p>
|
|
4328
|
+
* @public
|
|
4329
|
+
*/
|
|
4330
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
4331
|
+
/**
|
|
4332
|
+
* <p>Speech-to-text settings to configure for the new bot locale.</p>
|
|
4333
|
+
* @public
|
|
4334
|
+
*/
|
|
4335
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
4246
4336
|
/**
|
|
4247
4337
|
* <p>Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>
|
|
4248
4338
|
* @public
|
|
@@ -4296,6 +4386,16 @@ export interface CreateBotLocaleResponse {
|
|
|
4296
4386
|
* @public
|
|
4297
4387
|
*/
|
|
4298
4388
|
voiceSettings?: VoiceSettings | undefined;
|
|
4389
|
+
/**
|
|
4390
|
+
* <p>The unified speech settings configured for the created bot locale.</p>
|
|
4391
|
+
* @public
|
|
4392
|
+
*/
|
|
4393
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
4394
|
+
/**
|
|
4395
|
+
* <p>The speech-to-text settings configured for the created bot locale.</p>
|
|
4396
|
+
* @public
|
|
4397
|
+
*/
|
|
4398
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
4299
4399
|
/**
|
|
4300
4400
|
* <p>The status of the bot.</p>
|
|
4301
4401
|
* <p>When the status is <code>Creating</code> the bot locale is being
|
|
@@ -6541,6 +6641,16 @@ export interface DescribeBotLocaleResponse {
|
|
|
6541
6641
|
* @public
|
|
6542
6642
|
*/
|
|
6543
6643
|
voiceSettings?: VoiceSettings | undefined;
|
|
6644
|
+
/**
|
|
6645
|
+
* <p>The unified speech settings configured for the bot locale.</p>
|
|
6646
|
+
* @public
|
|
6647
|
+
*/
|
|
6648
|
+
unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
|
|
6649
|
+
/**
|
|
6650
|
+
* <p>The speech-to-text settings configured for the bot locale.</p>
|
|
6651
|
+
* @public
|
|
6652
|
+
*/
|
|
6653
|
+
speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
|
|
6544
6654
|
/**
|
|
6545
6655
|
* <p>The number of intents defined for the locale.</p>
|
|
6546
6656
|
* @public
|
|
@@ -8322,122 +8432,3 @@ export interface SlotResolutionTestResultItemCounts {
|
|
|
8322
8432
|
*/
|
|
8323
8433
|
slotMatchResultCounts: Partial<Record<TestResultMatchStatus, number>> | undefined;
|
|
8324
8434
|
}
|
|
8325
|
-
/**
|
|
8326
|
-
* <p>Information about the success and failure rate of slot resolution
|
|
8327
|
-
* in the results of a test execution.</p>
|
|
8328
|
-
* @public
|
|
8329
|
-
*/
|
|
8330
|
-
export interface SlotResolutionTestResultItem {
|
|
8331
|
-
/**
|
|
8332
|
-
* <p>The name of the slot.</p>
|
|
8333
|
-
* @public
|
|
8334
|
-
*/
|
|
8335
|
-
slotName: string | undefined;
|
|
8336
|
-
/**
|
|
8337
|
-
* <p>A result for slot resolution in the results of a test execution.</p>
|
|
8338
|
-
* @public
|
|
8339
|
-
*/
|
|
8340
|
-
resultCounts: SlotResolutionTestResultItemCounts | undefined;
|
|
8341
|
-
}
|
|
8342
|
-
/**
|
|
8343
|
-
* <p>Information about intent-level slot resolution in a test result.</p>
|
|
8344
|
-
* @public
|
|
8345
|
-
*/
|
|
8346
|
-
export interface IntentLevelSlotResolutionTestResultItem {
|
|
8347
|
-
/**
|
|
8348
|
-
* <p>The name of the intent that was recognized.</p>
|
|
8349
|
-
* @public
|
|
8350
|
-
*/
|
|
8351
|
-
intentName: string | undefined;
|
|
8352
|
-
/**
|
|
8353
|
-
* <p>Indicates whether the conversation involves multiple turns or not.</p>
|
|
8354
|
-
* @public
|
|
8355
|
-
*/
|
|
8356
|
-
multiTurnConversation: boolean | undefined;
|
|
8357
|
-
/**
|
|
8358
|
-
* <p>The results for the slot resolution in the test execution result.</p>
|
|
8359
|
-
* @public
|
|
8360
|
-
*/
|
|
8361
|
-
slotResolutionResults: SlotResolutionTestResultItem[] | undefined;
|
|
8362
|
-
}
|
|
8363
|
-
/**
|
|
8364
|
-
* <p>Indicates the success or failure of slots at the intent level.</p>
|
|
8365
|
-
* @public
|
|
8366
|
-
*/
|
|
8367
|
-
export interface IntentLevelSlotResolutionTestResults {
|
|
8368
|
-
/**
|
|
8369
|
-
* <p>Indicates the items for the slot level resolution for the intents.</p>
|
|
8370
|
-
* @public
|
|
8371
|
-
*/
|
|
8372
|
-
items: IntentLevelSlotResolutionTestResultItem[] | undefined;
|
|
8373
|
-
}
|
|
8374
|
-
/**
|
|
8375
|
-
* <p>Specifies attributes for sorting a list of intents.</p>
|
|
8376
|
-
* @public
|
|
8377
|
-
*/
|
|
8378
|
-
export interface IntentSortBy {
|
|
8379
|
-
/**
|
|
8380
|
-
* <p>The attribute to use to sort the list of intents.</p>
|
|
8381
|
-
* @public
|
|
8382
|
-
*/
|
|
8383
|
-
attribute: IntentSortAttribute | undefined;
|
|
8384
|
-
/**
|
|
8385
|
-
* <p>The order to sort the list. You can choose ascending or
|
|
8386
|
-
* descending.</p>
|
|
8387
|
-
* @public
|
|
8388
|
-
*/
|
|
8389
|
-
order: SortOrder | undefined;
|
|
8390
|
-
}
|
|
8391
|
-
/**
|
|
8392
|
-
* <p>Summary information about an intent returned by the
|
|
8393
|
-
* <code>ListIntents</code> operation.</p>
|
|
8394
|
-
* @public
|
|
8395
|
-
*/
|
|
8396
|
-
export interface IntentSummary {
|
|
8397
|
-
/**
|
|
8398
|
-
* <p>The unique identifier assigned to the intent. Use this ID to get
|
|
8399
|
-
* detailed information about the intent with the
|
|
8400
|
-
* <code>DescribeIntent</code> operation.</p>
|
|
8401
|
-
* @public
|
|
8402
|
-
*/
|
|
8403
|
-
intentId?: string | undefined;
|
|
8404
|
-
/**
|
|
8405
|
-
* <p>The name of the intent.</p>
|
|
8406
|
-
* @public
|
|
8407
|
-
*/
|
|
8408
|
-
intentName?: string | undefined;
|
|
8409
|
-
/**
|
|
8410
|
-
* <p>The display name of the intent.</p>
|
|
8411
|
-
* @public
|
|
8412
|
-
*/
|
|
8413
|
-
intentDisplayName?: string | undefined;
|
|
8414
|
-
/**
|
|
8415
|
-
* <p>The description of the intent.</p>
|
|
8416
|
-
* @public
|
|
8417
|
-
*/
|
|
8418
|
-
description?: string | undefined;
|
|
8419
|
-
/**
|
|
8420
|
-
* <p>If this intent is derived from a built-in intent, the name of the
|
|
8421
|
-
* parent intent.</p>
|
|
8422
|
-
* @public
|
|
8423
|
-
*/
|
|
8424
|
-
parentIntentSignature?: string | undefined;
|
|
8425
|
-
/**
|
|
8426
|
-
* <p>The input contexts that must be active for this intent to be
|
|
8427
|
-
* considered for recognition.</p>
|
|
8428
|
-
* @public
|
|
8429
|
-
*/
|
|
8430
|
-
inputContexts?: InputContext[] | undefined;
|
|
8431
|
-
/**
|
|
8432
|
-
* <p>The output contexts that are activated when this intent is
|
|
8433
|
-
* fulfilled.</p>
|
|
8434
|
-
* @public
|
|
8435
|
-
*/
|
|
8436
|
-
outputContexts?: OutputContext[] | undefined;
|
|
8437
|
-
/**
|
|
8438
|
-
* <p>The timestamp of the date and time that the intent was last
|
|
8439
|
-
* updated.</p>
|
|
8440
|
-
* @public
|
|
8441
|
-
*/
|
|
8442
|
-
lastUpdatedDateTime?: Date | undefined;
|
|
8443
|
-
}
|