枚举类的使用
io.agentscope.core.interruption.InterruptSource
使用InterruptSource的程序包
-
io.agentscope.core中InterruptSource的使用
参数类型为InterruptSource的io.agentscope.core中的方法 -
io.agentscope.core.agent中InterruptSource的使用
参数类型为InterruptSource的io.agentscope.core.agent中的方法修饰符和类型方法说明voidAgentBase.interrupt(InterruptSource source) 已过时。Subclasses should implement per-session interrupt via RuntimeContext. -
io.agentscope.core.interruption中InterruptSource的使用
修饰符和类型方法说明InterruptContext.getSource()Get the source of the interruption.InterruptControl.getSource()static InterruptSource返回带有指定名称的该类的枚举常量。static InterruptSource[]InterruptSource.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明InterruptContext.Builder.source(InterruptSource source) Set the source of the interruption.voidInterruptControl.trigger(InterruptSource src, Msg msg) Raise the interrupt signal.
ReActAgent.interrupt(String, String)with explicit userId/sessionId.