接口的使用
io.agentscope.core.hook.Hook
使用Hook的程序包
程序包
说明
-
io.agentscope.core中Hook的使用
参数类型为Hook的io.agentscope.core中的方法修饰符和类型方法说明Adds a hook for monitoring and intercepting agent execution events.类型变量类型为Hook的io.agentscope.core中的方法参数修饰符和类型方法说明Adds multiple hooks for monitoring and intercepting agent execution events. -
io.agentscope.core.agent中Hook的使用
返回变量类型为Hook的类型的io.agentscope.core.agent中的方法修饰符和类型方法说明AgentBase.getHooks()Get the list of hooks for this agent.AgentBase.getSortedHooks()Get hooks sorted by priority (lower value = higher priority).参数类型为Hook的io.agentscope.core.agent中的方法修饰符和类型方法说明protected voidAdd a hook to this agent dynamically.static voidAgentBase.addSystemHook(Hook hook) protected voidAgentBase.removeHook(Hook hook) Remove a hook from this agent dynamically.static voidAgentBase.removeSystemHook(Hook hook) 类型变量类型为Hook的io.agentscope.core.agent中的构造器参数 -
io.agentscope.core.agent.user中Hook的使用
类型变量类型为Hook的io.agentscope.core.agent.user中的方法参数修饰符和类型方法说明Set the hooks for monitoring agent execution. -
io.agentscope.core.hook.recorder中Hook的使用
-
io.agentscope.core.memory中Hook的使用
-
io.agentscope.core.rag中Hook的使用
-
io.agentscope.core.skill中Hook的使用