Get chat gpt messages
From UBot Studio
$get chat GPT messages returns the messages associated with the specified GPT agent.
This function allows you to retrieve the fullconversation history for a specified chat GPT agent.
Parameters
Agent: This parameter allows you to specify the GPT agent whose messages you want to retrieve. The default is "ChatGPT".
Return Value
This function returns a string, which is the text of the messages associated with the specified GPT agent.
Example
$conversation = $get chat GPT messages("ChatGPT")
In this script, the function retrieves the messages associated with the agent "ChatGPT". The returned conversation history is then stored in the variable named "conversation".