langchain.js
Preparing search index...
@langchain/community
llms/ibm
WatsonxLLMParams
Interface WatsonxLLMParams
Input to LLM class.
interface
WatsonxLLMParams
{
decodingMethod
?:
string
;
includeStopSequence
?:
boolean
;
lengthPenalty
?:
TextGenLengthPenalty
;
maxNewTokens
?:
number
;
minNewTokens
?:
number
;
randomSeed
?:
number
;
repetitionPenalty
?:
number
;
returnOptions
?:
ReturnOptionProperties
;
stopSequence
?:
string
[]
;
temperature
?:
number
;
timeLimit
?:
number
;
topK
?:
number
;
topP
?:
number
;
truncateInpuTokens
?:
number
;
}
Hierarchy (
View Summary
)
WatsonxLLMParams
WatsonxInputLLM
Index
Properties
decoding
Method?
include
Stop
Sequence?
length
Penalty?
max
New
Tokens?
min
New
Tokens?
random
Seed?
repetition
Penalty?
return
Options?
stop
Sequence?
temperature?
time
Limit?
top
K?
top
P?
truncate
Inpu
Tokens?
Properties
Optional
decoding
Method
decodingMethod
?:
string
Optional
include
Stop
Sequence
includeStopSequence
?:
boolean
Optional
length
Penalty
lengthPenalty
?:
TextGenLengthPenalty
Optional
max
New
Tokens
maxNewTokens
?:
number
Optional
min
New
Tokens
minNewTokens
?:
number
Optional
random
Seed
randomSeed
?:
number
Optional
repetition
Penalty
repetitionPenalty
?:
number
Optional
return
Options
returnOptions
?:
ReturnOptionProperties
Optional
stop
Sequence
stopSequence
?:
string
[]
Optional
temperature
temperature
?:
number
Optional
time
Limit
timeLimit
?:
number
Optional
top
K
topK
?:
number
Optional
top
P
topP
?:
number
Optional
truncate
Inpu
Tokens
truncateInpuTokens
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
decoding
Method
include
Stop
Sequence
length
Penalty
max
New
Tokens
min
New
Tokens
random
Seed
repetition
Penalty
return
Options
stop
Sequence
temperature
time
Limit
top
K
top
P
truncate
Inpu
Tokens
langchain.js
Loading...
Input to LLM class.