proofread prompt added. fixes #21

This commit is contained in:
mic 2025-04-13 07:59:34 +02:00
parent 8c4282519f
commit c056fb074c
2 changed files with 22 additions and 0 deletions

View file

@ -783,6 +783,14 @@
"message": "Analyze the following email text and generate a comma-separated list of tags that summarize its content. Use themes, key topics, and relevant descriptors as tags. Ensure the tags are concise and relevant to the email's content.\nEmail text: {%mail_text_body%}\nConsider the following details for context:\n- Sender: {%author%}\n- Recipients: {%recipients%}\n- CC list: {%cc_list%}\n- Email subject: {%mail_subject%}\nPlease base your tags on the email's text and context, ignoring unnecessary information or trivial details. The output should be only a list of comma separated tags without any additional comment or text.",
"description": ""
},
"prompt_proofread_this": {
"message": "Proofread this email",
"description": ""
},
"prompt_proofread_this_full_text": {
"message": "Proofread the following email and also correct any spelling or grammar mistakes. Reply with only the corrected text and with no extra comments or other text.\n\n\"{%mail_typed_text%}\"",
"description": ""
},
"placeholder_tags_current_email": {
"message": "Mail tags",
"description": ""

View file

@ -150,6 +150,20 @@ const defaultPrompts = [
is_default: "1",
is_special: "0",
},
{
id: 'prompt_proofread_this',
name: "__MSG_prompt_proofread_this__",
text: "prompt_proofread_this_full_text",
type: "2",
action: "2",
need_selected: "0",
need_signature: "0",
need_custom_text: "0",
define_response_lang: "1",
use_diff_viewer: "1",
is_default: "1",
is_special: "0",
},
{
id: 'prompt_translate_this',
name: "__MSG_prompt_translate_this__",