File size: 814 Bytes
4af31b0 |
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 27 28 29 30 31 |
from textwrap import dedent
from crewai import Task
from agents import topic_researcher_agent, writer_agent
topic_research_task = Task(
description=dedent(
"""
Get valuable and high quality web information about the comparison between Llama 2 and Llama 3
"""
),
expected_output=dedent(
"""
Your task is to gather high quality information about the comparison between Llama 2 and Llama 3
"""
),
agent=topic_researcher_agent,
)
write_task = Task(
description=dedent(
"""
Create an article that summarises the difference between Llama 2 and Llama 3
"""
),
expected_output=dedent(
"""
A high-quality and engaging article comparing Llama 2 and Llama 3.
"""
),
agent=writer_agent,
) |