Module: OpenAI::Models::Realtime::ConversationItemWithReference::Role

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

Overview

The role of the message sender (‘user`, `assistant`, `system`), only applicable for `message` items.

See Also:

Constant Summary collapse

USER =
:user
ASSISTANT =
:assistant
SYSTEM =
:system

Method Summary

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