类的使用
io.agentscope.core.model.ChatResponse.Builder
使用ChatResponse.Builder的程序包
-
io.agentscope.core.model中ChatResponse.Builder的使用
修饰符和类型方法说明static ChatResponse.BuilderChatResponse.builder()Creates a new builder for ChatResponse.ChatResponse.Builder.content(List<ContentBlock> content) Sets the content blocks for the response.ChatResponse.Builder.finishReason(String finishReason) Sets the finish reason for the response.Sets the response identifier.Sets the metadata for the response.Sets the usage information for the response.