Skip to content

Commit

Permalink
fix a typo in improvement_prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt committed Jun 13, 2024
1 parent ef53445 commit d5b4381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/translation_agent/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <SOURCE_TEXT> and </SOURCE_TEXT>, and the part that has been translated
is delimited by <TRANSLATE_THIS> and </TRANSLATE_THIS> within the source text. You can use the rest of the source text
Expand Down

0 comments on commit d5b4381

Please sign in to comment.