Struct async_openai::types::CreateFileRequest
source · Fields§
§file: FileInput
Name of the JSON Lines file to be uploaded.
If the purpose
is set to “fine-tune”, each line is a JSON record with “prompt” and “completion” fields representing your training examples.
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.
Trait Implementations§
source§impl Clone for CreateFileRequest
impl Clone for CreateFileRequest
source§fn clone(&self) -> CreateFileRequest
fn clone(&self) -> CreateFileRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateFileRequest
impl Debug for CreateFileRequest
source§impl Default for CreateFileRequest
impl Default for CreateFileRequest
source§fn default() -> CreateFileRequest
fn default() -> CreateFileRequest
Returns the “default value” for a type. Read more