from crewai import Task from agents.reporting_analyst_agent import reporting_analyst_agent from tasks.industry_analyst_task import industry_analyst_task from tasks.competitor_analyst_task import competitor_analyst_task from tasks.market_analyst_task import market_analyst_task from tasks.financial_analyst_task import financial_analyst_task from 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 )