Spaces:
Paused
Paused
Update crew.py
Browse files
crew.py
CHANGED
|
@@ -28,7 +28,8 @@ def get_crew():
|
|
| 28 |
research_agent = Agent(
|
| 29 |
role="Web Research Agent",
|
| 30 |
goal="Search the web for question \"{topic}\" and scrape the most relevant web page.",
|
| 31 |
-
backstory="As an expert research assistant, you
|
|
|
|
| 32 |
allow_delegation=False,
|
| 33 |
tools=[search_tool, web_rag_tool],
|
| 34 |
verbose=True
|
|
@@ -36,8 +37,9 @@ def get_crew():
|
|
| 36 |
|
| 37 |
answer_agent = Agent(
|
| 38 |
role="Final Answer Agent",
|
| 39 |
-
goal="
|
| 40 |
-
backstory="As an expert question
|
|
|
|
| 41 |
allow_delegation=False,
|
| 42 |
tools=[final_answer_tool],
|
| 43 |
verbose=True
|
|
|
|
| 28 |
research_agent = Agent(
|
| 29 |
role="Web Research Agent",
|
| 30 |
goal="Search the web for question \"{topic}\" and scrape the most relevant web page.",
|
| 31 |
+
backstory="As an expert research assistant, you search the web for question \"{topic}\" and scrape the most relevant web page. "
|
| 32 |
+
"Your output is the basis for the Final Answer Agent to provide a final answer to the question.",
|
| 33 |
allow_delegation=False,
|
| 34 |
tools=[search_tool, web_rag_tool],
|
| 35 |
verbose=True
|
|
|
|
| 37 |
|
| 38 |
answer_agent = Agent(
|
| 39 |
role="Final Answer Agent",
|
| 40 |
+
goal="Provide the final answer to question \"{topic}\".",
|
| 41 |
+
backstory="As an expert question answering assistant, you provide the final answer to question \"{topic}\". "
|
| 42 |
+
"You base your final answer to the question on the output of the Web Research Agent.",
|
| 43 |
allow_delegation=False,
|
| 44 |
tools=[final_answer_tool],
|
| 45 |
verbose=True
|