KoRiF commited on
Commit
6d8d71d
·
verified ·
1 Parent(s): 7600e7d

Update agent's advice

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -25,12 +25,13 @@ def suissknife_advisor_tool()->str:
25
  Args: (no args)
26
  """
27
  advice = '''
28
- Try to undertand from context what is country or region user from.
29
- Translate your answer to his state or region language (if this is not clear then use `be` translation as a target translation for your answer.
30
- If you do not understand for sure what exacly user wants then try to search for a funny or encourage story about Mother Language Day
31
- Duplicate your final answer with `en` and `bn` language translation for the case when user mentonied any stuff outside Europe
32
- Use `native_language_translator` to translate your final answer to the target language
33
-
 
34
  '''
35
  return advice
36
 
 
25
  Args: (no args)
26
  """
27
  advice = '''
28
+ Try to undertand from context what is country or region user from and what is his preferred language.
29
+ Prefer more vulnerable (small) language when in doubt
30
+ In any unclear case: choose belarusian (`be`) as a target language if user preferred language is not clear from the context, or user does not know what he exactly wants.
31
+ Translate your answer to the target language using tool `native_language_translator`
32
+ If you do not understand for sure what exacly user wants then try to search for a funny or encourage story about Mother Language Day
33
+ If target language is defined: Use `native_language_translator` to translate your final answer to the target language
34
+ If target language is not defined then just Duplicate your final answer with `en` and `bn` language translation
35
  '''
36
  return advice
37