v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.12
LangChain.js
langchain-community/stores/message/ipfs_datastore
IPFSDatastoreChatMessageHistory
Class IPFSDatastoreChatMessageHistory
Hierarchy (
view full
)
Toolkit
IPFSDatastoreChatMessageHistory
Index
Constructors
constructor
Properties
session
Id
Methods
add
Message
add
Messages
clear
get
Messages
Constructors
constructor
new IPFSDatastore
Chat
Message
History
(
__namedParameters
)
:
IPFSDatastoreChatMessageHistory
Parameters
__namedParameters
:
IPFSDatastoreChatMessageHistoryProps
Returns
IPFSDatastoreChatMessageHistory
Properties
Readonly
session
Id
session
Id
:
string
Methods
add
Message
add
Message
(
message
)
:
Promise
<
void
>
Parameters
message
:
BaseMessage
Returns
Promise
<
void
>
add
Messages
add
Messages
(
messages
)
:
Promise
<
void
>
Parameters
messages
:
BaseMessage
[]
Returns
Promise
<
void
>
clear
clear
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Messages
get
Messages
(
)
:
Promise
<
BaseMessage
[]
>
Returns
Promise
<
BaseMessage
[]
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
session
Id
Methods
add
Message
add
Messages
clear
get
Messages
LangChain.js - v0.2.12
Loading...