Uses of Enum Class
org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionFinishReason
-
Uses of ZhiPuAiApi.ChatCompletionFinishReason in org.springframework.ai.zhipuai.api
Modifier and TypeMethodDescriptionZhiPuAiApi.ChatCompletion.Choice.finishReason()
Returns the value of thefinishReason
record component.ZhiPuAiApi.ChatCompletionChunk.ChunkChoice.finishReason()
Returns the value of thefinishReason
record component.Returns the enum constant of this class with the specified name.ZhiPuAiApi.ChatCompletionFinishReason.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionChoice
(ZhiPuAiApi.ChatCompletionFinishReason finishReason, Integer index, ZhiPuAiApi.ChatCompletionMessage message, ZhiPuAiApi.LogProbs logprobs) Creates an instance of aChoice
record class.ChunkChoice
(ZhiPuAiApi.ChatCompletionFinishReason finishReason, Integer index, ZhiPuAiApi.ChatCompletionMessage delta, ZhiPuAiApi.LogProbs logprobs) Creates an instance of aChunkChoice
record class.