Package com.google.adk.classifiers
package com.google.adk.classifiers
-
ClassDescriptionA
Classifier's answer to aQuestion: aAnswer.ChoiceAnswer, aAnswer.BinaryAnswer, aAnswer.ScoreAnswer, or aAnswer.RefusalAnswer.The answer to aQuestion.Binaryquestion.Builder forAnswer.BinaryAnswer.The answer to aQuestion.Choicequestion.Builder forAnswer.ChoiceAnswer.The answer to a question that the provider declined to answer.The answer to aQuestion.Scorequestion.Builder forAnswer.ScoreAnswer.A decision model that answers typed questions with probability distributions.Text or structured data that aClassifierreads as the input or as a question's instructions or criteria: plainClassifierContent.Text, or aClassifierContent.JsonObjectorClassifierContent.JsonArray.A JSON array.A JSON object.Plain text.What aClassifieranswers questions about:ClassifierContent(text, or a JSON object or array) or multimodalClassifierInput.Contentparts.Contentinput.A workflow node that routes on a classifier's answer to one question about the node's input: the label aQuestion.Choiceanswer chose, ortrueorfalsefor aQuestion.Binaryanswer, decided byClassifierNode.threshold().Builder forClassifierNode.A request to aClassifierto answer one or more typed questions about an input.The answers that oneClassifier.classify(ClassifierRequest)call produced.Builder forClassifierResponse.Answers typed questions with anyBaseLlmthrough structured output.Builder forLlmClassifier.A typed question that aClassifieranswers: aQuestion.Choice, aQuestion.Binary, or aQuestion.Score.Asks aClassifierfor the probability that a statement is true, answered by aAnswer.BinaryAnswer.Builder forQuestion.Binary.Asks aClassifierto pick one of two or more labels, answered by aAnswer.ChoiceAnswer.Builder forQuestion.Choice.Asks aClassifierto place an input on an ordered rubric starting at level 0, answered by aAnswer.ScoreAnswer.Builder forQuestion.Score.