GuardrailStreamConfiguration¶
Structure Class¶
GuardrailStreamConfiguration
dataclass
¶
Configuration information for a guardrail that you use with the ConverseStream action.
Attributes¶
guardrail_identifier
class-attribute
instance-attribute
¶
guardrail_identifier: str = ''
The identifier for the guardrail.
guardrail_version
class-attribute
instance-attribute
¶
guardrail_version: str = ''
The version of the guardrail.
stream_processing_mode
class-attribute
instance-attribute
¶
stream_processing_mode: GuardrailStreamProcessingMode = GuardrailStreamProcessingMode('sync')
The processing mode.
The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.
trace
class-attribute
instance-attribute
¶
trace: GuardrailTrace = GuardrailTrace('disabled')
The trace behavior for the guardrail.