Skip to content
On this page

<<EasyGPT>>.advanced.exportChat()

Export the chat log.

Chat logs may be imported and exported. For instance, you might use this to preserve a prior interaction a user had with your chatbot and load it again when they return.

Usage

js
const messages = instance.advanced.exportChat();

// Do something with messages.

Parameters

N/A

Returns

Array of messages.