Builder

class Builder

Properties

Link copied to clipboard

The action taken when a match to the regular expression is detected.

Link copied to clipboard

The description of the regular expression for the guardrail.

Link copied to clipboard

The action to take when harmful content is detected in the input. Supported values include:

Link copied to clipboard

Indicates whether guardrail evaluation is enabled on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.

Link copied to clipboard
var name: String?

The name of the regular expression for the guardrail.

Link copied to clipboard

The action to take when harmful content is detected in the output. Supported values include:

Link copied to clipboard

Indicates whether guardrail evaluation is enabled on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.

Link copied to clipboard

The pattern of the regular expression configured for the guardrail.