Skip to content

ContentBlockerRule

Structure Class

ContentBlockerRule dataclass

Bases: _SerdeShape

A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic. You can configure a custom message to inform your end users that they have asked about a restricted topic and suggest any next steps they should take.

Attributes

system_message_override class-attribute instance-attribute
system_message_override: str | None = ...

The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.