trainingFile property

  1. @JsonKey(name: 'training_file')
String get trainingFile
inherited

The ID of an uploaded file that contains training data. See upload file for how to upload a file.

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.

Implementation

@JsonKey(name: 'training_file')
String get trainingFile => throw _privateConstructorUsedError;