Skip to content

Commit 81aee61

Browse files
author
awstools
committed
feat(client-qconnect): Amazon Q in Connect enables agents to ask Q for assistance in multiple languages and Q will provide answers and recommended step-by-step guides in those languages. Qs default language is English (United States) and you can switch this by setting the locale configuration on the AI Agent.
1 parent 8af7a02 commit 81aee61

File tree

8 files changed

+49
-2
lines changed

8 files changed

+49
-2
lines changed

clients/client-qconnect/src/commands/CreateAIAgentCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
7676
* },
7777
* },
7878
* ],
79+
* locale: "STRING_VALUE",
7980
* },
8081
* answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
8182
* intentLabelingGenerationAIPromptId: "STRING_VALUE",
@@ -108,6 +109,7 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
108109
* },
109110
* },
110111
* ],
112+
* locale: "STRING_VALUE",
111113
* },
112114
* selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
113115
* selfServicePreProcessingAIPromptId: "STRING_VALUE",
@@ -191,6 +193,7 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
191193
* // },
192194
* // },
193195
* // ],
196+
* // locale: "STRING_VALUE",
194197
* // },
195198
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
196199
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
@@ -223,6 +226,7 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
223226
* // },
224227
* // },
225228
* // ],
229+
* // locale: "STRING_VALUE",
226230
* // },
227231
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
228232
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",

clients/client-qconnect/src/commands/CreateAIAgentVersionCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export interface CreateAIAgentVersionCommandOutput extends CreateAIAgentVersionR
8787
* // },
8888
* // },
8989
* // ],
90+
* // locale: "STRING_VALUE",
9091
* // },
9192
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
9293
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
@@ -119,6 +120,7 @@ export interface CreateAIAgentVersionCommandOutput extends CreateAIAgentVersionR
119120
* // },
120121
* // },
121122
* // ],
123+
* // locale: "STRING_VALUE",
122124
* // },
123125
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
124126
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",

clients/client-qconnect/src/commands/GetAIAgentCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export interface GetAIAgentCommandOutput extends GetAIAgentResponse, __MetadataB
8585
* // },
8686
* // },
8787
* // ],
88+
* // locale: "STRING_VALUE",
8889
* // },
8990
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
9091
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
@@ -117,6 +118,7 @@ export interface GetAIAgentCommandOutput extends GetAIAgentResponse, __MetadataB
117118
* // },
118119
* // },
119120
* // ],
121+
* // locale: "STRING_VALUE",
120122
* // },
121123
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
122124
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",

clients/client-qconnect/src/commands/ListAIAgentVersionsCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export interface ListAIAgentVersionsCommandOutput extends ListAIAgentVersionsRes
9292
* // },
9393
* // },
9494
* // ],
95+
* // locale: "STRING_VALUE",
9596
* // },
9697
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
9798
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
@@ -124,6 +125,7 @@ export interface ListAIAgentVersionsCommandOutput extends ListAIAgentVersionsRes
124125
* // },
125126
* // },
126127
* // ],
128+
* // locale: "STRING_VALUE",
127129
* // },
128130
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
129131
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",

clients/client-qconnect/src/commands/ListAIAgentsCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export interface ListAIAgentsCommandOutput extends ListAIAgentsResponse, __Metad
9090
* // },
9191
* // },
9292
* // ],
93+
* // locale: "STRING_VALUE",
9394
* // },
9495
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
9596
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
@@ -122,6 +123,7 @@ export interface ListAIAgentsCommandOutput extends ListAIAgentsResponse, __Metad
122123
* // },
123124
* // },
124125
* // ],
126+
* // locale: "STRING_VALUE",
125127
* // },
126128
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
127129
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",

clients/client-qconnect/src/commands/UpdateAIAgentCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export interface UpdateAIAgentCommandOutput extends UpdateAIAgentResponse, __Met
7676
* },
7777
* },
7878
* ],
79+
* locale: "STRING_VALUE",
7980
* },
8081
* answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
8182
* intentLabelingGenerationAIPromptId: "STRING_VALUE",
@@ -108,6 +109,7 @@ export interface UpdateAIAgentCommandOutput extends UpdateAIAgentResponse, __Met
108109
* },
109110
* },
110111
* ],
112+
* locale: "STRING_VALUE",
111113
* },
112114
* selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
113115
* selfServicePreProcessingAIPromptId: "STRING_VALUE",
@@ -187,6 +189,7 @@ export interface UpdateAIAgentCommandOutput extends UpdateAIAgentResponse, __Met
187189
* // },
188190
* // },
189191
* // ],
192+
* // locale: "STRING_VALUE",
190193
* // },
191194
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
192195
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
@@ -219,6 +222,7 @@ export interface UpdateAIAgentCommandOutput extends UpdateAIAgentResponse, __Met
219222
* // },
220223
* // },
221224
* // ],
225+
* // locale: "STRING_VALUE",
222226
* // },
223227
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
224228
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",

clients/client-qconnect/src/models/models_0.ts

+20-1
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,18 @@ export interface AnswerRecommendationAIAgentConfiguration {
486486
* @public
487487
*/
488488
associationConfigurations?: AssociationConfiguration[] | undefined;
489+
490+
/**
491+
* <p>The locale to which specifies the language and region settings that determine the response
492+
* language for <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html">QueryAssistant</a>.</p>
493+
* <note>
494+
* <p>Changing this locale to anything other than <code>en_US</code> will turn off
495+
* recommendations triggered by contact transcripts for agent assistance, as this feature is
496+
* not supported in multiple languages.</p>
497+
* </note>
498+
* @public
499+
*/
500+
locale?: string | undefined;
489501
}
490502

491503
/**
@@ -512,6 +524,13 @@ export interface ManualSearchAIAgentConfiguration {
512524
* @public
513525
*/
514526
associationConfigurations?: AssociationConfiguration[] | undefined;
527+
528+
/**
529+
* <p>The locale to which specifies the language and region settings that determine the response
530+
* language for <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html">QueryAssistant</a>.</p>
531+
* @public
532+
*/
533+
locale?: string | undefined;
515534
}
516535

517536
/**
@@ -1602,7 +1621,7 @@ export interface GuardrailPiiEntityConfig {
16021621
* <ul>
16031622
* <li>
16041623
* <p>
1605-
* <b>REDIT_DEBIT_CARD_CVV</b>
1624+
* <b>CREDIT_DEBIT_CARD_CVV</b>
16061625
* </p>
16071626
* <p>A three-digit card verification code (CVV) that is present on VISA, MasterCard,
16081627
* and Discover credit and debit cards. For American Express credit or debit cards, the

0 commit comments

Comments
 (0)