v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.5
LangChain.js
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 full
)
Toolkit
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?
topP?
Properties
Optional
ai21
Api
Key
ai21
Api
Key
?:
string
Optional
base
Url
base
Url
?:
string
Optional
count
Penalty
count
Penalty
?:
AI21PenaltyData
Optional
frequency
Penalty
frequency
Penalty
?:
AI21PenaltyData
Optional
logit
Bias
logit
Bias
?:
Record
<
string
,
number
>
Optional
max
Tokens
max
Tokens
?:
number
Optional
min
Tokens
min
Tokens
?:
number
Optional
model
model
?:
string
Optional
num
Results
num
Results
?:
number
Optional
presence
Penalty
presence
Penalty
?:
AI21PenaltyData
Optional
stop
stop
?:
string
[]
Optional
temperature
temperature
?:
number
Optional
topP
topP
?:
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
ai21
Api
Key
base
Url
count
Penalty
frequency
Penalty
logit
Bias
max
Tokens
min
Tokens
model
num
Results
presence
Penalty
stop
temperature
topP
LangChain.js - v0.2.5
langchain-anthropic
langchain-azure-dynamic-sessions
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
upstash_ratelimit
chains/graph_qa/cypher
chat_models
Loading...
Generated using
TypeDoc
Interface for AI21 input parameters.