Module: OpenAI::Models::Beta::Threads::MessageCreateParams::Content

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/beta/threads/message_create_params.rb

Overview

The text contents of the message.

Constant Summary collapse

MessageContentPartParamArray =
OpenAI::Internal::Type::ArrayOf[union: -> { OpenAI::Beta::Threads::MessageContentPartParam }]

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, 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, new_coerce_state, type_info

Class Method Details

.variantsArray(String, Array<OpenAI::Models::Beta::Threads::ImageFileContentBlock, OpenAI::Models::Beta::Threads::ImageURLContentBlock, OpenAI::Models::Beta::Threads::TextContentBlockParam>)



# File 'lib/openai/models/beta/threads/message_create_params.rb', line 74