Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,9 +131,10 @@ def generate_summary(reference_data, query, chat_history):
|
|
| 131 |
7.Important - If any links or source PDFs links are available within the extracted data part which you are referring to answer the query, you must include that links in your responses, suggesting that users can refer to the links for more detailed information.
|
| 132 |
"""),
|
| 133 |
("human", f'''
|
| 134 |
-
Previous Conversation History: \n{history_text}\n
|
| 135 |
-
"Extracted Data": \n{escaped_reference_data}\n
|
| 136 |
"Query":\n {query}\n
|
|
|
|
|
|
|
|
|
|
| 137 |
'''
|
| 138 |
)
|
| 139 |
])
|
|
|
|
| 131 |
7.Important - If any links or source PDFs links are available within the extracted data part which you are referring to answer the query, you must include that links in your responses, suggesting that users can refer to the links for more detailed information.
|
| 132 |
"""),
|
| 133 |
("human", f'''
|
|
|
|
|
|
|
| 134 |
"Query":\n {query}\n
|
| 135 |
+
"Previous Conversation History": \n{history_text}\n
|
| 136 |
+
"Extracted Data": \n{escaped_reference_data}\n
|
| 137 |
+
|
| 138 |
'''
|
| 139 |
)
|
| 140 |
])
|