akshansh36 commited on
Commit
48f2a44
·
verified ·
1 Parent(s): 0a08d38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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
  ])