AwsBedrockContentFilterArgs

interface AwsBedrockContentFilterArgs { inputStrength: 'low' | 'medium' | 'high'; outputStrength: 'low' | 'medium' | 'high'; }

Configures the filtering strength for one Bedrock harmful-content category.

Example

CODE
const filter: AwsBedrockContentFilterArgs = {
  inputStrength: 'medium',
  outputStrength: 'high',
};

Properties

inputStrength: 'low' | 'medium' | 'high'

Filter strength applied to model input.

outputStrength: 'low' | 'medium' | 'high'

Filter strength applied to model output.