Module: OpenAI::Models::FileChunkingStrategyParam

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/file_chunking_strategy_param.rb,
sig/openai/models/file_chunking_strategy_param.rbs

Overview

The chunking strategy used to chunk the file(s). If not set, will use the auto strategy. Only applicable if file_ids is non-empty.

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

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

Class Method Details

Instance Method Details

#self?.variants::Array[OpenAI::Models::file_chunking_strategy_param]

Returns:

  • (::Array[OpenAI::Models::file_chunking_strategy_param])


10
# File 'sig/openai/models/file_chunking_strategy_param.rbs', line 10

def self?.variants: -> ::Array[OpenAI::Models::file_chunking_strategy_param]