trainingFile

@SerialName(value = "training_file")
val trainingFile: FileId

The ID of an uploaded file that contains training data.

Your dataset must be formatted as a JSONL file, where each training example is a JSON object with the keys prompt and completion. Additionally, you must upload your file with the purpose fine-tune.