Shreyas094 commited on
Commit
4720a55
·
verified ·
1 Parent(s): 3f60bff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -382,7 +382,7 @@ def summarize_web_results(query: str, search_results: List[Dict[str, str]], conv
382
  Include key facts, relevant statistics, and expert opinions if available.
383
  Ensure the article is well-structured with an introduction, main body, and conclusion, IF NECESSARY.
384
  Determine if the new query is a continuation of the previous conversation or an entirely new topic, if its in contiuation, address the query in the context of the ongoing conversation.
385
- If it's a new topic, than DO NOT address the query in the context of the ongoing conversation.
386
  Cite sources directly within the generated text and not at the end of the generated text, integrating URLs where appropriate to support the information provided:
387
 
388
  {search_context}
 
382
  Include key facts, relevant statistics, and expert opinions if available.
383
  Ensure the article is well-structured with an introduction, main body, and conclusion, IF NECESSARY.
384
  Determine if the new query is a continuation of the previous conversation or an entirely new topic, if its in contiuation, address the query in the context of the ongoing conversation.
385
+ If it's a new topic, than address the query as a new conversation.
386
  Cite sources directly within the generated text and not at the end of the generated text, integrating URLs where appropriate to support the information provided:
387
 
388
  {search_context}