类的使用
io.agentscope.core.message.SystemMessage.Builder
使用SystemMessage.Builder的程序包
-
io.agentscope.core.message中SystemMessage.Builder的使用
修饰符和类型方法说明static SystemMessage.BuilderSystemMessage.builder()Creates a builder forSystemMessagewith a randomly generated ID and the current timestamp pre-populated.SystemMessage.Builder.content(ContentBlock block) SystemMessage.Builder.content(ContentBlock... blocks) SystemMessage.Builder.content(List<ContentBlock> content) SystemMessage.Builder.generateReason(GenerateReason reason) Unsupported onSystemMessage.Builder: role is fixed to SYSTEM.SystemMessage.Builder.textContent(String text)