import ChatGPT history()

Prev Next

With this function, a previously exported chat history can be imported.

If the import was successful, the function returns "true". If no valid chat history was imported or no valid session key was specified, the return value is "false".

Parameters

Parameter

Description

a

(optional) Chat session key. NOTE:  If no specific session key is set, the internal session key is used. See functions setup OpenAI ChatGPT() and setup Azure ChatGPT().

b

The chat history data to import. NOTE:  See function export ChatGPT history().