Module: Anthropic::Models::RefusalStopDetails::Category

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

Overview

The policy category that triggered a refusal.

See Also:

  • Anthropic::Models::RefusalStopDetails#category

Constant Summary collapse

CYBER =

Returns:

  • (:cyber)
:cyber
BIO =

Returns:

  • (:bio)
:bio
FRONTIER_LLM =

Returns:

  • (:frontier_llm)
:frontier_llm
REASONING_EXTRACTION =

Returns:

  • (:reasoning_extraction)
:reasoning_extraction
MILITARY_WEAPONS =

Returns:

  • (:military_weapons)
:military_weapons

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, 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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/anthropic/models/refusal_stop_details.rb', line 50

Instance Method Details

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

Returns:

  • (::Array[Anthropic::Models::RefusalStopDetails::category])


45
# File 'sig/anthropic/models/refusal_stop_details.rbs', line 45

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