Module: Telnyx::Models::AI::Conversations::InsightTemplate::JsonSchema

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

Overview

If specified, the output will follow the JSON schema.

See Also:

  • Telnyx::Models::AI::Conversations::InsightTemplate#json_schema

Constant Summary collapse

JsonSchemaObjectMap =
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, Hash{Symbol=>Object})

Returns:

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


# File 'lib/telnyx/models/ai/conversations/insight_template.rb', line 81

Instance Method Details

#self?.variants::Array[Telnyx::Models::AI::Conversations::InsightTemplate::json_schema]

Returns:

  • (::Array[Telnyx::Models::AI::Conversations::InsightTemplate::json_schema])


79
# File 'sig/telnyx/models/ai/conversations/insight_template.rbs', line 79

def self?.variants: -> ::Array[Telnyx::Models::AI::Conversations::InsightTemplate::json_schema]