Class ScoreQuestion
java.lang.Object
com.google.genai.gaos.models.decisions.ScoreQuestion
- All Implemented Interfaces:
Question
ScoreQuestion
A quantitative rubric scoring question over discrete numeric levels.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionScoreQuestion(List<String> criteria, ScoreQuestionInstructions instructions) -
Method Summary
Modifier and TypeMethodDescriptionstatic ScoreQuestion.Builderbuilder()criteria()Required.booleaninthashCode()Required.toString()type()withCriteria(List<String> criteria) Required.withInstructions(ScoreQuestionInstructions instructions) Required.
-
Constructor Details
-
ScoreQuestion
public ScoreQuestion(@Nonnull List<String> criteria, @Nonnull ScoreQuestionInstructions instructions)
-
-
Method Details
-
criteria
Required. Discrete score levels in the rubric (between 2 and 255 non-empty levels), where 0-based index `i` corresponds to numeric level value `i` and rubric description `criteria[i]`. -
instructions
Required. Human-readable decision guidelines, rubrics, or criteria evaluated against the shared `input`. At least one content block is required. -
type
-
builder
-
withCriteria
Required. Discrete score levels in the rubric (between 2 and 255 non-empty levels), where 0-based index `i` corresponds to numeric level value `i` and rubric description `criteria[i]`. -
withInstructions
Required. Human-readable decision guidelines, rubrics, or criteria evaluated against the shared `input`. At least one content block is required. -
equals
-
hashCode
public int hashCode() -
toString
-