Skip to content

Commit 5071ec4

Browse files
committed
Make slight modifications to the prompts
1 parent 5f5b716 commit 5071ec4

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ class OneTimeAction extends ChatGPTAction {
163163
private getPrompt(action: AllowedOneTimeActions, language: string): string {
164164
switch (action) {
165165
case "revise":
166-
return `Please revise the text to improve its clarity, brevity, and coherence. Document the changes made and provide a concise explanation for each modification (IMPORTANT: reply with ${language} language).`
166+
return `Please revise the text for improved clarity, brevity, and coherence. List the changes made and provide a brief explanation for each (IMPORTANT: reply with ${language} language).`
167167
case "polish":
168-
return `Please correct the grammar and polish the text while adhering as closely as possible to the original intention (IMPORTANT: reply with ${language} language).`
168+
return `Please correct any grammatical errors and enhance the text while maintaining the original intent and tone as closely as possible (IMPORTANT: reply with ${language} language).`
169169
case "translate":
170170
return `Please translate the text into ${language} and only provide me with the translated content without formating.`
171171
case "summarize":

package-lock.json

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)