GuardrailContentPolicyConfig

Contains details about how to handle harmful content.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Contains the type of the content filter and how strongly it should apply to prompts and model responses.

Link copied to clipboard

The tier that your guardrail uses for content filters.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String