Embedded Functions
Add User Context
The addUserContext()
function is used to add custom data to the current prompt.
Parameters
key
(required): The key of the custom data to be addedvalue
(required): The value of the custom data to be added
Configuration
To use the addUserContext()
function, provide the necessary parameters in your prompt. For example: