langchain.js
Preparing search index...
@langchain/community
chat_models/novita
ChatNovitaAI
Class ChatNovitaAI
Novita chat model implementation
Hierarchy
ChatOpenAICompletions
<
ChatNovitaCallOptions
>
ChatNovitaAI
Index
Constructors
constructor
Properties
lc_
serializable
Accessors
lc_
secrets
Methods
_
llm
Type
completion
With
Retry
get
Ls
Params
to
JSON
lc_
name
Constructors
constructor
new
ChatNovitaAI
(
fields
?:
any
)
:
ChatNovitaAI
Parameters
Optional
fields
:
any
Returns
ChatNovitaAI
Properties
lc_
serializable
lc_serializable
:
boolean
= true
Accessors
lc_
secrets
get
lc_secrets
()
:
undefined
|
{
[
key
:
string
]:
string
}
Returns
undefined
|
{
[
key
:
string
]:
string
}
Methods
_
llm
Type
_llmType
()
:
string
Returns
string
completion
With
Retry
completionWithRetry
(
request
:
ChatCompletionCreateParamsStreaming
,
options
?:
RequestOptions
,
)
:
Promise
<
AsyncIterable
<
ChatCompletionChunk
,
any
,
any
>
>
Parameters
request
:
ChatCompletionCreateParamsStreaming
Optional
options
:
RequestOptions
Returns
Promise
<
AsyncIterable
<
ChatCompletionChunk
,
any
,
any
>
>
completionWithRetry
(
request
:
ChatCompletionCreateParamsNonStreaming
,
options
?:
RequestOptions
,
)
:
Promise
<
ChatCompletion
>
Parameters
request
:
ChatCompletionCreateParamsNonStreaming
Optional
options
:
RequestOptions
Returns
Promise
<
ChatCompletion
>
get
Ls
Params
getLsParams
(
options
:
unknown
)
:
LangSmithParams
Parameters
options
:
unknown
Returns
LangSmithParams
to
JSON
toJSON
()
:
any
Returns
any
Static
lc_
name
lc_name
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
lc_
serializable
Accessors
lc_
secrets
Methods
_
llm
Type
completion
With
Retry
get
Ls
Params
to
JSON
lc_
name
langchain.js
Loading...
Novita chat model implementation