Class Question.Score
java.lang.Object
com.google.adk.classifiers.Question.Score
- All Implemented Interfaces:
Question
- Enclosing interface:
Question
Asks a
Classifier to place an input on an ordered rubric starting at level 0, answered
by a Answer.ScoreAnswer.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Question
Question.Binary, Question.Choice, Question.ScoreModifier and TypeInterfaceDescriptionstatic classAsks aClassifierfor the probability that a statement is true, answered by aAnswer.BinaryAnswer.static classAsks aClassifierto pick one of two or more labels, answered by aAnswer.ChoiceAnswer.static classAsks aClassifierto place an input on an ordered rubric starting at level 0, answered by aAnswer.ScoreAnswer. -
Method Summary
Modifier and TypeMethodDescriptionstatic Question.Score.Builderbuilder()abstract com.google.common.collect.ImmutableList<ClassifierContent> criteria()Returns one description per rubric level, starting at level 0.abstract Optional<ClassifierContent> Returns what to rate, if set.abstract Question.Score.Builder
-
Method Details
-
instructions
Returns what to rate, if set.- Specified by:
instructionsin interfaceQuestion
-
criteria
Returns one description per rubric level, starting at level 0. There are at least two levels. -
builder
-
toBuilder
-