Module: Telnyx::Models::AI::Anthropic::V1MessagesParams::System

Extended by:
Internal::Type::Union
Defined in:
lib/telnyx/models/ai/anthropic/v1_messages_params.rb,
sig/telnyx/models/ai/anthropic/v1_messages_params.rbs

Overview

System prompt. Can be a string or an array of content blocks following the Anthropic API format.

Constant Summary collapse

UnionMember1Array =
Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]]

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

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

.variantsArray(String, Array<Hash{Symbol=>Object}>)

Returns:

  • (Array(String, Array<Hash{Symbol=>Object}>))


# File 'lib/telnyx/models/ai/anthropic/v1_messages_params.rb', line 198

Instance Method Details

#self?.variants::Array[Telnyx::Models::AI::Anthropic::V1MessagesParams::system_]

Returns:

  • (::Array[Telnyx::Models::AI::Anthropic::V1MessagesParams::system_])


167
# File 'sig/telnyx/models/ai/anthropic/v1_messages_params.rbs', line 167

def self?.variants: -> ::Array[Telnyx::Models::AI::Anthropic::V1MessagesParams::system_]