Spaces:
Sleeping
Sleeping
Update agent's advice
Browse files
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 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
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 |
|