Class BestOfSequence
java.lang.Object
org.springframework.ai.huggingface.model.BestOfSequence
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2024-12-24T16:12:56.524421357Z[Etc/UTC]")
public class BestOfSequence
extends Object
BestOfSequence
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPrefillItem
(PrefillToken prefillItem) addTokensItem
(Token tokensItem) boolean
finishReason
(FinishReason finishReason) generatedText
(String generatedText) generatedTokens
(Integer generatedTokens) Get finishReasonGet generatedTextGet generatedTokens minimum: 0Get prefillgetSeed()
Get seed minimum: 0Get tokensint
hashCode()
prefill
(List<PrefillToken> prefill) void
setFinishReason
(FinishReason finishReason) void
setGeneratedText
(String generatedText) void
setGeneratedTokens
(Integer generatedTokens) void
setPrefill
(List<PrefillToken> prefill) void
void
toString()
-
Constructor Details
-
BestOfSequence
public BestOfSequence()
-
-
Method Details
-
finishReason
-
getFinishReason
Get finishReason- Returns:
- finishReason
-
setFinishReason
-
generatedText
-
getGeneratedText
Get generatedText- Returns:
- generatedText
-
setGeneratedText
-
generatedTokens
-
getGeneratedTokens
Get generatedTokens minimum: 0- Returns:
- generatedTokens
-
setGeneratedTokens
-
prefill
-
addPrefillItem
-
getPrefill
Get prefill- Returns:
- prefill
-
setPrefill
-
seed
-
getSeed
Get seed minimum: 0- Returns:
- seed
-
setSeed
-
tokens
-
addTokensItem
-
getTokens
Get tokens- Returns:
- tokens
-
setTokens
-
equals
-
hashCode
public int hashCode() -
toString
-