-
Notifications
You must be signed in to change notification settings - Fork 101
/
prompts.lua
43 lines (43 loc) · 1.83 KB
/
prompts.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
return {
Generate = { prompt = "$input", replace = true },
Chat = { prompt = "$input" },
Summarize = { prompt = "Summarize the following text:\n$text" },
Ask = { prompt = "Regarding the following text, $input:\n$text" },
Change = {
prompt = "Change the following text, $input, just output the final text without additional quotes around it:\n$text",
replace = true,
},
Enhance_Grammar_Spelling = {
prompt = "Modify the following text to improve grammar and spelling, just output the final text without additional quotes around it:\n$text",
replace = true,
},
Enhance_Wording = {
prompt = "Modify the following text to use better wording, just output the final text without additional quotes around it:\n$text",
replace = true,
},
Make_Concise = {
prompt = "Modify the following text to make it as simple and concise as possible, just output the final text without additional quotes around it:\n$text",
replace = true,
},
Make_List = {
prompt = "Render the following text as a markdown list:\n$text",
replace = true,
},
Make_Table = {
prompt = "Render the following text as a markdown table:\n$text",
replace = true,
},
Review_Code = {
prompt = "Review the following code and make concise suggestions:\n```$filetype\n$text\n```",
},
Enhance_Code = {
prompt = "Enhance the following code, only output the result in format ```$filetype\n...\n```:\n```$filetype\n$text\n```",
replace = true,
extract = "```$filetype\n(.-)```",
},
Change_Code = {
prompt = "Regarding the following code, $input, only output the result in format ```$filetype\n...\n```:\n```$filetype\n$text\n```",
replace = true,
extract = "```$filetype\n(.-)```",
},
}