setGlobalData
Replace the entire global data object available to the AI throughout the conversation.
Parameters
data
Object of key/value pairs. Values can be any JSON-serializable type.
Returns
AgentBase — Returns this for method chaining.
Replace the entire global data object available to the AI throughout the conversation.
Object of key/value pairs. Values can be any JSON-serializable type.
AgentBase — Returns this for method chaining.