Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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}
|