Module: OpenAI::Models::VectorStores::FileBatchCreateParams::File::Attribute

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/vector_stores/file_batch_create_params.rb

Class Method Summary collapse

Instance 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, meta_info, new_coerce_state, type_info

Class Method Details

.variantsArray(String, Float, Boolean)

Returns:



# File 'lib/openai/models/vector_stores/file_batch_create_params.rb', line 126


Instance Method Details

#initialize(file_id:, attributes: nil, chunking_strategy: nil) ⇒ Object

Some parameter documentations has been truncated, see OpenAI::Models::VectorStores::FileBatchCreateParams::File for more details.

Parameters:



117
118
119
120
121
122
123
124
125
126
127
128
# File 'lib/openai/models/vector_stores/file_batch_create_params.rb', line 117

module Attribute
  extend OpenAI::Internal::Type::Union

  variant String

  variant Float

  variant OpenAI::Internal::Type::Boolean

  # @!method self.variants
  #   @return [Array(String, Float, Boolean)]
end