类的使用
io.agentscope.core.pipeline.MsgHub.Builder
使用MsgHub.Builder的程序包
-
io.agentscope.core.pipeline中MsgHub.Builder的使用
修饰符和类型方法说明MsgHub.Builder.announcement(Msg... announcement) Set announcement messages to broadcast when entering the hub.MsgHub.Builder.announcement(List<Msg> announcement) Set announcement messages to broadcast when entering the hub.static MsgHub.BuilderMsgHub.builder()Create a new MsgHub builder.MsgHub.Builder.enableAutoBroadcast(boolean enable) Enable or disable automatic broadcasting.Set the name of this MsgHub.MsgHub.Builder.participants(AgentBase... participants) Set the participants for this MsgHub.MsgHub.Builder.participants(List<AgentBase> participants) Set the participants for this MsgHub.