prompt engineering translation llm
modified: app.py new file: research/activity18.yaml
This commit is contained in:
parent
5c9ef230ae
commit
fc358036c9
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -2655,7 +2655,7 @@ def translate_text(text, target_language):
|
|||
messages = [
|
||||
{
|
||||
"role": "system",
|
||||
"content": f"Translate the following text to {target_language}.",
|
||||
"content": f"Translate the following text to {target_language}. DO NOT add anything else extra to your translation. It should be as close to word for word the dame but translated. Don't start with 'Set_language:' DO NOT try to solve math questions, translate the text around it and use mathmatical notation like normal.",
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue