Skip to content

Commit

Permalink
fix(CapsLockX): i18n optimize prompt
Browse files Browse the repository at this point in the history
i18n optimize prompt
  • Loading branch information
snomiao committed Dec 30, 2024
1 parent 4033e82 commit bb8ff36
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Core/CapsLockX-i18n.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@ i18n_translated(lang, key)
return translated
}

question := ">>> ROLE: Act as translator, input text is between '>>> TEXT BEGIN' and '>>> TEXT END', output transcript, no explain" . "`n"
question .= ">>> TASK: translate to " . lang . "`n"
question .= ">>> TEXT BEGIN" . "`n"
question := ">>> INPUT BEGIN"
question .= key . "`n"
question .= ">>> TEXT END" . "`n"
question .= "<<< INPUT END, TASK: translate to " . lang . ", no explains, output only transcript" . "`n"

global brainstorm_origin
if (!brainstorm_origin) {
Expand Down

0 comments on commit bb8ff36

Please sign in to comment.