Send feedback
ScoreQuestion
Stay organized with collections
Save and categorize content based on your preferences.
Configuration for evaluating an ordered rubric of levels and computing a continuous expected score in [0.0, 1.0] with DecisionMaker .
Public Constructors
ScoreQuestion (
List <
String > rubric, float temperature,
String instructions)
Creates a ScoreQuestion with an ordered list of rubric level descriptions.
Public Methods
List <String >
getRubric ()
Returns the ordered list of rubric levels from lowest (0.0) to highest (1.0).
float
String
getInstructions ()
Returns the optional task instructions prepended to the rubric prompt.
Inherited Methods
From class
java.lang.Object
boolean
final Class <?>
getClass ()
int
hashCode ()
final void
notify ()
final void
notifyAll ()
String
toString ()
final void
wait (long arg0, int arg1)
final void
wait (long arg0)
final void
wait ()
Public Constructors
public
ScoreQuestion
(List <String > rubric, float temperature, String instructions)
Creates a ScoreQuestion with an ordered list of rubric level descriptions.
Public Methods
public List <String >
getRubric
()
Returns the ordered list of rubric levels from lowest (0.0) to highest (1.0).
public float
getTemperature
()
Returns the softmax temperature override.
public String
getInstructions
()
Returns the optional task instructions prepended to the rubric prompt.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-05 UTC."],[],[]]