Skip to content

Commit

Permalink
ResponseStringMarshaller - adjustments for the new FineTuneJob
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbanda committed Sep 27, 2023
1 parent b5548db commit 22e9dfa
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ trait ResponseStringMarshaller {
|-fine-tune model: ${fileInfo.fine_tuned_model.getOrElse("N/A")}
|-organization id: ${fileInfo.organization_id}
|-status: ${fileInfo.status}
|-training files:\n${fileInfo.training_files.map(fileInfoToString).mkString("\n")}
|-validation files:\n${fileInfo.validation_files.map(fileInfoToString).mkString("\n")}
|-result files:\n${fileInfo.result_files.map(fileInfoToString).mkString("\n")}
|-training file: ${fileInfo.training_file}
|-validation file: ${fileInfo.validation_file.getOrElse("N/A")}
|-result files: ${fileInfo.result_files.mkString(",")}
|-error: ${fileInfo.error.getOrElse("N/A")}
""".stripMargin

def fileInfoToString(fileInfo: FileInfo): String =
Expand Down

0 comments on commit 22e9dfa

Please sign in to comment.