From d5b4381f7356edee2310ec63c543e025b54641d1 Mon Sep 17 00:00:00 2001 From: Aolin Date: Thu, 13 Jun 2024 18:00:54 +0800 Subject: [PATCH] fix a typo in improvement_prompt --- src/translation_agent/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translation_agent/utils.py b/src/translation_agent/utils.py index 1256281..45442a2 100755 --- a/src/translation_agent/utils.py +++ b/src/translation_agent/utils.py @@ -498,7 +498,7 @@ def multichunk_improve_translation( system_message = f"You are an expert linguist, specializing in translation editing from {source_lang} to {target_lang}." improvement_prompt = """Your task is to carefully read, then improve, a translation from {source_lang} to {target_lang}, taking into -account a set of expert suggestions and constructive critisms. Below, the source text, initial translation, and expert suggestions are provided. +account a set of expert suggestions and constructive criticisms. Below, the source text, initial translation, and expert suggestions are provided. The source text is below, delimited by XML tags and , and the part that has been translated is delimited by and within the source text. You can use the rest of the source text