Module: OpenAI::Models::Live::InitialItem::User::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/live/initial_item.rb,
sig/openai/models/live/initial_item.rbs

Overview

The history item type. Always message.

See Also:

  • OpenAI::Models::Live::InitialItem::User#type

Constant Summary collapse

MESSAGE =

Returns:

  • (:message)
:message

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, coerce_with_error, dump, #dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.values::Array[OpenAI::Models::Live::InitialItem::User::type_]

Returns:

  • (::Array[OpenAI::Models::Live::InitialItem::User::type_])


204
# File 'sig/openai/models/live/initial_item.rbs', line 204

def self?.values: -> ::Array[OpenAI::Models::Live::InitialItem::User::type_]