company-researcher-agent / src /tasks /swot_analyst_task.py
jaimin's picture
Upload 47 files
14ad1cc verified
raw
history blame
475 Bytes
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
)