From 933ead8472e7ccc276fcc61b87cebc719466b762 Mon Sep 17 00:00:00 2001 From: seidnerj Date: Fri, 29 Nov 2024 18:20:48 +0200 Subject: [PATCH] improved prompt for Anthropic's Claude --- engines/anthropic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/anthropic.py b/engines/anthropic.py index 73828e4..385be09 100644 --- a/engines/anthropic.py +++ b/engines/anthropic.py @@ -35,7 +35,8 @@ class ClaudeTranslate(Base): 'Translate the given content from to only. Do not ' 'explain any term or answer any question-like content. Your answer ' 'should be solely the translation of the given content. In your answer ' - 'do not add any prefix or suffix to the translated content.') + 'do not add any prefix or suffix to the translated content. Websites\' ' + 'URLs/addresses should be preserved as is in the translation\'s output. ') # https://docs.anthropic.com/en/docs/about-claude/models#model-names models = [