Uses of Enum Class
ai.vespa.llm.completion.Completion.FinishReason
Packages that use Completion.FinishReason
Package
Description
-
Uses of Completion.FinishReason in ai.vespa.llm
Methods in ai.vespa.llm that return types with arguments of type Completion.FinishReasonModifier and TypeMethodDescriptionLanguageModel.completeAsync(Prompt prompt, InferenceParameters options, Consumer<Completion> consumer) -
Uses of Completion.FinishReason in ai.vespa.llm.client.openai
Methods in ai.vespa.llm.client.openai that return types with arguments of type Completion.FinishReasonModifier and TypeMethodDescriptionOpenAiClient.completeAsync(Prompt prompt, InferenceParameters options, Consumer<Completion> consumer) -
Uses of Completion.FinishReason in ai.vespa.llm.completion
Methods in ai.vespa.llm.completion that return Completion.FinishReasonModifier and TypeMethodDescriptionCompletion.finishReason()Returns the reason this completion ended.static Completion.FinishReasonReturns the enum constant of this class with the specified name.static Completion.FinishReason[]Completion.FinishReason.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in ai.vespa.llm.completion with parameters of type Completion.FinishReasonModifier and TypeMethodDescriptionstatic CompletionCompletion.from(String text, Completion.FinishReason reason) Constructors in ai.vespa.llm.completion with parameters of type Completion.FinishReasonModifierConstructorDescriptionCompletion(String text, Completion.FinishReason finishReason) Creates an instance of aCompletionrecord class. -
Uses of Completion.FinishReason in ai.vespa.llm.test
Methods in ai.vespa.llm.test that return types with arguments of type Completion.FinishReasonModifier and TypeMethodDescriptionMockLanguageModel.completeAsync(Prompt prompt, InferenceParameters options, Consumer<Completion> action)