类的用途(Uses of the Class)
com.google.adk.agents.Context

Packages that use Context
  • **用途:** 上下文(Context) 在……里面;处于……状态 com.google.adk.agents

    Modifier and Type
    Class
    Description
    class 
    代理调用过程中各种回调函数的上下文信息。
    Methods in com.google.adk.agents with parameters of type Context
    Modifier and Type
    Method
    Description
    io.reactivex.rxjava3.core.Flowable<Event>
    BaseAgent.runNode(Context context, @Nullable Object nodeInput)
    将该代理作为工作流中的一个节点来运行,并将其部署在该节点的分支上;这样,后续的节点就能够接收到该代理产生的事件(即数据或信号)。
    io.reactivex.rxjava3.core.Flowable<Event>
    LlmAgent.runNode(Context context, @Nullable Object nodeInput)
    将此代理作为工作流节点来运行。
  • **用途:** 上下文(Context) 在……里面;处于……状态 com.google.adk.classifiers

    Methods in com.google.adk.classifiers with parameters of type Context
    Modifier and Type
    Method
    Description
    io.reactivex.rxjava3.core.Flowable<?>
    ClassifierNode.runNode(Context context, @Nullable Object nodeInput)
    对……进行分类;对……进行归类 nodeInput 并将结果与该路由一起输出。
  • **用途:** 上下文(Context) 在……里面;处于……状态 com.google.adk.tools

    Subclasses of Context in com.google.adk.tools
    Modifier and Type
    Class
    Description
    class 
    `ToolContext` 对象为执行工具或函数提供了结构化的上下文环境。
  • **用途:** 上下文(Context) 在……里面;处于……状态 com.google.adk.workflow

    Methods in com.google.adk.workflow that return types with arguments of type Context
    Modifier and Type
    Method
    Description
    NodeExecutionState.parent()
    返回执行该节点的节点的上下文信息;如果当前节点是根节点,则返回空值。
    Methods in com.google.adk.workflow with parameters of type Context
    Modifier and Type
    Method
    Description
    @Nullable O
    NodeBody.apply(Context context, @Nullable I input)
    返回值 null 由于没有输出结果,因此……(“an”在这里似乎是一个多余的字符或拼写错误;如果“an”是故意使用的,那么句子的意思可能是:“由于没有输出结果,因此……”) Event 可以以 JSON 格式发送任何输出结果,或者 直接以 JSON 格式发送输出结果;返回的结果也是以 JSON 格式提供的。 Content 输出结果(output)是一个数据或信息,而不是一个消息(message)。
    static io.reactivex.rxjava3.core.Maybe<Object>
    NodeRunner.runChild(Context parent, Node node, @Nullable Object nodeInput, RunNodeConfig config)
    运行 node 作为那个节点的“子节点”(即该节点的直接下属节点),其上下文(context)为…… parent, as Context.runNode(Node, Object, RunNodeConfig) 该描述说明了产品的功能或特性。
    io.reactivex.rxjava3.core.Flowable<?>
    FunctionNode.runNode(Context context, @Nullable Object nodeInput)
     
    io.reactivex.rxjava3.core.Flowable<?>
    JoinNode.runNode(Context context, @Nullable Object nodeInput)
    它会原样输出输入内容;如果输入值为 `null`,则什么也不会输出。
    io.reactivex.rxjava3.core.Flowable<?>
    Node.runNode(Context context, @Nullable Object nodeInput)
    在……上运行该节点。 nodeInput它从自己的“前身”(即那些处理数据的前级系统)那里接收输出结果。
    io.reactivex.rxjava3.core.Flowable<?>
    Start.runNode(Context context, @Nullable Object nodeInput)
     
    io.reactivex.rxjava3.core.Flowable<?>
    Workflow.runNode(Context context, @Nullable Object nodeInput)
    从图的起始节点开始执行该图;该起始节点负责将数据传递给后续的处理节点。 nodeInput (该权利/财产等)将移交给其后继者。
    boolean
    ConfirmationPredicate.test(Context context, @Nullable I input)
    该函数用于判断当前运行过程是否会在程序主体执行之前要求用户进行批准。