clear ChatGPT history()

This function deletes the chat history of chat session a.

The return value is true if successful, false otherwise (e.g. if the chat session key a is incorrect).

Parameter b can be used to pass content to the chat session a for the role system (after the history has been deleted).

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

(optional) Content for the role system . Example: You are a database SQL expert and answer questions related to SQL statements.