Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.voqal.dev/llms.txt

Use this file to discover all available pages before exploring further.

The addUserContext() function is used to add custom data to the current prompt.

Parameters

  • key (required): The key of the custom data to be added
  • value (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:
{{ addUserContext("name", "John Doe") }}