UploadFile class

Constructors

UploadFile({required EditFile file, String purpose = 'fine-tune'})

Properties

file EditFile
Name of the JSON Lines file to be uploaded. If the is set to "fine-tune", each line is a JSON record with "prompt" and "completion" fields representing your training examples.purpose. file
final
hashCode int
The hash code for this object.
no setterinherited
purpose String
The intended purpose of the uploaded documents. Use "fine-tune" for Fine-tuning. This allows us to validate the format of the uploaded file.purpose
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getForm() Future<FormData>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited