InstructionArgs constructor

const InstructionArgs({
  1. Input<GoogleCloudDatalabelingV1beta1CsvInstruction>? csvInstruction,
  2. required Input<InstructionDataType> dataType,
  3. Input<String>? description,
  4. required Input<String> displayName,
  5. Input<GoogleCloudDatalabelingV1beta1PdfInstruction>? pdfInstruction,
  6. Input<String>? project,
})

Creates a new InstructionArgs. csvInstruction Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data. dataType The data type of this instruction. description Optional. User-provided description of the instruction. The description can be up to 10000 characters long. displayName The display name of the instruction. Maximum of 64 characters. pdfInstruction Instruction from a PDF document. The PDF should be in a Cloud Storage bucket. project Optional.

Implementation

const InstructionArgs({
  this.csvInstruction,
  required this.dataType,
  this.description,
  required this.displayName,
  this.pdfInstruction,
  this.project,
});