Uses of Enum Class
org.springframework.ai.openai.api.OpenAiApi.ChatCompletionFinishReason
Packages that use OpenAiApi.ChatCompletionFinishReason
-
Uses of OpenAiApi.ChatCompletionFinishReason in org.springframework.ai.openai.api
Methods in org.springframework.ai.openai.api that return OpenAiApi.ChatCompletionFinishReasonModifier and TypeMethodDescriptionOpenAiApi.ChatCompletion.Choice.finishReason()Returns the value of thefinishReasonrecord component.OpenAiApi.ChatCompletionChunk.ChunkChoice.finishReason()Returns the value of thefinishReasonrecord component.Returns the enum constant of this class with the specified name.static OpenAiApi.ChatCompletionFinishReason[]OpenAiApi.ChatCompletionFinishReason.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.springframework.ai.openai.api with parameters of type OpenAiApi.ChatCompletionFinishReasonModifierConstructorDescriptionChoice(OpenAiApi.ChatCompletionFinishReason finishReason, Integer index, OpenAiApi.ChatCompletionMessage message, OpenAiApi.LogProbs logprobs) Creates an instance of aChoicerecord class.ChunkChoice(OpenAiApi.ChatCompletionFinishReason finishReason, Integer index, OpenAiApi.ChatCompletionMessage delta, OpenAiApi.LogProbs logprobs) Creates an instance of aChunkChoicerecord class.