import ChatGPT history()

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 k ey. 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() .