Skip to content

Commit

Permalink
Merge pull request #12 from Oreoxmt/fix/typo
Browse files Browse the repository at this point in the history
fix a typo in improvement_prompt
  • Loading branch information
methanet committed Jun 28, 2024
2 parents 6cc1d66 + d5b4381 commit d6fe934
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 d6fe934

Please sign in to comment.