v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.12
LangChain.js
langchain-core/messages
convertToChunk
Function convertToChunk
convert
To
Chunk
(
message
)
:
|
AIMessageChunk
|
ChatMessageChunk
|
FunctionMessageChunk
|
HumanMessageChunk
|
SystemMessageChunk
Parameters
message
:
BaseMessage
Returns
|
AIMessageChunk
|
ChatMessageChunk
|
FunctionMessageChunk
|
HumanMessageChunk
|
SystemMessageChunk
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
LangChain.js - v0.2.12
Loading...