类 SequentialPipeline.Builder
java.lang.Object
io.agentscope.core.pipeline.SequentialPipeline.Builder
- 封闭类:
SequentialPipeline
Builder for creating sequential pipelines with fluent API.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Add an agent to the pipeline.Add multiple agents to the pipeline.build()Build the sequential pipeline.
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
addAgent
Add an agent to the pipeline.- 参数:
agent- Agent to add- 返回:
- This builder for method chaining
-
addAgents
Add multiple agents to the pipeline.- 参数:
agentList- List of agents to add- 返回:
- This builder for method chaining
-
build
Build the sequential pipeline.- 返回:
- Configured sequential pipeline
-