Class GenerateParameters
java.lang.Object
org.springframework.ai.huggingface.model.GenerateParameters
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2024-11-21T07:22:04.905094616Z[Etc/UTC]")
public class GenerateParameters
extends Object
GenerateParameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddStopItem
(String stopItem) decoderInputDetails
(Boolean decoderInputDetails) boolean
Get bestOf minimum: 0Get maxNewTokens minimum: 0Get repetitionPenaltygetSeed()
Get seed minimum: 0getStop()
Get stopGet temperaturegetTopK()
Get topKgetTopP()
Get topP maximum: 1Get truncate minimum: 0Get typicalP maximum: 1int
hashCode()
Get decoderInputDetailsGet detailsGet doSampleGet returnFullTextGet watermarkmaxNewTokens
(Integer maxNewTokens) repetitionPenalty
(Float repetitionPenalty) returnFullText
(Boolean returnFullText) void
void
setDecoderInputDetails
(Boolean decoderInputDetails) void
setDetails
(Boolean details) void
setDoSample
(Boolean doSample) void
setMaxNewTokens
(Integer maxNewTokens) void
setRepetitionPenalty
(Float repetitionPenalty) void
setReturnFullText
(Boolean returnFullText) void
void
void
setTemperature
(Float temperature) void
void
void
setTruncate
(Integer truncate) void
setTypicalP
(Float typicalP) void
setWatermark
(Boolean watermark) temperature
(Float temperature) toString()
-
Constructor Details
-
GenerateParameters
public GenerateParameters()
-
-
Method Details
-
bestOf
-
getBestOf
Get bestOf minimum: 0- Returns:
- bestOf
-
setBestOf
-
decoderInputDetails
-
isDecoderInputDetails
Get decoderInputDetails- Returns:
- decoderInputDetails
-
setDecoderInputDetails
-
details
-
isDetails
Get details- Returns:
- details
-
setDetails
-
doSample
-
isDoSample
Get doSample- Returns:
- doSample
-
setDoSample
-
maxNewTokens
-
getMaxNewTokens
Get maxNewTokens minimum: 0- Returns:
- maxNewTokens
-
setMaxNewTokens
-
repetitionPenalty
-
getRepetitionPenalty
Get repetitionPenalty- Returns:
- repetitionPenalty
-
setRepetitionPenalty
-
returnFullText
-
isReturnFullText
Get returnFullText- Returns:
- returnFullText
-
setReturnFullText
-
seed
-
getSeed
Get seed minimum: 0- Returns:
- seed
-
setSeed
-
stop
-
addStopItem
-
getStop
Get stop- Returns:
- stop
-
setStop
-
temperature
-
getTemperature
Get temperature- Returns:
- temperature
-
setTemperature
-
topK
-
getTopK
Get topK- Returns:
- topK
-
setTopK
-
topP
-
getTopP
Get topP maximum: 1- Returns:
- topP
-
setTopP
-
truncate
-
getTruncate
Get truncate minimum: 0- Returns:
- truncate
-
setTruncate
-
typicalP
-
getTypicalP
Get typicalP maximum: 1- Returns:
- typicalP
-
setTypicalP
-
watermark
-
isWatermark
Get watermark- Returns:
- watermark
-
setWatermark
-
equals
-
hashCode
public int hashCode() -
toString
-