Builder

class Builder

Properties

Link copied to clipboard

The guardrail action to configure when matching regular expression is detected.

Link copied to clipboard

The description of the regular expression to configure for the guardrail.

Link copied to clipboard

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

Link copied to clipboard

Specifies whether to enable guardrail evaluation 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 to configure for the guardrail.

Link copied to clipboard

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

Link copied to clipboard

Specifies whether to enable guardrail evaluation 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 regular expression pattern to configure for the guardrail.