Class Details
java.lang.Object
org.springframework.ai.huggingface.model.Details
- Direct Known Subclasses:
AllOfGenerateResponseDetails
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2024-03-12T15:00:59.645979611-04:00[America/New_York]")
public class Details
extends Object
Details
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddBestOfSequencesItem
(BestOfSequence bestOfSequencesItem) addPrefillItem
(PrefillToken prefillItem) addTokensItem
(Token tokensItem) bestOfSequences
(List<BestOfSequence> bestOfSequences) boolean
finishReason
(FinishReason finishReason) generatedTokens
(Integer generatedTokens) Get bestOfSequencesGet finishReasonGet generatedTokens minimum: 0Get prefillgetSeed()
Get seed minimum: 0Get tokensint
hashCode()
prefill
(List<PrefillToken> prefill) void
setBestOfSequences
(List<BestOfSequence> bestOfSequences) void
setFinishReason
(FinishReason finishReason) void
setGeneratedTokens
(Integer generatedTokens) void
setPrefill
(List<PrefillToken> prefill) void
void
toString()
-
Constructor Details
-
Details
public Details()
-
-
Method Details
-
bestOfSequences
-
addBestOfSequencesItem
-
getBestOfSequences
Get bestOfSequences- Returns:
- bestOfSequences
-
setBestOfSequences
-
finishReason
-
getFinishReason
Get finishReason- Returns:
- finishReason
-
setFinishReason
-
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
-