From b19349a0de003ad96a662009cfdf76a017b3b691 Mon Sep 17 00:00:00 2001 From: mic Date: Sun, 12 May 2024 23:35:28 +0200 Subject: [PATCH] all values are strings --- js/mzta-prompts.js | 84 +++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/js/mzta-prompts.js b/js/mzta-prompts.js index ee437d60..83cd5a93 100644 --- a/js/mzta-prompts.js +++ b/js/mzta-prompts.js @@ -62,78 +62,78 @@ const defaultPrompts = [ id: 'prompt_reply', name: "__MSG_prompt_reply__", text: "Reply to the following email.", - type: 1, - action: 1, - need_selected: 0, - need_signature: 1, - need_custom_text: 0, - is_default: 1, + type: "1", + action: "1", + need_selected: "0", + need_signature: "1", + need_custom_text: "0", + is_default: "1", }, { id: 'prompt_rewrite_polite', name: "__MSG_prompt_rewrite_polite__", text: "Rewrite the following text to be more polite. Reply with only the re-written text and with no extra comments or other text.", - type: 2, - action: 2, - need_selected: 1, - need_signature: 0, - need_custom_text: 0, - is_default: 1, + type: "2", + action: "2", + need_selected: "1", + need_signature: "0", + need_custom_text: "0", + is_default: "1", }, { id: 'prompt_rewrite_formal', name: "__MSG_prompt_rewrite_formal__", text: "Rewrite the following text to be more formal. Reply with only the re-written text and with no extra comments or other text.", - type: 2, - action: 2, - need_selected: 1, - need_signature: 0, - need_custom_text: 0, - is_default: 1, + type: "2", + action: "2", + need_selected: "1", + need_signature: "0", + need_custom_text: "0", + is_default: "1", }, { id: 'prompt_classify', name: "__MSG_prompt_classify__", text: "Classify the following text in terms of Politeness, Warmth, Formality, Assertiveness, Offensiveness giving a percentage for each category. Reply with only the category and score with no extra comments or other text.", - type: 0, - action: 0, - need_selected: 0, - need_signature: 0, - need_custom_text: 0, - is_default: 1, + type: "0", + action: "0", + need_selected: "0", + need_signature: "0", + need_custom_text: "0", + is_default: "1", }, { id: 'prompt_summarize_this', name: "__MSG_prompt_summarize_this__", text: "Summarize the following email into a bullet point list.", - type: 0, - action: 0, - need_selected: 0, - need_signature: 0, - need_custom_text: 0, - is_default: 1, + type: "0", + action: "0", + need_selected: "0", + need_signature: "0", + need_custom_text: "0", + is_default: "1", }, { id: 'prompt_translate_this', name: "__MSG_prompt_translate_this__", text: "Translate the following email in ", - type: 0, - action: 0, - need_selected: 0, - need_signature: 0, - need_custom_text: 0, - is_default: 1, + type: "0", + action: "0", + need_selected: "0", + need_signature: "0", + need_custom_text: "0", + is_default: "1", }, { id: 'prompt_this', name: "__MSG_prompt_this__", text: "Reply with only the needed text and with no extra comments or other text.", - type: 2, - action: 2, - need_selected: 1, - need_signature: 0, - need_custom_text: 0, - is_default: 1, + type: "2", + action: "2", + need_selected: "1", + need_signature: "0", + need_custom_text: "0", + is_default: "1", }, ];