Package com.google.genai.types
Class TuningExample
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.TuningExample
A single example for tuning. This data type is not supported in Vertex AI.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TuningExample.Builderbuilder()Instantiates a builder for TuningExample.static TuningExampleDeserializes a JSON string to a TuningExample object.output()Required.Optional.abstract TuningExample.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
TuningExample
public TuningExample()
-
-
Method Details
-
output
Required. The expected model output. -
textInput
Optional. Text model input. -
builder
Instantiates a builder for TuningExample. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a TuningExample object.
-