Get chat gpt messages

From UBot Studio
Revision as of 16:15, 30 June 2023 by LillyT (Talk | contribs)

Jump to: navigation, search

$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".

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox