接口相关问题(Interface Question)
- All Known Implementing Classes:
Question.Binary, Question.Choice, Question.Score
@Experimental
public sealed interface Question
permits Question.Choice, Question.Binary, Question.Score
这是一个用户输入的、经过格式化的问题(即用户输入的内容已经被转换为某种特定的格式或结构)。
Classifier answers: a Question.Choice, a Question.Binary,或者一个
Question.Score它的使用说明和评判标准是…… ClassifierContent:可以是文本,也可以是 JSON 对象或数组。
ADK对象映射器(ADK Object Mapper)JsonBaseModel.getMapper()该功能可以使用 Python 读取和写入 ADK 的 JSON 格式数据;在 JSON 数据中,每种问题类型都会被明确地标识出来。 type `field`。
-
嵌套类概述
Nested ClassesModifier and TypeInterfaceDescriptionstatic class询问一个……Classifier用于表示某个陈述为“真”的概率;该概率是通过某种方式(例如调查、实验等)得出的。Answer.BinaryAnswer.static class询问一个……Classifier从两个或多个标签中选择一个;该问题由……回答。Answer.ChoiceAnswer.static class询问一个……Classifier要将某个输入项放置在按等级顺序排列的评分标准中(该评分标准从第 0 级开始),并且该输入项是由某人回答的……Answer.ScoreAnswer. -
方法概述
Modifier and TypeMethodDescription如果该参数被设置了,它会返回需要做出决策的具体内容。
-
方法详细信息(Method Details)
-
instructions
Optional<ClassifierContent> instructions()如果该参数被设置了,它会返回需要做出决策的具体内容。
-