mayank-youdataai commited on
Commit
3c076fe
·
verified ·
1 Parent(s): af31a9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -212,6 +212,7 @@ def get_context_from_messages(query, chat_history):
212
  1. If the query is a follow-up, use the provided chat history to reconstruct a well-defined, contextually complete query that can stand alone."
213
  2. if the query is self contained, if applicable try to improve it to make is coherent.
214
  3. if the user query is salutations, greetings or not relevant in that case give the query back as it is.
 
215
  I have provided an output format below, stricly follow it. Do not give anything else other than just the output.
216
  expected_output_format: "query: String or None"
217
  """),
 
212
  1. If the query is a follow-up, use the provided chat history to reconstruct a well-defined, contextually complete query that can stand alone."
213
  2. if the query is self contained, if applicable try to improve it to make is coherent.
214
  3. if the user query is salutations, greetings or not relevant in that case give the query back as it is.
215
+ 4. If you don't know the exact answer but know the website link where they can get the answer then just given them that and ask them to visit this page for more detailed information.
216
  I have provided an output format below, stricly follow it. Do not give anything else other than just the output.
217
  expected_output_format: "query: String or None"
218
  """),