Cell API
Docs
GitHub
Preparing search index...
@celljs/ai-core
ChatOptions
Interface ChatOptions
The ChatOptions represent the common options, portable across different chat models.
interface
ChatOptions
{
extra
?:
Record
<
string
,
unknown
>
;
frequencyPenalty
?:
number
;
httpHeaders
?:
Record
<
string
,
string
>
;
maxTokens
?:
number
;
model
?:
string
;
prediction
?:
Prediction
|
null
;
presencePenalty
?:
number
;
signal
?:
AbortSignal
;
stopSequences
?:
string
[]
;
temperature
?:
number
;
topK
?:
number
;
topP
?:
number
;
}
Hierarchy (
View Summary
)
ModelOptions
ChatOptions
FunctionCallingOptions
PortableFunctionCallingOptions
Index
Properties
extra?
frequency
Penalty?
http
Headers?
max
Tokens?
model?
prediction?
presence
Penalty?
signal?
stop
Sequences?
temperature?
top
K?
top
P?
Properties
Optional
extra
extra
?:
Record
<
string
,
unknown
>
Optional
frequency
Penalty
frequencyPenalty
?:
number
Optional
http
Headers
httpHeaders
?:
Record
<
string
,
string
>
Optional
max
Tokens
maxTokens
?:
number
Optional
model
model
?:
string
Optional
prediction
prediction
?:
Prediction
|
null
Optional
presence
Penalty
presencePenalty
?:
number
Optional
signal
signal
?:
AbortSignal
Optional
stop
Sequences
stopSequences
?:
string
[]
Optional
temperature
temperature
?:
number
Optional
top
K
topK
?:
number
Optional
top
P
topP
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
extra
frequency
Penalty
http
Headers
max
Tokens
model
prediction
presence
Penalty
signal
stop
Sequences
temperature
top
K
top
P
Docs
GitHub
Cell API
Loading...
The ChatOptions represent the common options, portable across different chat models.