Module: OpenAI::Models::VectorStores::FileUpdateParams::Attribute

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/vector_stores/file_update_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_update_params.rb', line 49

Instance Method Details

#initialize(vector_store_id: , attributes: , request_options: {}) ⇒ Object

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

Parameters:

  • vector_store_id (String) (defaults to: )
  • attributes (Hash{Symbol=>String, Float, Boolean}, nil) (defaults to: )

    Set of 16 key-value pairs that can be attached to an object. This can be

  • request_options (OpenAI::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/openai/models/vector_stores/file_update_params.rb', line 40

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