Class SupervisorPlanner
java.lang.Object
com.google.adk.planner.SupervisorPlanner
- All Implemented Interfaces:
Planner
-
构造函数概述
ConstructorsConstructorDescriptionSupervisorPlanner(BaseLlm llm) SupervisorPlanner(BaseLlm llm, String systemInstruction) SupervisorPlanner(BaseLlm llm, String systemInstruction, int maxEvents) -
方法概述
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<PlannerAction> firstAction(PlanningContext context) 请选择要执行的第一个操作。io.reactivex.rxjava3.core.Single<PlannerAction> nextAction(PlanningContext context) 根据更新后的状态和事件,选择下一步要执行的操作。Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Planner
initModifier and TypeMethodDescriptiondefault voidinit(PlanningContext context) 使用上下文信息及可用的代理来初始化规划器。
-
构造函数详细信息
-
SupervisorPlanner
-
SupervisorPlanner
-
SupervisorPlanner
-
-
方法详细信息(Method Details)
-
firstAction
-
nextAction
-