io.github.sashirestela.openai.domain.finetuning.FineTuning Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-openai Show documentation
Show all versions of simple-openai Show documentation
A Java library to use the OpenAI API in the simplest possible way.
package io.github.sashirestela.openai.domain.finetuning;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.util.List;
@NoArgsConstructor
@Getter
@ToString
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class FineTuning {
private String id;
private Long createdAt;
private FineTuningError error;
private String fineTunedModel;
private Long finishedAt;
private HyperParams hyperparameters;
private String model;
private String object;
private String organizationId;
private List resultFiles;
private String status;
private Integer trainedTokens;
private String trainingFile;
private String validationFile;
private List integrations;
private Integer seed;
private Integer estimatedFinish;
@NoArgsConstructor
@Getter
@ToString
public static class FineTuningError {
private String code;
private String message;
private String param;
}
}