Heroku LangChain.js - v1.0.1
GitHub
NPM
Preparing search index...
HerokuChatCompletionRequest
Interface HerokuChatCompletionRequest
Request payload for Heroku /v1/chat/completions API.
interface
HerokuChatCompletionRequest
{
model
:
string
;
messages
:
HerokuChatMessage
[]
;
temperature
?:
number
;
max_tokens
?:
number
;
stop
?:
string
[]
;
stream
?:
boolean
;
top_p
?:
number
;
tools
?:
HerokuFunctionTool
[]
;
tool_choice
?:
|
"auto"
|
"none"
|
"required"
|
{
type
:
"function"
;
function
:
{
name
:
string
}
}
;
extended_thinking
?:
boolean
;
[
key
:
string
]:
any
;
}
Indexable
[
key
:
string
]:
any
Index
Properties
model
messages
temperature?
max_
tokens?
stop?
stream?
top_
p?
tools?
tool_
choice?
extended_
thinking?
Properties
model
model
:
string
messages
messages
:
HerokuChatMessage
[]
Optional
temperature
temperature
?:
number
Optional
max_
tokens
max_tokens
?:
number
Optional
stop
stop
?:
string
[]
Optional
stream
stream
?:
boolean
Optional
top_
p
top_p
?:
number
Optional
tools
tools
?:
HerokuFunctionTool
[]
Optional
tool_
choice
tool_choice
?:
|
"auto"
|
"none"
|
"required"
|
{
type
:
"function"
;
function
:
{
name
:
string
}
}
Optional
extended_
thinking
extended_thinking
?:
boolean
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Properties
model
messages
temperature
max_
tokens
stop
stream
top_
p
tools
tool_
choice
extended_
thinking
GitHub
NPM
GitHub
NPM
Heroku LangChain.js - v1.0.1
Loading...
Request payload for Heroku /v1/chat/completions API.