Chris Alexiuk
commited on
Commit
·
b642769
1
Parent(s):
afe0594
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,14 +19,14 @@ text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=10
|
|
| 19 |
system_template = """
|
| 20 |
Use the following pieces of context to answer the users question.
|
| 21 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
| 22 |
-
ALWAYS return a "
|
| 23 |
-
The "
|
| 24 |
|
| 25 |
Example of your response should be:
|
| 26 |
|
| 27 |
```
|
| 28 |
The answer is foo
|
| 29 |
-
|
| 30 |
```
|
| 31 |
|
| 32 |
Begin!
|
|
|
|
| 19 |
system_template = """
|
| 20 |
Use the following pieces of context to answer the users question.
|
| 21 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
| 22 |
+
ALWAYS return a "Review_Url" part in your answer.
|
| 23 |
+
The "Review_Url" part should be a reference to the source of the document from which you got your answer.
|
| 24 |
|
| 25 |
Example of your response should be:
|
| 26 |
|
| 27 |
```
|
| 28 |
The answer is foo
|
| 29 |
+
Review_Url: xyz
|
| 30 |
```
|
| 31 |
|
| 32 |
Begin!
|