Skip to content

Commit 74d108d

Browse files
author
AWS
committed
Amazon Q Connect Update: This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target.
1 parent 0e9f9b8 commit 74d108d

File tree

2 files changed

+124
-4
lines changed

2 files changed

+124
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Q Connect",
4+
"contributor": "",
5+
"description": "This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target."
6+
}

services/qconnect/src/main/resources/codegen-resources/service-2.json

Lines changed: 118 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
{"shape":"AccessDeniedException"},
103103
{"shape":"ResourceNotFoundException"}
104104
],
105-
"documentation":"<p>Creates a Amazon Q quick response.</p>",
105+
"documentation":"<p>Creates an Amazon Q quick response.</p>",
106106
"idempotent":true
107107
},
108108
"CreateSession":{
@@ -494,6 +494,23 @@
494494
"documentation":"<p>Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_GetRecommendations.html\">GetRecommendations</a> and a <code>waitTimeSeconds</code> input for long-polling behavior and avoiding duplicate recommendations.</p>",
495495
"idempotent":true
496496
},
497+
"PutFeedback":{
498+
"name":"PutFeedback",
499+
"http":{
500+
"method":"PUT",
501+
"requestUri":"/assistants/{assistantId}/feedback",
502+
"responseCode":200
503+
},
504+
"input":{"shape":"PutFeedbackRequest"},
505+
"output":{"shape":"PutFeedbackResponse"},
506+
"errors":[
507+
{"shape":"ValidationException"},
508+
{"shape":"AccessDeniedException"},
509+
{"shape":"ResourceNotFoundException"}
510+
],
511+
"documentation":"<p>Provides feedback against the specified assistant for the specified target. This API only supports generative targets.</p>",
512+
"idempotent":true
513+
},
497514
"QueryAssistant":{
498515
"name":"QueryAssistant",
499516
"http":{
@@ -558,7 +575,7 @@
558575
{"shape":"AccessDeniedException"},
559576
{"shape":"ResourceNotFoundException"}
560577
],
561-
"documentation":"<p>Searches existing Amazon Q quick responses in a Amazon Q knowledge base.</p>"
578+
"documentation":"<p>Searches existing Amazon Q quick responses in an Amazon Q knowledge base.</p>"
562579
},
563580
"SearchSessions":{
564581
"name":"SearchSessions",
@@ -844,7 +861,7 @@
844861
"documentation":"<p>The type of Amazon Q assistant capability. </p>"
845862
}
846863
},
847-
"documentation":"<p>The capability configuration for a Amazon Q assistant. </p>"
864+
"documentation":"<p>The capability configuration for an Amazon Q assistant. </p>"
848865
},
849866
"AssistantCapabilityType":{
850867
"type":"string",
@@ -1151,6 +1168,17 @@
11511168
},
11521169
"documentation":"<p>Details about the content data.</p>"
11531170
},
1171+
"ContentFeedbackData":{
1172+
"type":"structure",
1173+
"members":{
1174+
"generativeContentFeedbackData":{
1175+
"shape":"GenerativeContentFeedbackData",
1176+
"documentation":"<p>Information about the feedback for a generative target type.</p>"
1177+
}
1178+
},
1179+
"documentation":"<p>Information about the feedback.</p>",
1180+
"union":true
1181+
},
11541182
"ContentMetadata":{
11551183
"type":"map",
11561184
"key":{"shape":"NonEmptyString"},
@@ -1855,6 +1883,17 @@
18551883
"type":"string",
18561884
"enum":["EQUALS"]
18571885
},
1886+
"GenerativeContentFeedbackData":{
1887+
"type":"structure",
1888+
"required":["relevance"],
1889+
"members":{
1890+
"relevance":{
1891+
"shape":"Relevance",
1892+
"documentation":"<p>The relevance of the feedback.</p>"
1893+
}
1894+
},
1895+
"documentation":"<p>The feedback information for a generative target type.</p>"
1896+
},
18581897
"GenerativeDataDetails":{
18591898
"type":"structure",
18601899
"required":[
@@ -2868,6 +2907,67 @@
28682907
"LOW"
28692908
]
28702909
},
2910+
"PutFeedbackRequest":{
2911+
"type":"structure",
2912+
"required":[
2913+
"assistantId",
2914+
"contentFeedback",
2915+
"targetId",
2916+
"targetType"
2917+
],
2918+
"members":{
2919+
"assistantId":{
2920+
"shape":"UuidOrArn",
2921+
"documentation":"<p>The identifier of the Amazon Q assistant.</p>",
2922+
"location":"uri",
2923+
"locationName":"assistantId"
2924+
},
2925+
"contentFeedback":{
2926+
"shape":"ContentFeedbackData",
2927+
"documentation":"<p>Information about the feedback provided.</p>"
2928+
},
2929+
"targetId":{
2930+
"shape":"Uuid",
2931+
"documentation":"<p>The identifier of the feedback target.</p>"
2932+
},
2933+
"targetType":{
2934+
"shape":"TargetType",
2935+
"documentation":"<p>The type of the feedback target.</p>"
2936+
}
2937+
}
2938+
},
2939+
"PutFeedbackResponse":{
2940+
"type":"structure",
2941+
"required":[
2942+
"assistantArn",
2943+
"assistantId",
2944+
"contentFeedback",
2945+
"targetId",
2946+
"targetType"
2947+
],
2948+
"members":{
2949+
"assistantArn":{
2950+
"shape":"UuidOrArn",
2951+
"documentation":"<p>The Amazon Resource Name (ARN) of the Amazon Q assistant.</p>"
2952+
},
2953+
"assistantId":{
2954+
"shape":"Uuid",
2955+
"documentation":"<p>The identifier of the Amazon Q assistant.</p>"
2956+
},
2957+
"contentFeedback":{
2958+
"shape":"ContentFeedbackData",
2959+
"documentation":"<p>Information about the feedback provided.</p>"
2960+
},
2961+
"targetId":{
2962+
"shape":"Uuid",
2963+
"documentation":"<p>The identifier of the feedback target.</p>"
2964+
},
2965+
"targetType":{
2966+
"shape":"TargetType",
2967+
"documentation":"<p>The type of the feedback target.</p>"
2968+
}
2969+
}
2970+
},
28712971
"QueryAssistantRequest":{
28722972
"type":"structure",
28732973
"required":[
@@ -3593,6 +3693,13 @@
35933693
"GENERATIVE_ANSWER"
35943694
]
35953695
},
3696+
"Relevance":{
3697+
"type":"string",
3698+
"enum":[
3699+
"HELPFUL",
3700+
"NOT_HELPFUL"
3701+
]
3702+
},
35963703
"RelevanceLevel":{
35973704
"type":"string",
35983705
"enum":[
@@ -4136,6 +4243,13 @@
41364243
"key":{"shape":"TagKey"},
41374244
"value":{"shape":"TagValue"}
41384245
},
4246+
"TargetType":{
4247+
"type":"string",
4248+
"enum":[
4249+
"RECOMMENDATION",
4250+
"RESULT"
4251+
]
4252+
},
41394253
"TextData":{
41404254
"type":"structure",
41414255
"members":{
@@ -4395,5 +4509,5 @@
43954509
"min":0
43964510
}
43974511
},
4398-
"documentation":"<p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact center agents resolve customer issues quickly and accurately.</p> <p>Amazon Q automatically detects customer intent during calls and chats using conversational analytics and natural language understanding (NLU). It then provides agents with immediate, real-time generative responses and suggested actions, and links to relevant documents and articles. Agents can also query Amazon Q directly using natural language or keywords to answer customer requests.</p> <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html\">Use Amazon Q in Connect for generative AI powered agent assistance in real-time</a> in the <i>Amazon Connect Administrator Guide</i>.</p>"
4512+
"documentation":"<note> <p> <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html\">automated abuse detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of artificial intelligence (AI).</p> </note> <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact center agents resolve customer issues quickly and accurately.</p> <p>Amazon Q automatically detects customer intent during calls and chats using conversational analytics and natural language understanding (NLU). It then provides agents with immediate, real-time generative responses and suggested actions, and links to relevant documents and articles. Agents can also query Amazon Q directly using natural language or keywords to answer customer requests.</p> <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html\">Use Amazon Q in Connect for generative AI powered agent assistance in real-time</a> in the <i>Amazon Connect Administrator Guide</i>.</p>"
43994513
}

0 commit comments

Comments
 (0)