GuardrailTopic

Information about a topic guardrail.

Types

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

Properties

Link copied to clipboard

The action the guardrail should take when it intervenes on a topic.

Link copied to clipboard

Indicates whether topic content that breaches the guardrail configuration is detected.

Link copied to clipboard

The name for the guardrail.

Link copied to clipboard

The type behavior that the guardrail should perform when the model detects the topic.

Functions

Link copied to clipboard
inline fun copy(block: GuardrailTopic.Builder.() -> Unit = {}): GuardrailTopic
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