Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
from crewai import Agent
|
2 |
-
#from crewai_tools import ScrapeWebsiteTool, SerperDevTool
|
3 |
|
4 |
-
|
5 |
-
#search_tool = SerperDevTool()
|
6 |
-
|
7 |
-
def get_content_planner():
|
8 |
return Agent(
|
9 |
role="Content Planner",
|
10 |
goal="Plan engaging and factually accurate content on {topic}",
|
@@ -19,7 +15,7 @@ def get_content_planner():
|
|
19 |
verbose=True
|
20 |
)
|
21 |
|
22 |
-
def
|
23 |
return Agent(
|
24 |
role="Content Writer",
|
25 |
goal="Write insightful and factually accurate "
|
@@ -42,7 +38,7 @@ def get_content_writer():
|
|
42 |
verbose=True
|
43 |
)
|
44 |
|
45 |
-
def
|
46 |
return Agent(
|
47 |
role="Editor",
|
48 |
goal="Edit a given blog post to align with "
|
|
|
1 |
from crewai import Agent
|
|
|
2 |
|
3 |
+
def get_content_planner_agent():
|
|
|
|
|
|
|
4 |
return Agent(
|
5 |
role="Content Planner",
|
6 |
goal="Plan engaging and factually accurate content on {topic}",
|
|
|
15 |
verbose=True
|
16 |
)
|
17 |
|
18 |
+
def get_content_writer_agent():
|
19 |
return Agent(
|
20 |
role="Content Writer",
|
21 |
goal="Write insightful and factually accurate "
|
|
|
38 |
verbose=True
|
39 |
)
|
40 |
|
41 |
+
def get_editor_agent():
|
42 |
return Agent(
|
43 |
role="Editor",
|
44 |
goal="Edit a given blog post to align with "
|