类的使用
io.agentscope.core.tool.Toolkit
使用Toolkit的程序包
程序包
说明
-
io.agentscope.core中Toolkit的使用
返回Toolkit的io.agentscope.core中的方法修饰符和类型方法说明ReActAgent.getToolkit()Returns this agent's toolkit (a per-instance deep copy made at build time).参数类型为Toolkit的io.agentscope.core中的方法修饰符和类型方法说明Sets the toolkit containing available tools for this agent. -
io.agentscope.core.agent中Toolkit的使用
修饰符和类型方法说明default ToolkitAgent.getToolkit()Returns the agent's liveToolkit, ornullif this agent type does not maintain one. -
io.agentscope.core.hook中Toolkit的使用
修饰符和类型方法说明final ToolkitActingEvent.getToolkit()已过时, 待删除: 此 API 元素将从以后的版本中删除。Get the toolkit instance.参数类型为Toolkit的io.agentscope.core.hook中的方法修饰符和类型方法说明reactor.core.publisher.Mono<Void> LegacyHookDispatcher.fireActingChunk(ToolUseBlock toolUse, ToolResultBlock chunk, Toolkit toolkit) 已过时, 待删除: 此 API 元素将从以后的版本中删除。reactor.core.publisher.Mono<PostActingEvent> LegacyHookDispatcher.firePostActing(ToolUseBlock toolUse, ToolResultBlock result, Toolkit toolkit, Msg toolMsg) 已过时, 待删除: 此 API 元素将从以后的版本中删除。reactor.core.publisher.Mono<List<ToolUseBlock>> LegacyHookDispatcher.firePreActing(List<ToolUseBlock> toolCalls, Toolkit toolkit) 已过时, 待删除: 此 API 元素将从以后的版本中删除。参数类型为Toolkit的io.agentscope.core.hook中的构造器限定符构造器说明ActingChunkEvent(Agent agent, Toolkit toolkit, ToolUseBlock toolUse, ToolResultBlock chunk) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Constructor for ActingChunkEvent.protectedActingEvent(HookEventType type, Agent agent, Toolkit toolkit, ToolUseBlock toolUse) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Constructor for ActingEvent.PostActingEvent(Agent agent, Toolkit toolkit, ToolUseBlock toolUse, ToolResultBlock toolResult) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Constructor for PostActingEvent.PreActingEvent(Agent agent, Toolkit toolkit, ToolUseBlock toolUse) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Constructor for PreActingEvent. -
io.agentscope.core.skill中Toolkit的使用
参数类型为Toolkit的io.agentscope.core.skill中的方法修饰符和类型方法说明voidSkillBox.bindToolkit(Toolkit toolkit) Binds a toolkit to the skill box.voidDynamicSkillMiddleware.rebindToolkit(Toolkit toolkit) 参数类型为Toolkit的io.agentscope.core.skill中的构造器限定符构造器说明DynamicSkillMiddleware(List<AgentSkillRepository> repositories, Toolkit toolkit) DynamicSkillMiddleware(List<AgentSkillRepository> repositories, Toolkit toolkit, SkillFilter builderFilter) DynamicSkillMiddleware(List<AgentSkillRepository> repositories, Toolkit toolkit, SkillFilter builderFilter, boolean codeExecutionEnabled, Path workDir) Full constructor.Creates a SkillBox with a toolkit and custom skill prompt instruction. -
io.agentscope.core.tool中Toolkit的使用
参数类型为Toolkit的io.agentscope.core.tool中的方法修饰符和类型方法说明voidToolkitAware.rebindToolkit(Toolkit toolkit) Replace this component's toolkit reference with the given instance. -
io.agentscope.core.tracing中Toolkit的使用
参数类型为Toolkit的io.agentscope.core.tracing中的方法修饰符和类型方法说明default reactor.core.publisher.Mono<ToolResultBlock> Tracer.callTool(Toolkit toolkit, ToolCallParam toolCallParam, Supplier<reactor.core.publisher.Mono<ToolResultBlock>> toolKitCall) 已过时, 待删除: 此 API 元素将从以后的版本中删除。