Skip to content
Snippets Groups Projects
Commit a87b4036 authored by Benedikt Schäfer's avatar Benedikt Schäfer
Browse files

Update prompts for (better) results

parent 67ec4322
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,17 @@ Provide the improved version only, without explanations. Focus on:
value: 'makeLonger',
onSelect: ({ editor }) => {
void editor.getApi(AIChatPlugin).aiChat.submit({
prompt: 'Make longer',
prompt: `Expand and elaborate on the following text while maintaining its style and tone:
<Selection>
{selection}
</Selection>
Provide the expanded version only, without explanations. Add:
- More details
- Supporting points
- Relevant examples
- Additional context`,
});
},
},
......@@ -152,7 +162,17 @@ Provide the improved version only, without explanations. Focus on:
value: 'makeShorter',
onSelect: ({ editor }) => {
void editor.getApi(AIChatPlugin).aiChat.submit({
prompt: 'Make shorter',
prompt: `Condense the following text while preserving its key messages:
<Selection>
{selection}
</Selection>
Provide the shortened version only, without explanations. Focus on:
- Core message
- Essential details
- Concise expression
- Key points only`,
});
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment