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_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 | |
) |