diff --git a/src/components/plate-ui/ai-menu-items.tsx b/src/components/plate-ui/ai-menu-items.tsx index 2bf2fc1dbf182b821ee99d9ead867e015c1b7c36..162fd82b43cc08f76da9cf3a485ec65fe40d12f1 100644 --- a/src/components/plate-ui/ai-menu-items.tsx +++ b/src/components/plate-ui/ai-menu-items.tsx @@ -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`, }); }, },