Skip to content

Commit

Permalink
improved prompt for Anthropic's Claude
Browse files Browse the repository at this point in the history
  • Loading branch information
seidnerj committed Nov 29, 2024
1 parent 756ab9f commit 933ead8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engines/anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ class ClaudeTranslate(Base):
'Translate the given content from <slang> to <tlang> 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 = [
Expand Down

0 comments on commit 933ead8

Please sign in to comment.