bstraehle commited on
Commit
e634ae3
·
verified ·
1 Parent(s): 13c2cf4

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +5 -3
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 are searching the web for question \"{topic}\" and scraping the most relevant web page. Your output is input to the Final Answer Agent.",
 
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="Your input is output from the Web Search Agent. Provide the final answer to question \"{topic}\".",
40
- backstory="As an expert question/answer assistant, you are providing the final answer to question \"{topic}\".",
 
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