Class: OpenAI::Models::Chat::ChatCompletionContentPart::File::File
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Chat::ChatCompletionContentPart::File::File
- Defined in:
- lib/openai/models/chat/chat_completion_content_part.rb
Overview
Instance Attribute Summary collapse
-
#file_data ⇒ String?
The base64 encoded file data, used when passing the file to the model as a string.
-
#file_id ⇒ String?
The ID of an uploaded file to use as input.
-
#filename ⇒ String?
The name of the file, used when passing the file to the model as a string.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from OpenAI::Internal::Type::BaseModel
Instance Attribute Details
#file_data ⇒ String?
The base64 encoded file data, used when passing the file to the model as a string.
52 |
# File 'lib/openai/models/chat/chat_completion_content_part.rb', line 52 optional :file_data, String |
#file_id ⇒ String?
The ID of an uploaded file to use as input.
58 |
# File 'lib/openai/models/chat/chat_completion_content_part.rb', line 58 optional :file_id, String |
#filename ⇒ String?
The name of the file, used when passing the file to the model as a string.
64 |
# File 'lib/openai/models/chat/chat_completion_content_part.rb', line 64 optional :filename, String |