v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/core
messages
StoredMessageData
Interface StoredMessageData
interface
StoredMessageData
{
additional_kwargs
?:
Record
<
string
,
any
>
;
content
:
string
;
id
?:
string
;
name
:
undefined
|
string
;
response_metadata
?:
Record
<
string
,
any
>
;
role
:
undefined
|
string
;
tool_call_id
:
undefined
|
string
;
}
Index
Properties
additional_
kwargs?
content
id?
name
response_
metadata?
role
tool_
call_
id
Properties
Optional
additional_
kwargs
additional_
kwargs
?:
Record
<
string
,
any
>
content
content
:
string
Optional
id
id
?:
string
name
name
:
undefined
|
string
Optional
response_
metadata
response_
metadata
?:
Record
<
string
,
any
>
Response metadata. For example: response headers, logprobs, token counts.
role
role
:
undefined
|
string
tool_
call_
id
tool_
call_
id
:
undefined
|
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
additional_
kwargs
content
id
name
response_
metadata
role
tool_
call_
id
LangChain.js
Loading...
Response metadata. For example: response headers, logprobs, token counts.