From e39369be88b26578a7fab83c5eb41300801dd550 Mon Sep 17 00:00:00 2001 From: "E. S" Date: Sun, 9 Feb 2025 04:17:39 +0300 Subject: [PATCH] translator: fix and update prompt --- idb/translator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idb/translator.py b/idb/translator.py index 2a78529..f3ba945 100644 --- a/idb/translator.py +++ b/idb/translator.py @@ -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