File size: 475 Bytes
14ad1cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from crewai import Task
from src.agents.swot_analyst_agent import swot_analyst_agent

swot_analyst_task = Task(
    description=(
        "Conduct a SWOT analysis for the company {company}. "
        "Summarize strengths, weaknesses, opportunities, and threats."
    ),
    expected_output=(
        "A brief SWOT analysis report for {company}, including:\n"
        "1. Strengths and weaknesses\n"
        "2. Opportunities and threats"
    ),
    agent=swot_analyst_agent
)