langchain.js
Preparing search index...
@langchain/community
llms/ai21
AI21Input
Interface AI21Input
Interface for AI21 input parameters.
interface
AI21Input
{
ai21ApiKey
?:
string
;
baseUrl
?:
string
;
countPenalty
?:
AI21PenaltyData
;
frequencyPenalty
?:
AI21PenaltyData
;
logitBias
?:
Record
<
string
,
number
>
;
maxTokens
?:
number
;
minTokens
?:
number
;
model
?:
string
;
numResults
?:
number
;
presencePenalty
?:
AI21PenaltyData
;
stop
?:
string
[]
;
temperature
?:
number
;
topP
?:
number
;
}
Hierarchy (
View Summary
)
BaseDynamicToolInput
AI21Input
Implemented by
AI21
Index
Properties
ai21
Api
Key?
base
Url?
count
Penalty?
frequency
Penalty?
logit
Bias?
max
Tokens?
min
Tokens?
model?
num
Results?
presence
Penalty?
stop?
temperature?
top
P?
Properties
Optional
ai21
Api
Key
ai21ApiKey
?:
string
Optional
base
Url
baseUrl
?:
string
Optional
count
Penalty
countPenalty
?:
AI21PenaltyData
Optional
frequency
Penalty
frequencyPenalty
?:
AI21PenaltyData
Optional
logit
Bias
logitBias
?:
Record
<
string
,
number
>
Optional
max
Tokens
maxTokens
?:
number
Optional
min
Tokens
minTokens
?:
number
Optional
model
model
?:
string
Optional
num
Results
numResults
?:
number
Optional
presence
Penalty
presencePenalty
?:
AI21PenaltyData
Optional
stop
stop
?:
string
[]
Optional
temperature
temperature
?:
number
Optional
top
P
topP
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
ai21
Api
Key
base
Url
count
Penalty
frequency
Penalty
logit
Bias
max
Tokens
min
Tokens
model
num
Results
presence
Penalty
stop
temperature
top
P
langchain.js
Loading...
Interface for AI21 input parameters.