Module: OpenAI::Models::VectorStores::FileCreateParams::Attribute

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/vector_stores/file_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, type_info

Class Method Details

.variantsArray(String, Float, Boolean)

Returns:



# File 'lib/openai/models/vector_stores/file_create_params.rb', line 61

Instance Method Details

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

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

Parameters:



52
53
54
55
56
57
58
59
60
61
62
63
# File 'lib/openai/models/vector_stores/file_create_params.rb', line 52

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