Skip to content

Commit

Permalink
Refine the prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Oct 17, 2023
1 parent c378f4b commit 7d5e1e2
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 simple, easy to understand, conversational English."
PROMPT_TRANS_HEAD="Translate to simple, easy-to-understand, technical English."
PROMPT_TRANS_SANDWICH="Make sure to maintain the markdown structure."
PROMPT_REPHRASE_REFINE="Rephrase text in simple, easy to understand, conversational English."
PROMPT_REPHRASE_REFINE="Rephrase text in simple, easy-to-understand, technical English."
TRANS_MAGIC="TRANS_BY_GPT4"
TRANS_DELIMETER = '\n\n'
TRANS_DELIMETER_PR = '---------'
Expand Down

0 comments on commit 7d5e1e2

Please sign in to comment.