v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/core
caches/base
deserializeStoredGeneration
Function deserializeStoredGeneration
deserialize
Stored
Generation
(
storedGeneration
)
:
{
message
:
|
ToolMessage
|
AIMessage
|
ChatMessage
|
FunctionMessage
|
HumanMessage
|
SystemMessage
;
text
:
string
;
}
|
{
message
?:
undefined
;
text
:
string
;
}
Parameters
storedGeneration
:
StoredGeneration
Returns
{
message
:
|
ToolMessage
|
AIMessage
|
ChatMessage
|
FunctionMessage
|
HumanMessage
|
SystemMessage
;
text
:
string
;
}
|
{
message
?:
undefined
;
text
:
string
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js
Loading...