Module: OpenAI::Models::Conversations::Message::Phase
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/conversations/message.rb,
sig/openai/models/conversations/message.rbs
Overview
Labels an assistant message as intermediate commentary (commentary) or the
final answer (final_answer). For models like gpt-5.3-codex and beyond, when
sending follow-up requests, preserve and resend phase on all assistant messages
— dropping it can degrade performance. Not used for user messages.
Constant Summary collapse
- COMMENTARY =
:commentary- FINAL_ANSWER =
:final_answer
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
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/conversations/message.rb', line 171
|
Instance Method Details
#self?.values ⇒ ::Array[OpenAI::Models::Conversations::Message::phase]
119 |
# File 'sig/openai/models/conversations/message.rbs', line 119
def self?.values: -> ::Array[OpenAI::Models::Conversations::Message::phase]
|