|
1436 | 1436 | "errors":[
|
1437 | 1437 | {"shape":"ResourceNotFoundException"},
|
1438 | 1438 | {"shape":"InternalServerException"},
|
| 1439 | + {"shape":"ConflictException"}, |
1439 | 1440 | {"shape":"ThrottlingException"},
|
1440 | 1441 | {"shape":"ValidationException"},
|
1441 | 1442 | {"shape":"AccessDeniedException"},
|
|
4738 | 4739 | "nextToken":{
|
4739 | 4740 | "shape":"NextToken",
|
4740 | 4741 | "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business chat controls configured.</p>"
|
| 4742 | + }, |
| 4743 | + "hallucinationReductionConfiguration":{ |
| 4744 | + "shape":"HallucinationReductionConfiguration", |
| 4745 | + "documentation":"<p> The hallucination reduction settings for your application.</p>" |
4741 | 4746 | }
|
4742 | 4747 | }
|
4743 | 4748 | },
|
|
5432 | 5437 | "type":"list",
|
5433 | 5438 | "member":{"shape":"GroupSummary"}
|
5434 | 5439 | },
|
| 5440 | + "HallucinationReductionConfiguration":{ |
| 5441 | + "type":"structure", |
| 5442 | + "members":{ |
| 5443 | + "hallucinationReductionControl":{ |
| 5444 | + "shape":"HallucinationReductionControl", |
| 5445 | + "documentation":"<p>Controls whether hallucination reduction has been enabled or disabled for your application. The default status is <code>DISABLED</code>. </p>" |
| 5446 | + } |
| 5447 | + }, |
| 5448 | + "documentation":"<p>Configuration information required to setup hallucination reduction. For more information, see <a href=\"amazonq/latest/qbusiness-ug/hallucination-reduction.html\">hallucination reduction</a>.</p> <note> <p>The hallucination reduction feature won't work if chat orchestration controls are enabled for your application.</p> </note>" |
| 5449 | + }, |
| 5450 | + "HallucinationReductionControl":{ |
| 5451 | + "type":"string", |
| 5452 | + "enum":[ |
| 5453 | + "ENABLED", |
| 5454 | + "DISABLED" |
| 5455 | + ] |
| 5456 | + }, |
5435 | 5457 | "HookConfiguration":{
|
5436 | 5458 | "type":"structure",
|
5437 | 5459 | "members":{
|
|
8048 | 8070 | "min":0,
|
8049 | 8071 | "pattern":"\\P{C}*"
|
8050 | 8072 | },
|
| 8073 | + "SystemMessageType":{ |
| 8074 | + "type":"string", |
| 8075 | + "enum":[ |
| 8076 | + "RESPONSE", |
| 8077 | + "GROUNDED_RESPONSE" |
| 8078 | + ] |
| 8079 | + }, |
8051 | 8080 | "Tag":{
|
8052 | 8081 | "type":"structure",
|
8053 | 8082 | "required":[
|
|
8141 | 8170 | "TextOutputEvent":{
|
8142 | 8171 | "type":"structure",
|
8143 | 8172 | "members":{
|
| 8173 | + "systemMessageType":{ |
| 8174 | + "shape":"SystemMessageType", |
| 8175 | + "documentation":"<p>The type of AI-generated message in a <code>TextOutputEvent</code>. Amazon Q Business currently supports two types of messages:</p> <ul> <li> <p> <code>RESPONSE</code> - The Amazon Q Business system response.</p> </li> <li> <p> <code>GROUNDED_RESPONSE</code> - The corrected, hallucination-reduced, response returned by Amazon Q Business. Available only if hallucination reduction is supported and configured for the application and detected in the end user chat query by Amazon Q Business.</p> </li> </ul>" |
| 8176 | + }, |
8144 | 8177 | "conversationId":{
|
8145 | 8178 | "shape":"ConversationId",
|
8146 | 8179 | "documentation":"<p>The identifier of the conversation with which the text output event is associated.</p>"
|
|
8377 | 8410 | "creatorModeConfiguration":{
|
8378 | 8411 | "shape":"CreatorModeConfiguration",
|
8379 | 8412 | "documentation":"<p>The configuration details for <code>CREATOR_MODE</code>.</p>"
|
| 8413 | + }, |
| 8414 | + "hallucinationReductionConfiguration":{ |
| 8415 | + "shape":"HallucinationReductionConfiguration", |
| 8416 | + "documentation":"<p> The hallucination reduction settings for your application.</p>" |
8380 | 8417 | }
|
8381 | 8418 | }
|
8382 | 8419 | },
|
|
0 commit comments