Package dev.langchain4j.model.zhipu.chat
Class ChatCompletionChoice
java.lang.Object
dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionChatCompletionChoice
(Integer index, AssistantMessage message, Delta delta, String finishReason) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getDelta()
getIndex()
void
void
setFinishReason
(String finishReason) void
void
setMessage
(AssistantMessage message)
-
Constructor Details
-
ChatCompletionChoice
public ChatCompletionChoice() -
ChatCompletionChoice
public ChatCompletionChoice(Integer index, AssistantMessage message, Delta delta, String finishReason)
-
-
Method Details
-
builder
-
getIndex
-
setIndex
-
getMessage
-
setMessage
-
getDelta
-
setDelta
-
getFinishReason
-
setFinishReason
-