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