GuardrailTopicConfig
¶
Source code in docs_src/capo_qconnect/types/guardrail_topic_config.py
definition
instance-attribute
¶
definition: GuardrailTopicDefinition
A definition of the topic to deny.
examples
instance-attribute
¶
examples: NotRequired[GuardrailTopicExamples]
A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.