v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.13
LangChain.js
langchain-mistralai
ChatMistralAI
Class ChatMistralAI<CallOptions>
Integration with a chat model.
Type Parameters
CallOptions
extends
ChatMistralAICallOptions
=
ChatMistralAICallOptions
Hierarchy (
view full
)
Toolkit
<
CallOptions
,
Toolkit
>
ChatMistralAI
Implements
ChatMistralAIInput
Index
Constructors
constructor
Methods
bind
Tools
with
Structured
Output
Constructors
constructor
new
Chat
MistralAI
<
CallOptions
>
(
fields
?
)
:
ChatMistralAI
<
CallOptions
>
Type Parameters
CallOptions
extends
ChatMistralAICallOptions
=
ChatMistralAICallOptions
Parameters
Optional
fields
:
ChatMistralAIInput
Returns
ChatMistralAI
<
CallOptions
>
Methods
bind
Tools
bind
Tools
(
tools
,
kwargs
?
)
:
Runnable
<
BaseLanguageModelInput
,
AIMessageChunk
,
CallOptions
>
Parameters
tools
:
any
[]
Optional
kwargs
:
Partial
<
CallOptions
>
Returns
Runnable
<
BaseLanguageModelInput
,
AIMessageChunk
,
CallOptions
>
with
Structured
Output
with
Structured
Output
<
RunOutput
>
(
outputSchema
,
config
?
)
:
Runnable
<
BaseLanguageModelInput
,
RunOutput
>
Type Parameters
RunOutput
extends
Record
<
string
,
any
>
=
Record
<
string
,
any
>
Parameters
outputSchema
:
any
Optional
config
:
any
Returns
Runnable
<
BaseLanguageModelInput
,
RunOutput
>
with
Structured
Output
<
RunOutput
>
(
outputSchema
,
config
?
)
:
Runnable
<
BaseLanguageModelInput
,
{
parsed
:
RunOutput
;
raw
:
BaseMessage
;
}
>
Type Parameters
RunOutput
extends
Record
<
string
,
any
>
=
Record
<
string
,
any
>
Parameters
outputSchema
:
any
Optional
config
:
any
Returns
Runnable
<
BaseLanguageModelInput
,
{
parsed
:
RunOutput
;
raw
:
BaseMessage
;
}
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
bind
Tools
with
Structured
Output
LangChain.js - v0.2.13
Loading...
Integration with a chat model.