update_chat_controls_configuration
async
¶
update_chat_controls_configuration(
application_id: ApplicationId,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = 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/async_q_business.py
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 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 | |