Spaces:
Build error
Build error
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -30,6 +30,7 @@ class ContentAgents:
|
|
| 30 |
return Agent(
|
| 31 |
role='Senior Content Planner',
|
| 32 |
goal=f'Create a detailed and structured content plan for a blog post about {topic} that will guide further content creation steps.',
|
|
|
|
| 33 |
llm=self.llm,
|
| 34 |
tools=[web_scraper_tool],
|
| 35 |
allow_delegation=False,
|
|
@@ -39,6 +40,7 @@ class ContentAgents:
|
|
| 39 |
return Agent(
|
| 40 |
role='Market and Domain Research Analyst',
|
| 41 |
goal=f'Provide accurate and up-to-date domain knowledge and image references for the topic {topic} to support content creation.',
|
|
|
|
| 42 |
llm=self.llm,
|
| 43 |
tools=[web_scraper_tool],
|
| 44 |
allow_delegation=False,
|
|
@@ -48,6 +50,7 @@ class ContentAgents:
|
|
| 48 |
return Agent(
|
| 49 |
role='Senior Content Writer',
|
| 50 |
goal=f'Write a high-quality, engaging, and informative blog post on {topic}, based on the content plan and research provided.',
|
|
|
|
| 51 |
llm=self.llm,
|
| 52 |
tools=[image_search_tool],
|
| 53 |
allow_delegation=False,
|
|
|
|
| 30 |
return Agent(
|
| 31 |
role='Senior Content Planner',
|
| 32 |
goal=f'Create a detailed and structured content plan for a blog post about {topic} that will guide further content creation steps.',
|
| 33 |
+
backstory="You are a seasoned strategist responsible for developing content plans, conducting research, and ensuring the foundation for high-quality articles.",
|
| 34 |
llm=self.llm,
|
| 35 |
tools=[web_scraper_tool],
|
| 36 |
allow_delegation=False,
|
|
|
|
| 40 |
return Agent(
|
| 41 |
role='Market and Domain Research Analyst',
|
| 42 |
goal=f'Provide accurate and up-to-date domain knowledge and image references for the topic {topic} to support content creation.',
|
| 43 |
+
backstory="You are a seasoned strategist responsible for developing content plans, conducting research, and ensuring the foundation for high-quality articles.",
|
| 44 |
llm=self.llm,
|
| 45 |
tools=[web_scraper_tool],
|
| 46 |
allow_delegation=False,
|
|
|
|
| 50 |
return Agent(
|
| 51 |
role='Senior Content Writer',
|
| 52 |
goal=f'Write a high-quality, engaging, and informative blog post on {topic}, based on the content plan and research provided.',
|
| 53 |
+
backstory="You are a seasoned strategist responsible for developing content plans, conducting research, and ensuring the foundation for high-quality articles.",
|
| 54 |
llm=self.llm,
|
| 55 |
tools=[image_search_tool],
|
| 56 |
allow_delegation=False,
|