Shreyas094 commited on
Commit
4e7e055
·
verified ·
1 Parent(s): e998c03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -479,7 +479,7 @@ def get_response_with_search(query, model, num_calls=3, temperature=0.2):
479
  prompt = f"""Using the following context from a web search result:
480
  {context}
481
  This information is from {date}.
482
- You are an expert AI assistant. Write a detailed summary of the information provided in this source that is relevant to the following user request: '{query}'
483
  Base your summary strictly on the information from this source. Only include information that is directly supported by the given content.
484
  If any part of the information cannot be verified from this source, clearly state that it could not be confirmed."""
485
 
 
479
  prompt = f"""Using the following context from a web search result:
480
  {context}
481
  This information is from {date}.
482
+ You are an expert AI assistant. Write a detailed and complete research document that fulfills the following user request: '{query}'
483
  Base your summary strictly on the information from this source. Only include information that is directly supported by the given content.
484
  If any part of the information cannot be verified from this source, clearly state that it could not be confirmed."""
485