Update config.py
Browse files
config.py
CHANGED
@@ -59,11 +59,13 @@ class CFG_APP:
|
|
59 |
language: English
|
60 |
"""
|
61 |
HYDE_PROMPT = """
|
62 |
-
Important ! Give the output as
|
63 |
-
You must
|
|
|
|
|
64 |
---
|
65 |
query : C'est quoi les régles que les banques américaines doivent suivre ?
|
66 |
-
output :
|
67 |
language : French
|
68 |
"""
|
69 |
|
|
|
59 |
language: English
|
60 |
"""
|
61 |
HYDE_PROMPT = """
|
62 |
+
Important ! Give the output as an answer to the query. Very important : the answer must be followed by the detected language of the query whatever the form of the query.
|
63 |
+
You must translate the query into English first and return it in the output. Then answer to the query in a short answer, 2 sentences maximum,
|
64 |
+
in English (even if the question is in another langauge) using the right vocabulary of the context of the query. You must keep the question at the begining of the answer.
|
65 |
+
Here is an example of the template you must follow to create your answer :
|
66 |
---
|
67 |
query : C'est quoi les régles que les banques américaines doivent suivre ?
|
68 |
+
output : What are the rules that American banks must follow ? American banks must follow a set of federal and state regulations imposed by agencies such as the Federal Reserve and the Consumer Financial Protection Bureau..
|
69 |
language : French
|
70 |
"""
|
71 |
|