update_chat_controls_configuration
¶
update_chat_controls_configuration(
application_id: ApplicationId,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
client_token: Optional[ClientToken] = None,
response_scope: Optional[ResponseScope] = None,
orchestration_configuration: Optional[OrchestrationConfiguration] = None,
blocked_phrases_configuration_update: Optional[
BlockedPhrasesConfigurationUpdate
] = None,
topic_configurations_to_create_or_update: Optional[TopicConfigurations] = None,
topic_configurations_to_delete: Optional[TopicConfigurations] = None,
creator_mode_configuration: Optional[CreatorModeConfiguration] = None,
hallucination_reduction_configuration: Optional[
HallucinationReductionConfiguration
] = None,
) -> UpdateChatControlsConfigurationResponse
Updates a set of chat controls configured for an existing Amazon Q Business application.
Parameters:
-
application_id(ApplicationId) –The identifier of the application for which the chat controls are configured.
-
client_token(Optional[ClientToken], default:None) –A token that you provide to identify the request to update a Amazon Q Business application chat configuration.
-
response_scope(Optional[ResponseScope], default:None) –The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
-
orchestration_configuration(Optional[OrchestrationConfiguration], default:None) –The chat response orchestration settings for your application.
-
blocked_phrases_configuration_update(Optional[BlockedPhrasesConfigurationUpdate], default:None) –The phrases blocked from chat by your chat control configuration.
-
topic_configurations_to_create_or_update(Optional[TopicConfigurations], default:None) –The configured topic specific chat controls you want to update.
-
topic_configurations_to_delete(Optional[TopicConfigurations], default:None) –The configured topic specific chat controls you want to delete.
-
creator_mode_configuration(Optional[CreatorModeConfiguration], default:None) –The configuration details for
CREATOR_MODE. -
hallucination_reduction_configuration(Optional[HallucinationReductionConfiguration], default:None) –The hallucination reduction settings for your application.
Raises:
-
AccessDeniedException–You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
-
ConflictException–You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ServiceQuotaExceededException–You have exceeded the set limits for your Amazon Q Business service.
-
ThrottlingException–The request was denied due to throttling. Reduce the number of requests and try again.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qbusiness/_services/q_business.py
3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 | |