Module: Anthropic::Models::Beta::BetaFallbackRefusalTrigger::Category

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/beta_fallback_refusal_trigger.rb,
sig/anthropic/models/beta/beta_fallback_refusal_trigger.rbs

Overview

The policy category that triggered a refusal.

See Also:

  • Anthropic::Models::Beta::BetaFallbackRefusalTrigger#category

Constant Summary collapse

CYBER =

The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category.

Returns:

  • (:cyber)
:cyber
BIO =

The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category.

Returns:

  • (:bio)
:bio
FRONTIER_LLM =

The request could assist the development of competing AI models, which is restricted under Anthropic's commercial terms. Benign machine learning work can also trigger this category.

Returns:

  • (:frontier_llm)
:frontier_llm
REASONING_EXTRACTION =

The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use adaptive thinking.

Returns:

  • (:reasoning_extraction)
:reasoning_extraction
GENERAL_HARMS =

The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category.

Returns:

  • (:general_harms)
:general_harms

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.values::Array[Anthropic::Models::Beta::BetaFallbackRefusalTrigger::category]

Returns:

  • (::Array[Anthropic::Models::Beta::BetaFallbackRefusalTrigger::category])


48
# File 'sig/anthropic/models/beta/beta_fallback_refusal_trigger.rbs', line 48

def self?.values: -> ::Array[Anthropic::Models::Beta::BetaFallbackRefusalTrigger::category]