枚举类(Enum Class)的用途
com.google.adk.agents.AgentMode

Packages that use AgentMode
Package
Description
 
  • **用途:** AgentMode 在……里面;处于……状态 com.google.adk.agents

    Subclasses with type arguments of type AgentMode in com.google.adk.agents
    Modifier and Type
    Class
    Description
    enum 
    “How an…” 这个短语通常用于引出对某个过程、方法或原理的描述或解释。例如:“How an engine works”(发动机是如何工作的)。不过,由于您没有提供具体的上下文或内容,我无法给出更完整的翻译或解释。如果您能提供更多的信息,我会很高兴为您提供更准确的帮助。 LlmAgent 当它作为工作流节点运行时,可以执行转换(即对数据进行处理或格式化)。
    Methods in com.google.adk.agents that return AgentMode
    Modifier and Type
    Method
    Description
    static AgentMode
    AgentMode.valueOf(String name)
    返回该类中具有指定名称的枚举常量。
    static AgentMode[]
    AgentMode.values()
    返回一个数组,其中包含该枚举类中的所有常量,并按照它们被声明的顺序排列。
    Methods in com.google.adk.agents that return types with arguments of type AgentMode
    Modifier and Type
    Method
    Description
    InvocationContext.agentMode(BaseAgent agent)
    返回该数据集的“模式”(即数据集中各类别出现的频率)。 agent 在这种情况下,它作为工作流(workflow)中的一个节点来运行;如果没有工作流,则该节点为空。
    LlmAgent.mode()
    该参数用于指示该代理在作为工作流节点运行时的对话方式;如果没有指定具体的对话模式,则返回空值。
    Methods in com.google.adk.agents with parameters of type AgentMode
    Modifier and Type
    Method
    Description
    LlmAgent.Builder.mode(AgentMode mode)
    该设置决定了该代理在作为工作流节点运行时如何进行对话(即如何与用户或其他系统进行交互)。