Skip to content

Commit

Permalink
Refine prompt for simple and easy to understand.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 18, 2023
1 parent c671143 commit 2602f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os, requests, openai, emoji
from urllib.parse import urlparse

PROMPT_TRANS_HEAD="Translate to english:"
PROMPT_TRANS_HEAD="Translate to simple, easy to understand, conversational English:"
PROMPT_TRANS_SANDWICH="Make sure to maintain the markdown structure."
PROMPT_REPHRASE_REFINE="Rephrase in a technical manner:"
PROMPT_REPHRASE_REFINE="Rephrase text in simple, easy to understand, conversational English:"
TRANS_MAGIC="TRANS_BY_GPT4"
TRANS_DELIMETER = '\n\n'
TRANS_DELIMETER_PR = '---------'
Expand Down

0 comments on commit 2602f30

Please sign in to comment.