File size: 471 Bytes
0d18784
c0e8213
0d18784
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from crewai import Task
from 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
)