BedrockGuardrailRedactionConfig
Defined in: src/models/bedrock.ts:105
Redaction configuration for Bedrock guardrails. Controls whether and how blocked content is replaced.
Properties
Section titled “Properties”input?
Section titled “input?”optional input: boolean;Defined in: src/models/bedrock.ts:107
Redact input when blocked.
Default Value
Section titled “Default Value”trueinputMessage?
Section titled “inputMessage?”optional inputMessage: string;Defined in: src/models/bedrock.ts:110
Replacement message for redacted input.
Default Value
Section titled “Default Value”'[User input redacted.]'output?
Section titled “output?”optional output: boolean;Defined in: src/models/bedrock.ts:113
Redact output when blocked.
Default Value
Section titled “Default Value”falseoutputMessage?
Section titled “outputMessage?”optional outputMessage: string;Defined in: src/models/bedrock.ts:116
Replacement message for redacted output.
Default Value
Section titled “Default Value”'[Assistant output redacted.]'