Voqal Docs home page
Search...
Ctrl K
Report an issue
Search...
Navigation
Embedded Functions
Get User Context
Documentation
Compute
Library
Context
GitHub
YouTube
Discord
Voqal Context
Overview
Examples
Embedded Variables
Assistant
Developer
Computer
IDE
Embedded Functions
Add User Context
Chunk Text
Get User Context
Slurp URL
On this page
Parameters
Configuration
Embedded Functions
Get User Context
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:
Copy
{{ getUserContext("name") }}
Chunk Text
Slurp URL
Assistant
Responses are generated using AI and may contain mistakes.