Variables for System Prompts
Please allow inclusion of environment variables to system prompts.
Ex:
$todays_date (dynamically set)
$location (manually set)
Use case example:
I want to ask for todays weather, without the need to specify todays date, and using a pre-determined location.
Current Location may also be useful.
Log in to comment and vote
Comments1
Gold Patch
Mar 24, 2025
These variables would be helpful for advanced prompts:
Date & Time: %currentDate% and %currentTime% to insert real-time timestamps.
Location: %userLocation%
Language Preferences: %language% to adjust output language.
Model Configuration: Placeholders like %temperature%, %top_p% or %maxTokens% to control response behavior.