Module: OpenAI::Models::FilePurpose
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/file_purpose.rb
Overview
The intended purpose of the uploaded file. One of: - ‘assistants`: Used in the Assistants API - `batch`: Used in the Batch API - `fine-tune`: Used for fine-tuning - `vision`: Images used for vision fine-tuning - `user_data`: Flexible file type for any purpose - `evals`: Used for eval data sets
Constant Summary collapse
- ASSISTANTS =
:assistants
- BATCH =
:batch
- FINE_TUNE =
:"fine-tune"
- VISION =
:vision
- USER_DATA =
:user_data
- EVALS =
:evals
Class Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, values
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
.values ⇒ Array<Symbol>
|
# File 'lib/openai/models/file_purpose.rb', line 19
|