bstraehle commited on
Commit
7311d82
·
verified ·
1 Parent(s): 046423c

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +9 -8
crew.py CHANGED
@@ -22,22 +22,23 @@ def get_crew():
22
  web_rag_tool = WebsiteSearchTool()
23
 
24
  researcher = Agent(
25
- role='Web Research Agent.',
26
- goal='Search the web and scrape web pages.',
27
- backstory='An expert researcher that can search the web and scrape web page content.',
28
  tools=[search_tool, web_rag_tool],
29
  verbose=True
30
  )
31
 
32
  research = Task(
33
- description='Search the web and scrape web pages.',
34
- expected_output='Scraped web page content.',
35
- agent=researcher
36
  )
37
 
38
  return Crew(
39
  agents=[researcher],
40
  tasks=[research],
41
- verbose=True,
42
- planning=True
 
43
  )
 
22
  web_rag_tool = WebsiteSearchTool()
23
 
24
  researcher = Agent(
25
+ role="Web Research Agent.",
26
+ goal="Search the web and scrape web pages.",
27
+ backstory="An expert researcher that can search the web and scrape web page content.",
28
  tools=[search_tool, web_rag_tool],
29
  verbose=True
30
  )
31
 
32
  research = Task(
33
+ agent=researcher,
34
+ description="Search the web and scrape web pages.",
35
+ expected_output="Scraped web page content."
36
  )
37
 
38
  return Crew(
39
  agents=[researcher],
40
  tasks=[research],
41
+ planning=True,
42
+ process = Process.sequential,
43
+ verbose=True
44
  )