Package dev.langchain4j.model.zhipu.chat
Class ChatCompletionResponse
java.lang.Object
dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorsConstructorDescriptionChatCompletionResponse
(String id, Integer created, String model, List<ChatCompletionChoice> choices, Usage usage) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getId()
getModel()
getUsage()
void
setChoices
(List<ChatCompletionChoice> choices) void
setCreated
(Integer created) void
void
void
-
Constructor Details
-
ChatCompletionResponse
public ChatCompletionResponse()
-
-
Method Details
-
builder
-
getId
-
setId
-
getCreated
-
setCreated
-
getModel
-
setModel
-
getChoices
-
setChoices
-
getUsage
-