AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The content filter for a guardrail.
Namespace: Amazon.BedrockRuntime.Model
Assembly: AWSSDK.BedrockRuntime.dll
Version: 3.x.y.z
public class GuardrailContentFilter
The GuardrailContentFilter type exposes the following members
| Name | Description | |
|---|---|---|
|
GuardrailContentFilter() |
| Name | Type | Description | |
|---|---|---|---|
|
Action | Amazon.BedrockRuntime.GuardrailContentPolicyAction |
Gets and sets the property Action. The guardrail action. |
|
Confidence | Amazon.BedrockRuntime.GuardrailContentFilterConfidence |
Gets and sets the property Confidence. The guardrail confidence. |
|
Detected | System.Nullable<System.Boolean> |
Gets and sets the property Detected. Indicates whether content that breaches the guardrail configuration is detected. |
|
FilterStrength | Amazon.BedrockRuntime.GuardrailContentFilterStrength |
Gets and sets the property FilterStrength. The filter strength setting for the guardrail content filter. |
|
Type | Amazon.BedrockRuntime.GuardrailContentFilterType |
Gets and sets the property Type. The guardrail type. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer