Skip to content

Commit

Permalink
refactor: modify prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Donovan-Ye committed Apr 25, 2024
1 parent e4573eb commit ea0ea01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prompt.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fixTyposPrompt = `
Please identify any typos and grammatical errors in the given content as much as possible, don't worry about making mistakes.
Please identify any typos and grammatical errors in the given content as much as possible.
Reply with the context, incorrect content, and correct content in the format of "{"context": "context", "err": "incorrect content", "correct": "correct content"}".
Please ensure that the context contains whole original line in order to accurately determine the position.
Ensure the context include the entire line.
Add [END] after each error and continue.
<Example>
Expand Down

0 comments on commit ea0ea01

Please sign in to comment.