Skip to content

Commit 94a5520

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 9d6341a commit 94a5520

File tree

53 files changed

+6447
-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.

53 files changed

+6447
-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
@@ -262,6 +262,34 @@
262262
<max>36</max>
263263
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
264264
</property-value-rule>
265+
<property-value-rule>
266+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationRequest.ApplicationId</property>
267+
<min>36</min>
268+
<max>36</max>
269+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
270+
</property-value-rule>
271+
<property-value-rule>
272+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationRequest.ClientToken</property>
273+
<min>1</min>
274+
<max>2048</max>
275+
</property-value-rule>
276+
<property-value-rule>
277+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationRequest.DisplayName</property>
278+
<min>1</min>
279+
<max>100</max>
280+
</property-value-rule>
281+
<property-value-rule>
282+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationResponse.ChatResponseConfigurationArn</property>
283+
<min>1</min>
284+
<max>1284</max>
285+
<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>
286+
</property-value-rule>
287+
<property-value-rule>
288+
<property>Amazon.QBusiness.Model.CreateChatResponseConfigurationResponse.ChatResponseConfigurationId</property>
289+
<min>36</min>
290+
<max>36</max>
291+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
292+
</property-value-rule>
265293
<property-value-rule>
266294
<property>Amazon.QBusiness.Model.CreateDataAccessorRequest.ApplicationId</property>
267295
<min>36</min>
@@ -579,6 +607,18 @@
579607
<max>36</max>
580608
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
581609
</property-value-rule>
610+
<property-value-rule>
611+
<property>Amazon.QBusiness.Model.DeleteChatResponseConfigurationRequest.ApplicationId</property>
612+
<min>36</min>
613+
<max>36</max>
614+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
615+
</property-value-rule>
616+
<property-value-rule>
617+
<property>Amazon.QBusiness.Model.DeleteChatResponseConfigurationRequest.ChatResponseConfigurationId</property>
618+
<min>36</min>
619+
<max>36</max>
620+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
621+
</property-value-rule>
582622
<property-value-rule>
583623
<property>Amazon.QBusiness.Model.DeleteConversationRequest.ApplicationId</property>
584624
<min>36</min>
@@ -790,6 +830,35 @@
790830
<min>1</min>
791831
<max>800</max>
792832
</property-value-rule>
833+
<property-value-rule>
834+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationRequest.ApplicationId</property>
835+
<min>36</min>
836+
<max>36</max>
837+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
838+
</property-value-rule>
839+
<property-value-rule>
840+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationRequest.ChatResponseConfigurationId</property>
841+
<min>36</min>
842+
<max>36</max>
843+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
844+
</property-value-rule>
845+
<property-value-rule>
846+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationResponse.ChatResponseConfigurationArn</property>
847+
<min>1</min>
848+
<max>1284</max>
849+
<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>
850+
</property-value-rule>
851+
<property-value-rule>
852+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationResponse.ChatResponseConfigurationId</property>
853+
<min>36</min>
854+
<max>36</max>
855+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
856+
</property-value-rule>
857+
<property-value-rule>
858+
<property>Amazon.QBusiness.Model.GetChatResponseConfigurationResponse.DisplayName</property>
859+
<min>1</min>
860+
<max>100</max>
861+
</property-value-rule>
793862
<property-value-rule>
794863
<property>Amazon.QBusiness.Model.GetDataAccessorRequest.ApplicationId</property>
795864
<min>36</min>
@@ -1217,6 +1286,22 @@
12171286
<min>1</min>
12181287
<max>800</max>
12191288
</property-value-rule>
1289+
<property-value-rule>
1290+
<property>Amazon.QBusiness.Model.ListChatResponseConfigurationsRequest.ApplicationId</property>
1291+
<min>36</min>
1292+
<max>36</max>
1293+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
1294+
</property-value-rule>
1295+
<property-value-rule>
1296+
<property>Amazon.QBusiness.Model.ListChatResponseConfigurationsRequest.NextToken</property>
1297+
<min>1</min>
1298+
<max>800</max>
1299+
</property-value-rule>
1300+
<property-value-rule>
1301+
<property>Amazon.QBusiness.Model.ListChatResponseConfigurationsResponse.NextToken</property>
1302+
<min>1</min>
1303+
<max>800</max>
1304+
</property-value-rule>
12201305
<property-value-rule>
12211306
<property>Amazon.QBusiness.Model.ListConversationsRequest.ApplicationId</property>
12221307
<min>36</min>
@@ -1748,6 +1833,28 @@
17481833
<min>1</min>
17491834
<max>100</max>
17501835
</property-value-rule>
1836+
<property-value-rule>
1837+
<property>Amazon.QBusiness.Model.UpdateChatResponseConfigurationRequest.ApplicationId</property>
1838+
<min>36</min>
1839+
<max>36</max>
1840+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
1841+
</property-value-rule>
1842+
<property-value-rule>
1843+
<property>Amazon.QBusiness.Model.UpdateChatResponseConfigurationRequest.ChatResponseConfigurationId</property>
1844+
<min>36</min>
1845+
<max>36</max>
1846+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
1847+
</property-value-rule>
1848+
<property-value-rule>
1849+
<property>Amazon.QBusiness.Model.UpdateChatResponseConfigurationRequest.ClientToken</property>
1850+
<min>1</min>
1851+
<max>2048</max>
1852+
</property-value-rule>
1853+
<property-value-rule>
1854+
<property>Amazon.QBusiness.Model.UpdateChatResponseConfigurationRequest.DisplayName</property>
1855+
<min>1</min>
1856+
<max>100</max>
1857+
</property-value-rule>
17511858
<property-value-rule>
17521859
<property>Amazon.QBusiness.Model.UpdateDataAccessorRequest.ApplicationId</property>
17531860
<min>36</min>
@@ -2162,6 +2269,33 @@
21622269
<max>350</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)