public final class
ScoreQuestion
Evaluates an ordered rubric of levels and computes both the most likely rubric level and a
continuous expected score in [0.0, 1.0].
Public Constructors
Public Methods
| String |
getInstructions()
Optional task instructions prepended to the rubric prompt.
|
| List<String> |
getRubric()
Ordered list of rubric levels from lowest (
0.0) to highest (1.0). |
| float |
getTemperature()
Softmax temperature override (
0f uses the model's calibrated default). |
Inherited Methods
Public Constructors
public ScoreQuestion (List<String> rubric)
Creates a ScoreQuestion from an ordered list of rubric levels.
Parameters
| rubric |
|---|
public ScoreQuestion (List<String> rubric, float temperature, String instructions)
Creates a ScoreQuestion.
Parameters
| rubric | Ordered list of rubric levels from lowest (0.0) to highest (1.0). |
|---|---|
| temperature | Softmax temperature override (0f uses the model's calibrated default). |
| instructions | Optional task instructions prepended to the rubric prompt. |
Public Methods
public float getTemperature ()
Softmax temperature override (0f uses the model's calibrated default).