Update app.py
Browse files
app.py
CHANGED
|
@@ -44,6 +44,7 @@ context = (
|
|
| 44 |
"Do not make up your own answers, refer only from the given information. "
|
| 45 |
"Your answers use correct grammar and your texting style is casual. "
|
| 46 |
"Always be friendly, always reply in German! "
|
|
|
|
| 47 |
)
|
| 48 |
|
| 49 |
prompt = (
|
|
@@ -56,7 +57,7 @@ prompt = (
|
|
| 56 |
"Do not make up your own answers, refer only from the given information. "
|
| 57 |
"Your answers use correct grammar and your texting style is casual. "
|
| 58 |
"Always be friendly, always reply in German! "
|
| 59 |
-
|
| 60 |
)
|
| 61 |
|
| 62 |
prompt_template = PromptTemplate(prompt)
|
|
|
|
| 44 |
"Do not make up your own answers, refer only from the given information. "
|
| 45 |
"Your answers use correct grammar and your texting style is casual. "
|
| 46 |
"Always be friendly, always reply in German! "
|
| 47 |
+
"Put the page number of the information that you are referring to in brackets after the answer. "
|
| 48 |
)
|
| 49 |
|
| 50 |
prompt = (
|
|
|
|
| 57 |
"Do not make up your own answers, refer only from the given information. "
|
| 58 |
"Your answers use correct grammar and your texting style is casual. "
|
| 59 |
"Always be friendly, always reply in German! "
|
| 60 |
+
"Put the page number of the information that you are referring to in brackets after the answer. "
|
| 61 |
)
|
| 62 |
|
| 63 |
prompt_template = PromptTemplate(prompt)
|