Skip to content

Commit 03a7bd4

Browse files
New ChatResponseConfiguration to Customize Q Business chat responses for specific use cases and communication needs. Updated Boosting capability allowing admins to provide preference on date attributes for recency and/or provide a preferred data source.
1 parent b13d323 commit 03a7bd4

File tree

55 files changed

+7148
-41
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+7148
-41
lines changed

generator/ServiceModels/qbusiness/qbusiness-2023-11-27.api.json

Lines changed: 348 additions & 4 deletions
Large diffs are not rendered by default.

generator/ServiceModels/qbusiness/qbusiness-2023-11-27.docs.json

Lines changed: 185 additions & 13 deletions
Large diffs are not rendered by default.

generator/ServiceModels/qbusiness/qbusiness-2023-11-27.normal.json

Lines changed: 490 additions & 17 deletions
Large diffs are not rendered by default.

generator/ServiceModels/qbusiness/qbusiness-2023-11-27.paginators.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
"limit_key": "maxResults",
1919
"result_key": "attachments"
2020
},
21+
"ListChatResponseConfigurations": {
22+
"input_token": "nextToken",
23+
"output_token": "nextToken",
24+
"limit_key": "maxResults",
25+
"result_key": "chatResponseConfigurations"
26+
},
2127
"ListConversations": {
2228
"input_token": "nextToken",
2329
"output_token": "nextToken",

sdk/code-analysis/ServiceAnalysis/QBusiness/Generated/PropertyValueRules.xml

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,34 @@
233233
<max>36</max>
234234
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
235235
</property-value-rule>
236+
<property-value-rule>
237+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationRequest.ApplicationId</property>
238+
<min>36</min>
239+
<max>36</max>
240+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
241+
</property-value-rule>
242+
<property-value-rule>
243+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationRequest.ClientToken</property>
244+
<min>1</min>
245+
<max>2048</max>
246+
</property-value-rule>
247+
<property-value-rule>
248+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationRequest.DisplayName</property>
249+
<min>1</min>
250+
<max>100</max>
251+
</property-value-rule>
252+
<property-value-rule>
253+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationResponse.ChatResponseConfigurationArn</property>
254+
<min>1</min>
255+
<max>1284</max>
256+
<pattern>arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}</pattern>
257+
</property-value-rule>
258+
<property-value-rule>
259+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationResponse.ChatResponseConfigurationId</property>
260+
<min>36</min>
261+
<max>36</max>
262+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
263+
</property-value-rule>
236264
<property-value-rule>
237265
<property>Amazon.QBusiness.Model.CreateDataAccessorRequest.ApplicationId</property>
238266
<min>36</min>
@@ -550,6 +578,18 @@
550578
<max>36</max>
551579
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
552580
</property-value-rule>
581+
<property-value-rule>
582+
<property>Amazon.QBusiness.Model.DeleteChatResponseConfigurationRequest.ApplicationId</property>
583+
<min>36</min>
584+
<max>36</max>
585+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
586+
</property-value-rule>
587+
<property-value-rule>
588+
<property>Amazon.QBusiness.Model.DeleteChatResponseConfigurationRequest.ChatResponseConfigurationId</property>
589+
<min>36</min>
590+
<max>36</max>
591+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
592+
</property-value-rule>
553593
<property-value-rule>
554594
<property>Amazon.QBusiness.Model.DeleteConversationRequest.ApplicationId</property>
555595
<min>36</min>
@@ -761,6 +801,35 @@
761801
<min>1</min>
762802
<max>800</max>
763803
</property-value-rule>
804+
<property-value-rule>
805+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationRequest.ApplicationId</property>
806+
<min>36</min>
807+
<max>36</max>
808+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
809+
</property-value-rule>
810+
<property-value-rule>
811+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationRequest.ChatResponseConfigurationId</property>
812+
<min>36</min>
813+
<max>36</max>
814+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
815+
</property-value-rule>
816+
<property-value-rule>
817+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationResponse.ChatResponseConfigurationArn</property>
818+
<min>1</min>
819+
<max>1284</max>
820+
<pattern>arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}</pattern>
821+
</property-value-rule>
822+
<property-value-rule>
823+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationResponse.ChatResponseConfigurationId</property>
824+
<min>36</min>
825+
<max>36</max>
826+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
827+
</property-value-rule>
828+
<property-value-rule>
829+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationResponse.DisplayName</property>
830+
<min>1</min>
831+
<max>100</max>
832+
</property-value-rule>
764833
<property-value-rule>
765834
<property>Amazon.QBusiness.Model.GetDataAccessorRequest.ApplicationId</property>
766835
<min>36</min>
@@ -1188,6 +1257,22 @@
11881257
<min>1</min>
11891258
<max>800</max>
11901259
</property-value-rule>
1260+
<property-value-rule>
1261+
<property>Amazon.QBusiness.Model.ListChatResponseConfigurationsRequest.ApplicationId</property>
1262+
<min>36</min>
1263+
<max>36</max>
1264+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
1265+
</property-value-rule>
1266+
<property-value-rule>
1267+
<property>Amazon.QBusiness.Model.ListChatResponseConfigurationsRequest.NextToken</property>
1268+
<min>1</min>
1269+
<max>800</max>
1270+
</property-value-rule>
1271+
<property-value-rule>
1272+
<property>Amazon.QBusiness.Model.ListChatResponseConfigurationsResponse.NextToken</property>
1273+
<min>1</min>
1274+
<max>800</max>
1275+
</property-value-rule>
11911276
<property-value-rule>
11921277
<property>Amazon.QBusiness.Model.ListConversationsRequest.ApplicationId</property>
11931278
<min>36</min>
@@ -1719,6 +1804,28 @@
17191804
<min>1</min>
17201805
<max>100</max>
17211806
</property-value-rule>
1807+
<property-value-rule>
1808+
<property>Amazon.QBusiness.Model.UpdateChatResponseConfigurationRequest.ApplicationId</property>
1809+
<min>36</min>
1810+
<max>36</max>
1811+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
1812+
</property-value-rule>
1813+
<property-value-rule>
1814+
<property>Amazon.QBusiness.Model.UpdateChatResponseConfigurationRequest.ChatResponseConfigurationId</property>
1815+
<min>36</min>
1816+
<max>36</max>
1817+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
1818+
</property-value-rule>
1819+
<property-value-rule>
1820+
<property>Amazon.QBusiness.Model.UpdateChatResponseConfigurationRequest.ClientToken</property>
1821+
<min>1</min>
1822+
<max>2048</max>
1823+
</property-value-rule>
1824+
<property-value-rule>
1825+
<property>Amazon.QBusiness.Model.UpdateChatResponseConfigurationRequest.DisplayName</property>
1826+
<min>1</min>
1827+
<max>100</max>
1828+
</property-value-rule>
17221829
<property-value-rule>
17231830
<property>Amazon.QBusiness.Model.UpdateDataAccessorRequest.ApplicationId</property>
17241831
<min>36</min>
@@ -2162,6 +2269,33 @@
21622269
<max>1024</max>
21632270
<pattern>\P{C}*</pattern>
21642271
</property-value-rule>
2272+
<property-value-rule>
2273+
<property>Amazon.QBusiness.Model.ChatResponseConfiguration.ChatResponseConfigurationArn</property>
2274+
<min>1</min>
2275+
<max>1284</max>
2276+
<pattern>arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}</pattern>
2277+
</property-value-rule>
2278+
<property-value-rule>
2279+
<property>Amazon.QBusiness.Model.ChatResponseConfiguration.ChatResponseConfigurationId</property>
2280+
<min>36</min>
2281+
<max>36</max>
2282+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
2283+
</property-value-rule>
2284+
<property-value-rule>
2285+
<property>Amazon.QBusiness.Model.ChatResponseConfiguration.DisplayName</property>
2286+
<min>1</min>
2287+
<max>100</max>
2288+
</property-value-rule>
2289+
<property-value-rule>
2290+
<property>Amazon.QBusiness.Model.ChatResponseConfiguration.ResponseConfigurationSummary</property>
2291+
<min>1</min>
2292+
<max>1000</max>
2293+
</property-value-rule>
2294+
<property-value-rule>
2295+
<property>Amazon.QBusiness.Model.ChatResponseConfigurationDetail.ResponseConfigurationSummary</property>
2296+
<min>1</min>
2297+
<max>2048</max>
2298+
</property-value-rule>
21652299
<property-value-rule>
21662300
<property>Amazon.QBusiness.Model.ConflictException.ResourceId</property>
21672301
<min>1</min>
@@ -2491,6 +2625,54 @@
24912625
<property>Amazon.QBusiness.Model.IndexCapacityConfiguration.Units</property>
24922626
<min>1</min>
24932627
</property-value-rule>
2628+
<property-value-rule>
2629+
<property>Amazon.QBusiness.Model.InstructionCollection.CustomInstructions</property>
2630+
<min>5</min>
2631+
<max>1000</max>
2632+
<pattern>[\s\S]*</pattern>
2633+
</property-value-rule>
2634+
<property-value-rule>
2635+
<property>Amazon.QBusiness.Model.InstructionCollection.Examples</property>
2636+
<min>5</min>
2637+
<max>1000</max>
2638+
<pattern>[\s\S]*</pattern>
2639+
</property-value-rule>
2640+
<property-value-rule>
2641+
<property>Amazon.QBusiness.Model.InstructionCollection.Identity</property>
2642+
<min>5</min>
2643+
<max>1000</max>
2644+
<pattern>[\s\S]*</pattern>
2645+
</property-value-rule>
2646+
<property-value-rule>
2647+
<property>Amazon.QBusiness.Model.InstructionCollection.OutputStyle</property>
2648+
<min>5</min>
2649+
<max>1000</max>
2650+
<pattern>[\s\S]*</pattern>
2651+
</property-value-rule>
2652+
<property-value-rule>
2653+
<property>Amazon.QBusiness.Model.InstructionCollection.Perspective</property>
2654+
<min>5</min>
2655+
<max>1000</max>
2656+
<pattern>[\s\S]*</pattern>
2657+
</property-value-rule>
2658+
<property-value-rule>
2659+
<property>Amazon.QBusiness.Model.InstructionCollection.ResponseLength</property>
2660+
<min>5</min>
2661+
<max>1000</max>
2662+
<pattern>[\s\S]*</pattern>
2663+
</property-value-rule>
2664+
<property-value-rule>
2665+
<property>Amazon.QBusiness.Model.InstructionCollection.TargetAudience</property>
2666+
<min>5</min>
2667+
<max>1000</max>
2668+
<pattern>[\s\S]*</pattern>
2669+
</property-value-rule>
2670+
<property-value-rule>
2671+
<property>Amazon.QBusiness.Model.InstructionCollection.Tone</property>
2672+
<min>5</min>
2673+
<max>1000</max>
2674+
<pattern>[\s\S]*</pattern>
2675+
</property-value-rule>
24942676
<property-value-rule>
24952677
<property>Amazon.QBusiness.Model.KendraIndexConfiguration.IndexId</property>
24962678
<min>36</min>

0 commit comments

Comments
 (0)