File size: 1,077 Bytes
14ad1cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from crewai import Task
from src.agents.reporting_analyst_agent import reporting_analyst_agent
from src.tasks.industry_analyst_task import industry_analyst_task
from src.tasks.competitor_analyst_task import competitor_analyst_task
from src.tasks.market_analyst_task import market_analyst_task
from src.tasks.financial_analyst_task import financial_analyst_task
from src.tasks.swot_analyst_task import swot_analyst_task

reporting_analyst_task = Task(
    description=(
        "Compile and synthesize data from industry, competitor, market, financial, and SWOT analysts into a comprehensive report. "
        "Ensure the report is detailed and highlights all key findings."
    ),
    expected_output=(
        "A detailed report that combines industry, competitor, market, financial, and SWOT analysis for {company}, "
        "highlighting important findings."
    ),
    context=[
        industry_analyst_task,
        competitor_analyst_task,
        market_analyst_task,
        financial_analyst_task,
        swot_analyst_task
    ],
    agent=reporting_analyst_agent
)