File size: 489 Bytes
93e5d93
 
 
11f9173
1814208
074a596
619fc35
e8f9166
11f9173
1814208
6172832
e8f9166
1
2
3
4
5
6
7
8
9
10
11
12
from crewai import Crew, Process
from langchain_openai import ChatOpenAI

from agents import get_content_planner_agent, get_content_writer_agent, get_editor_agent
from tasks import get_content_planner_task, get_content_writer_task, get_editor_task

def get_crew():
    return Crew(
        agents=[get_content_planner_agent(), get_content_writer_agent(), get_editor_agent()],
        tasks=[get_content_planner_task(), get_content_writer_task(), get_editor_task()],
        verbose=2
    )