GuardrailTopicConfig

data class GuardrailTopicConfig(val definition: String, val examples: List<String>? = null, val name: String, val type: GuardrailTopicType)

Topic config in topic policy.

Constructors

Link copied to clipboard
constructor(definition: String, examples: List<String>? = null, name: String, type: GuardrailTopicType)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Definition of topic in topic policy

Link copied to clipboard
val examples: List<String>? = null

List of text examples

Link copied to clipboard

Name of topic in topic policy

Link copied to clipboard

Specifies to deny the topic.