You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/features/prompts.md
+13
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,19 @@ There are two types of custom prompts:
22
22
23
23
System prompts will be set as the `system` type of prompt in the LLM. This means that the prompt will be sent to the LLM as a system prompt. This is useful for setting the context of the conversation.
24
24
25
+
#### Supported System Prompt Variables
26
+
27
+
You can use the following variables in your system prompts:
28
+
29
+
-`{current_date_time}` - The current date and time in local format
30
+
-`{current_year}` - The current year
31
+
-`{current_month}` - The current month (0-11)
32
+
-`{current_day}` - The current day of the month
33
+
-`{current_hour}` - The current hour (0-23)
34
+
-`{current_minute}` - The current minute (0-59)
35
+
36
+
These variables will be automatically replaced with their respective values when the prompt is sent to the LLM.
37
+
25
38
### Quick Prompts
26
39
27
40
Quick prompts are quick prompts that you can use to quickly send a prompt to the LLM. You can use quick prompts by clicking on the `Quick Prompts` button in the input box.
0 commit comments