Update prompt example
This commit is contained in:
parent
08426aaeb2
commit
b9c7603a8f
2 changed files with 13 additions and 16 deletions
|
|
@ -39,15 +39,15 @@ POSITION=0
|
|||
LEAVE=False
|
||||
|
||||
# Flags
|
||||
CODE401 = True
|
||||
CODE401 = False
|
||||
CODE405 = False
|
||||
CODE102 = True
|
||||
CODE122 = False
|
||||
CODE102 = False
|
||||
CODE122 = True
|
||||
CODE101 = False
|
||||
CODE355655 = False
|
||||
CODE357 = False
|
||||
CODE657 = False
|
||||
CODE356 = True
|
||||
CODE356 = False
|
||||
CODE320 = False
|
||||
CODE324 = False
|
||||
CODE111 = False
|
||||
|
|
@ -553,7 +553,7 @@ def searchCodes(page, pbar):
|
|||
if page['list'][i]['code'] == 122 and CODE122 == True:
|
||||
# This is going to be the var being set. (IMPORTANT)
|
||||
varNum = page['list'][i]['parameters'][0]
|
||||
if varNum != 1142:
|
||||
if varNum != 1238:
|
||||
continue
|
||||
|
||||
jaString = page['list'][i]['parameters'][4]
|
||||
|
|
@ -572,7 +572,7 @@ def searchCodes(page, pbar):
|
|||
matchList = re.findall(r"\'(.*?)\'", jaString)
|
||||
|
||||
for match in matchList:
|
||||
response = translateGPT(match, '', True)
|
||||
response = translateGPT(match, 'Sex Positions', True)
|
||||
translatedText = response[0]
|
||||
tokens += response[1]
|
||||
|
||||
|
|
@ -909,6 +909,10 @@ def searchCodes(page, pbar):
|
|||
if '$gameVariables' not in jaString:
|
||||
continue
|
||||
|
||||
# This is going to be the var being set. (IMPORTANT)
|
||||
if '1045' not in jaString:
|
||||
continue
|
||||
|
||||
# Need to remove outside code and put it back later
|
||||
matchList = re.findall(r"'(.*?)'", jaString)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,7 @@
|
|||
Characters:
|
||||
モニカ == Monica | Female
|
||||
??? == ???: | Unknown
|
||||
You are an expert Eroge translator who translates everything to English. Everytime you receive input in this format:
|
||||
|
||||
Locations:
|
||||
アレルタ == Areruta
|
||||
'Text to Translate: <UNTRANSLATED_TEXT>'
|
||||
|
||||
Follow my instructions as precisely as possible. You are a translator for Eroge games who translates everything.Everytime you receive input in this format:
|
||||
|
||||
'Text to Translate: <UNTRANSLATED_TEXT>'
|
||||
|
||||
I want you to translate the text into English and output in the following format. Never include anything except the English translation in your reply. Maintain any other text in your translation.
|
||||
I want you to translate the text into English and output it in the following format. Maintain any other text such as [v0] or [v1] in your reply. Use the Previous Dialogue as context to come up with the best translation.
|
||||
|
||||
'Translation: <TRANSLATED_TEXT>'
|
||||
Loading…
Reference in a new issue