Uses of Interface
com.google.adk.classifiers.ClassifierContent
Packages that use ClassifierContent
-
Uses of ClassifierContent in com.google.adk.classifiers
Classes in com.google.adk.classifiers that implement ClassifierContentModifier and TypeClassDescriptionstatic final recordA JSON array.static final recordA JSON object.static final recordPlain text.Methods in com.google.adk.classifiers that return ClassifierContentModifier and TypeMethodDescriptionstatic ClassifierContentReturnstextas plain-text content.static ClassifierContentParsesjson, the text of a JSON object or array, into aClassifierContent.JsonObjector aClassifierContent.JsonArray.Methods in com.google.adk.classifiers that return types with arguments of type ClassifierContentModifier and TypeMethodDescriptionabstract Optional<ClassifierContent> Question.Binary.criteria()Returns a description of what counts as true, if set; anything else counts as false.abstract Map<String, @Nullable ClassifierContent> Question.Choice.criteria()Returns each label, in the order it was added, mapped to a description of when it applies, or to null for none.abstract com.google.common.collect.ImmutableList<ClassifierContent> Question.Score.criteria()Returns one description per rubric level, starting at level 0.abstract Optional<ClassifierContent> Question.Binary.instructions()Returns the yes-or-no question, if set.abstract Optional<ClassifierContent> Question.Choice.instructions()Question.instructions()Returns what to decide, if set.abstract Optional<ClassifierContent> Question.Score.instructions()Returns what to rate, if set.Methods in com.google.adk.classifiers with parameters of type ClassifierContentModifier and TypeMethodDescriptionabstract Question.Binary.BuilderQuestion.Binary.Builder.criteria(@Nullable ClassifierContent criteria) final Question.Choice.BuilderQuestion.Choice.Builder.criterion(String label, @Nullable ClassifierContent description) Addslabelwithdescription, which may be null.abstract Question.Binary.BuilderQuestion.Binary.Builder.instructions(@Nullable ClassifierContent instructions) final Question.Choice.BuilderQuestion.Choice.Builder.instructions(@Nullable ClassifierContent instructions) abstract Question.Score.BuilderQuestion.Score.Builder.instructions(@Nullable ClassifierContent instructions) Method parameters in com.google.adk.classifiers with type arguments of type ClassifierContentModifier and TypeMethodDescriptionfinal Question.Choice.BuilderQuestion.Choice.Builder.criteria(Map<String, ? extends @Nullable ClassifierContent> criteria) Sets every label and its description, replacing any previously set labels.abstract Question.Score.BuilderQuestion.Score.Builder.criteria(List<? extends ClassifierContent> criteria) Sets the description of each rubric level, starting at level 0.