Get chat gpt messages
From UBot Studio
$get chat gpt messages is a function that retrieves the messages associated with a specified GPT agent. This function allows you to return the conversation history of a specified agent, which includes both the user and the agent messages.
Parameters
Agent: This refers to the name of the agent whose messages you want to retrieve. The default agent is ChatGPT.
Return Value
A string containing the messages associated with the specified agent.
Usage
$get chat gpt messages("ChatGPT")
In this example, the function will return a string that includes all the messages associated with the agent named "ChatGPT".