Spaces:
Running
Running
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_plan_task, get_write_task, get_edit_task | |
def get_crew(): | |
return Crew( | |
agents=[get_content_planner_agent(), get_content_writer_agent(), get_editor_agent()], | |
tasks=[get_plan_task(), get_write_task(), get_edit_task()], | |
verbose=2 | |
) |