Package com.google.genai.types
Class ReinforcementTuningUserDatasetExamples
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ReinforcementTuningUserDatasetExamples
Sample reinforcement tuning user data in the training dataset. The contents are truncated for
better UI showing. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ReinforcementTuningUserDatasetExamples. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for ReinforcementTuningUserDatasetExamples.Deserializes a JSON string to a ReinforcementTuningUserDatasetExamples object.Creates a builder with the same values as this instance.abstract Optional<List<ReinforcementTuningExample>>List of user datasset examples showing to user.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
ReinforcementTuningUserDatasetExamples
public ReinforcementTuningUserDatasetExamples()
-
-
Method Details
-
userDatasetExamples
List of user datasset examples showing to user. -
builder
Instantiates a builder for ReinforcementTuningUserDatasetExamples. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ReinforcementTuningUserDatasetExamples object.
-