Enum Class AgentMode

java.lang.Object
java.lang.Enum<AgentMode>
com.google.adk.agents.AgentMode
All Implemented Interfaces:
Serializable, Comparable<AgentMode>, Constable

@Experimental public enum AgentMode extends Enum<AgentMode>
“How an…” 这个短语通常用于引出对某个过程、方法或原理的描述或解释。例如:“How an engine works”(发动机是如何工作的)。不过,由于您没有提供具体的上下文或内容,我无法给出更完整的翻译或解释。如果您能提供更多的信息,我会很高兴为您提供更准确的帮助。 LlmAgent 当它作为工作流节点运行时,可以执行转换(即对数据进行处理或格式化)。
  • 枚举常量详细信息

    • SINGLE_TURN

      public static final AgentMode SINGLE_TURN
      根据用户的输入提供相应的答案,无需与用户进行任何对话。
  • 方法详细信息(Method Details)

    • values

      public static AgentMode[] values()
      返回一个数组,其中包含该枚举类中的所有常量,并按照它们被声明的顺序排列。
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AgentMode valueOf(String name)
      返回该类中具有指定名称的枚举常量。 该字符串必须与指定的名称完全匹配。 确切地;准确地 这是一个用于在该类中声明枚举常量的标识符。(不允许使用多余的空白字符。)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null