Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -92,9 +92,9 @@ def kickoff_crew(topic: str) -> dict:
|
|
92 |
# Define Tasks
|
93 |
research_task = Task(
|
94 |
description=(
|
95 |
-
"Use DuckDuckGoSearch to gather initial information about {topic}. "
|
96 |
-
"Next, employ DuckDuckGoResults to gather full details of the insights from search results, reading them carefully and preparing detailed summaries on {topic}. "
|
97 |
-
"Utilize the WebScrapper to extract additional information and insights from all links or URLs that appear significant regarding {topic} after analyzing the snippets of the search results. "
|
98 |
"Compile your findings into an initial draft, ensuring to include all sources with their titles and links relevant to the topic. "
|
99 |
"Throughout this process, maintain a high standard of accuracy and ensure that no information is fabricated or misrepresented."
|
100 |
),
|
@@ -117,7 +117,7 @@ def kickoff_crew(topic: str) -> dict:
|
|
117 |
),
|
118 |
expected_output=(
|
119 |
"A finalized comprehensive report on ## {topic} ##. The report should be polished, with a clear and engaging narrative "
|
120 |
-
"that accurately reflects the research findings. It should include an introduction, a detailed discussion section, a concise conclusion, "
|
121 |
"and a well-organized source list. The document should be free of grammatical errors and ready for publication or presentation."
|
122 |
),
|
123 |
agent=editor,
|
|
|
92 |
# Define Tasks
|
93 |
research_task = Task(
|
94 |
description=(
|
95 |
+
"Use DuckDuckGoSearch tool to gather initial information about {topic}. "
|
96 |
+
"Next, employ DuckDuckGoResults tool to gather full details of the insights from search results, reading them carefully and preparing detailed summaries on {topic}. "
|
97 |
+
"Utilize the WebScrapper tool to extract additional information and insights from all links or URLs that appear significant regarding {topic} after analyzing the snippets of the search results. "
|
98 |
"Compile your findings into an initial draft, ensuring to include all sources with their titles and links relevant to the topic. "
|
99 |
"Throughout this process, maintain a high standard of accuracy and ensure that no information is fabricated or misrepresented."
|
100 |
),
|
|
|
117 |
),
|
118 |
expected_output=(
|
119 |
"A finalized comprehensive report on ## {topic} ##. The report should be polished, with a clear and engaging narrative "
|
120 |
+
"that accurately reflects the research findings. It should include an introduction, a detailed and extensive discussion section, a concise conclusion, "
|
121 |
"and a well-organized source list. The document should be free of grammatical errors and ready for publication or presentation."
|
122 |
),
|
123 |
agent=editor,
|