Skip to content

Commit

Permalink
feat(client-qconnect): Amazon Q in Connect enables agents to ask Q fo…
Browse files Browse the repository at this point in the history
…r 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.
  • Loading branch information
awstools committed Dec 19, 2024
1 parent 8af7a02 commit 81aee61
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 2 deletions.
4 changes: 4 additions & 0 deletions clients/client-qconnect/src/commands/CreateAIAgentCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
* },
* },
* ],
* locale: "STRING_VALUE",
* },
* answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
* intentLabelingGenerationAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -108,6 +109,7 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
* },
* },
* ],
* locale: "STRING_VALUE",
* },
* selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
* selfServicePreProcessingAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -191,6 +193,7 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -223,6 +226,7 @@ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __Met
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export interface CreateAIAgentVersionCommandOutput extends CreateAIAgentVersionR
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -119,6 +120,7 @@ export interface CreateAIAgentVersionCommandOutput extends CreateAIAgentVersionR
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
Expand Down
2 changes: 2 additions & 0 deletions clients/client-qconnect/src/commands/GetAIAgentCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export interface GetAIAgentCommandOutput extends GetAIAgentResponse, __MetadataB
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -117,6 +118,7 @@ export interface GetAIAgentCommandOutput extends GetAIAgentResponse, __MetadataB
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export interface ListAIAgentVersionsCommandOutput extends ListAIAgentVersionsRes
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -124,6 +125,7 @@ export interface ListAIAgentVersionsCommandOutput extends ListAIAgentVersionsRes
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
Expand Down
2 changes: 2 additions & 0 deletions clients/client-qconnect/src/commands/ListAIAgentsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export interface ListAIAgentsCommandOutput extends ListAIAgentsResponse, __Metad
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -122,6 +123,7 @@ export interface ListAIAgentsCommandOutput extends ListAIAgentsResponse, __Metad
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
Expand Down
4 changes: 4 additions & 0 deletions clients/client-qconnect/src/commands/UpdateAIAgentCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export interface UpdateAIAgentCommandOutput extends UpdateAIAgentResponse, __Met
* },
* },
* ],
* locale: "STRING_VALUE",
* },
* answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
* intentLabelingGenerationAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -108,6 +109,7 @@ export interface UpdateAIAgentCommandOutput extends UpdateAIAgentResponse, __Met
* },
* },
* ],
* locale: "STRING_VALUE",
* },
* selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
* selfServicePreProcessingAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -187,6 +189,7 @@ export interface UpdateAIAgentCommandOutput extends UpdateAIAgentResponse, __Met
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
* // intentLabelingGenerationAIPromptId: "STRING_VALUE",
Expand Down Expand Up @@ -219,6 +222,7 @@ export interface UpdateAIAgentCommandOutput extends UpdateAIAgentResponse, __Met
* // },
* // },
* // ],
* // locale: "STRING_VALUE",
* // },
* // selfServiceAIAgentConfiguration: { // SelfServiceAIAgentConfiguration
* // selfServicePreProcessingAIPromptId: "STRING_VALUE",
Expand Down
21 changes: 20 additions & 1 deletion clients/client-qconnect/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,18 @@ export interface AnswerRecommendationAIAgentConfiguration {
* @public
*/
associationConfigurations?: AssociationConfiguration[] | undefined;

/**
* <p>The locale to which specifies the language and region settings that determine the response
* language for <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html">QueryAssistant</a>.</p>
* <note>
* <p>Changing this locale to anything other than <code>en_US</code> will turn off
* recommendations triggered by contact transcripts for agent assistance, as this feature is
* not supported in multiple languages.</p>
* </note>
* @public
*/
locale?: string | undefined;
}

/**
Expand All @@ -512,6 +524,13 @@ export interface ManualSearchAIAgentConfiguration {
* @public
*/
associationConfigurations?: AssociationConfiguration[] | undefined;

/**
* <p>The locale to which specifies the language and region settings that determine the response
* language for <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html">QueryAssistant</a>.</p>
* @public
*/
locale?: string | undefined;
}

/**
Expand Down Expand Up @@ -1602,7 +1621,7 @@ export interface GuardrailPiiEntityConfig {
* <ul>
* <li>
* <p>
* <b>REDIT_DEBIT_CARD_CVV</b>
* <b>CREDIT_DEBIT_CARD_CVV</b>
* </p>
* <p>A three-digit card verification code (CVV) that is present on VISA, MasterCard,
* and Discover credit and debit cards. For American Express credit or debit cards, the
Expand Down
Loading

0 comments on commit 81aee61

Please sign in to comment.