v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-community/chat_models/deepinfra
ChatDeepInfra
Class ChatDeepInfra
Hierarchy (
view full
)
Toolkit
ChatDeepInfra
Implements
ChatDeepInfraParams
Index
Constructors
constructor
Properties
api
Url
model
api
Key?
max
Tokens?
temperature?
Accessors
call
Keys
Methods
completion
With
Retry
identifying
Params
invocation
Params
Constructors
constructor
new
Chat
Deep
Infra
(
fields
?
)
:
ChatDeepInfra
Parameters
fields
:
any
= {}
Returns
ChatDeepInfra
Properties
api
Url
api
Url
:
string
model
model
:
string
Optional
api
Key
api
Key
?:
string
Optional
max
Tokens
max
Tokens
?:
number
Optional
temperature
temperature
?:
number
Accessors
call
Keys
get
callKeys
(
)
:
string
[]
Returns
string
[]
Methods
completion
With
Retry
completion
With
Retry
(
request
,
stream
,
signal
?
)
:
Promise
<
any
>
Parameters
request
:
ChatCompletionRequest
stream
:
boolean
Optional
signal
:
AbortSignal
Returns
Promise
<
any
>
identifying
Params
identifying
Params
(
)
:
Omit
<
ChatCompletionRequest
,
"messages"
>
Returns
Omit
<
ChatCompletionRequest
,
"messages"
>
invocation
Params
invocation
Params
(
)
:
Omit
<
ChatCompletionRequest
,
"messages"
>
Returns
Omit
<
ChatCompletionRequest
,
"messages"
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
api
Url
model
api
Key
max
Tokens
temperature
Accessors
call
Keys
Methods
completion
With
Retry
identifying
Params
invocation
Params
LangChain.js - v0.2.8
Loading...