类的使用
io.agentscope.core.agent.AgentBase
使用AgentBase的程序包
程序包
说明
-
io.agentscope.core中AgentBase的使用
-
io.agentscope.core.agent中AgentBase的使用
修饰符和类型类说明classAbstract base class for agents that support structured output generation.类型变量类型为AgentBase的io.agentscope.core.agent中的方法参数修饰符和类型方法说明voidAgentBase.resetSubscribers(String hubId, List<AgentBase> subscribers) Reset the subscriber list for a specific MsgHub. -
io.agentscope.core.agent.user中AgentBase的使用
修饰符和类型类说明classUserAgent class for handling user interaction within the agent framework. -
io.agentscope.core.pipeline中AgentBase的使用
返回变量类型为AgentBase的类型的io.agentscope.core.pipeline中的方法修饰符和类型方法说明FanoutPipeline.getAgents()Get the list of agents in this pipeline.SequentialPipeline.getAgents()Get the list of agents in this pipeline.MsgHub.getParticipants()Get the list of current participants.参数类型为AgentBase的io.agentscope.core.pipeline中的方法修饰符和类型方法说明reactor.core.publisher.Mono<Void> Add new participants to this hub.Add an agent to the pipeline.Add an agent to the pipeline.reactor.core.publisher.Mono<Void> Remove participants from this hub.MsgHub.Builder.participants(AgentBase... participants) Set the participants for this MsgHub.类型变量类型为AgentBase的io.agentscope.core.pipeline中的方法参数修饰符和类型方法说明reactor.core.publisher.Mono<Void> Add new participants to this hub.Add multiple agents to the pipeline.Add multiple agents to the pipeline.static FanoutPipelinePipelines.createFanout(List<AgentBase> agents) Create a reusable fanout pipeline with concurrent execution.static FanoutPipelinePipelines.createFanoutSequential(List<AgentBase> agents) Create a reusable fanout pipeline with sequential execution.static SequentialPipelinePipelines.createSequential(List<AgentBase> agents) Create a reusable sequential pipeline.reactor.core.publisher.Mono<Void> Remove participants from this hub.Execute agents in a fanout pipeline with concurrent execution and no input.Execute agents in a fanout pipeline with concurrent execution.Execute agents in a fanout pipeline with concurrent execution and structured output.Execute agents in a fanout pipeline with concurrent execution, structured output, and no input.Pipelines.fanoutSequential(List<AgentBase> agents) Execute agents in a fanout pipeline with sequential execution and no input.Pipelines.fanoutSequential(List<AgentBase> agents, Msg input) Execute agents in a fanout pipeline with sequential execution.Pipelines.fanoutSequential(List<AgentBase> agents, Msg input, Class<?> structuredOutputClass) Execute agents in a fanout pipeline with sequential execution and structured output.Pipelines.fanoutSequential(List<AgentBase> agents, Class<?> structuredOutputClass) Execute agents in a fanout pipeline with sequential execution, structured output, and no input.MsgHub.Builder.participants(List<AgentBase> participants) Set the participants for this MsgHub.static reactor.core.publisher.Mono<Msg> Pipelines.sequential(List<AgentBase> agents) Execute agents in a sequential pipeline with no initial input.static reactor.core.publisher.Mono<Msg> Pipelines.sequential(List<AgentBase> agents, Msg input) Execute agents in a sequential pipeline.static reactor.core.publisher.Mono<Msg> Pipelines.sequential(List<AgentBase> agents, Msg input, Class<?> structuredOutputClass) Execute agents in a sequential pipeline with structured output.static reactor.core.publisher.Mono<Msg> Pipelines.sequential(List<AgentBase> agents, Class<?> structuredOutputClass) Execute agents in a sequential pipeline with structured output and no initial input.类型变量类型为AgentBase的io.agentscope.core.pipeline中的构造器参数限定符构造器说明FanoutPipeline(List<AgentBase> agents) Create a fanout pipeline with concurrent execution enabled by default.FanoutPipeline(List<AgentBase> agents, boolean enableConcurrent) Create a fanout pipeline with the specified agents and execution mode.FanoutPipeline(List<AgentBase> agents, boolean enableConcurrent, reactor.core.scheduler.Scheduler scheduler) Create a fanout pipeline with the specified agents, execution mode and scheduler.SequentialPipeline(List<AgentBase> agents) Create a sequential pipeline with the specified agents. -
io.agentscope.core.tracing中AgentBase的使用
参数类型为AgentBase的io.agentscope.core.tracing中的方法