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