translator: fix and update prompt

This commit is contained in:
E. S 2025-02-09 04:17:39 +03:00
parent 43016168e2
commit e39369be88

View File

@ -2,7 +2,7 @@ import tiktoken
from openai import OpenAI
model = "gpt-4o"
system_prompt = "Your translate parts of an article from Russian to English. It contains markdown; leave the markup, links and other formatting intact, translating the actual text."
system_prompt = "You translate parts of an article from Russian to English. It contains markdown; leave the markup, links and other formatting intact, translating the actual text. Also don't translate citations."
input_token_limit = 2000