The getUserContext() function is used to retrieve custom data from the current prompt.

Parameters

  • key (required): The key of the custom data to be retrieved

Configuration

To use the getUserContext() function, provide the necessary parameters in your prompt. For example:

{{ getUserContext("name") }}