Class TunedModelInfo

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.TunedModelInfo

public abstract class TunedModelInfo extends JsonSerializable
A tuned machine learning model.
  • Constructor Details

    • TunedModelInfo

      public TunedModelInfo()
  • Method Details

    • baseModel

      public abstract Optional<String> baseModel()
      ID of the base model that you want to tune.
    • createTime

      public abstract Optional<Instant> createTime()
      Date and time when the base model was created.
    • updateTime

      public abstract Optional<Instant> updateTime()
      Date and time when the base model was last updated.
    • builder

      public static TunedModelInfo.Builder builder()
      Instantiates a builder for TunedModelInfo.
    • toBuilder

      public abstract TunedModelInfo.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static TunedModelInfo fromJson(String jsonString)
      Deserializes a JSON string to a TunedModelInfo object.