Added a new default prompt to reply with a custom command asked when exectutin the prompt. See #444
This commit is contained in:
parent
3a2845a23c
commit
51068dd95c
2 changed files with 25 additions and 0 deletions
|
|
@ -19,6 +19,10 @@
|
||||||
"message": "Reply to this thread",
|
"message": "Reply to this thread",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
|
"prompt_reply_custom_command": {
|
||||||
|
"message": "Reply with command",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"prompt_rewrite_polite": {
|
"prompt_rewrite_polite": {
|
||||||
"message": "Rewrite polite",
|
"message": "Rewrite polite",
|
||||||
"description": ""
|
"description": ""
|
||||||
|
|
@ -735,6 +739,10 @@
|
||||||
"message": "Reply to the following email \"{%selected_text%}\", considering this is the full thread of emails \"{%mail_html_body%}\". Reply with only the needed text and with no extra comments or other text.",
|
"message": "Reply to the following email \"{%selected_text%}\", considering this is the full thread of emails \"{%mail_html_body%}\". Reply with only the needed text and with no extra comments or other text.",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
|
"prompt_reply_custom_command_full_text": {
|
||||||
|
"message": "Reply to the following email \"{%mail_text_body%}\". {%additional_text%}. Reply with only the needed text and with no extra comments or other text.",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"prompt_rewrite_full_text": {
|
"prompt_rewrite_full_text": {
|
||||||
"message": "Rewrite the following text to be more polite. Reply with only the re-written text and with no extra comments or other text.",
|
"message": "Rewrite the following text to be more polite. Reply with only the re-written text and with no extra comments or other text.",
|
||||||
"description": ""
|
"description": ""
|
||||||
|
|
|
||||||
|
|
@ -109,6 +109,23 @@ const defaultPrompts = [
|
||||||
is_default: "1",
|
is_default: "1",
|
||||||
is_special: "0",
|
is_special: "0",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'prompt_reply_custom_command',
|
||||||
|
name: "__MSG_prompt_reply_custom_command__",
|
||||||
|
text: "prompt_reply_custom_command_full_text",
|
||||||
|
type: "1",
|
||||||
|
action: "1",
|
||||||
|
need_selected: "0",
|
||||||
|
need_signature: "1",
|
||||||
|
need_custom_text: "1",
|
||||||
|
define_response_lang: "1",
|
||||||
|
use_diff_viewer: "0",
|
||||||
|
chatgpt_web_model: '',
|
||||||
|
chatgpt_web_project: '',
|
||||||
|
chatgpt_web_custom_gpt: '',
|
||||||
|
is_default: "1",
|
||||||
|
is_special: "0",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 'prompt_rewrite_polite',
|
id: 'prompt_rewrite_polite',
|
||||||
name: "__MSG_prompt_rewrite_polite__",
|
name: "__MSG_prompt_rewrite_polite__",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue