Module: OpenAI::Models::Realtime::ConversationItemWithReference::Type

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

Overview

The type of the item (message, function_call, function_call_output, item_reference).

See Also:

  • OpenAI::Models::Realtime::ConversationItemWithReference#type

Constant Summary collapse

MESSAGE =

Returns:

  • (:message)
:message
FUNCTION_CALL =

Returns:

  • (:function_call)
:function_call
FUNCTION_CALL_OUTPUT =

Returns:

  • (:function_call_output)
:function_call_output
ITEM_REFERENCE =

Returns:

  • (:item_reference)
:item_reference

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/openai/models/realtime/conversation_item_with_reference.rb', line 229

Instance Method Details

#self?.values::Array[OpenAI::Models::Realtime::ConversationItemWithReference::type_]

Returns:

  • (::Array[OpenAI::Models::Realtime::ConversationItemWithReference::type_])


202
# File 'sig/openai/models/realtime/conversation_item_with_reference.rbs', line 202

def self?.values: -> ::Array[OpenAI::Models::Realtime::ConversationItemWithReference::type_]