Spaces:
Running
Running
Update crew.py
Browse files
crew.py
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
from crewai import Crew, Process
|
2 |
from langchain_openai import ChatOpenAI
|
3 |
|
4 |
-
from agents import
|
5 |
-
from tasks import
|
6 |
|
7 |
def get_crew():
|
8 |
return Crew(
|
9 |
-
agents=[
|
10 |
get_author_agent()],
|
11 |
|
12 |
-
tasks=[
|
13 |
get_author_task()],
|
14 |
|
15 |
manager_llm=ChatOpenAI(model="gpt-3.5-turbo",
|
|
|
1 |
from crewai import Crew, Process
|
2 |
from langchain_openai import ChatOpenAI
|
3 |
|
4 |
+
from agents import get_researcher_agent, get_author_agent
|
5 |
+
from tasks import get_researcher_task, get_author_task
|
6 |
|
7 |
def get_crew():
|
8 |
return Crew(
|
9 |
+
agents=[get_researcher_agent(),
|
10 |
get_author_agent()],
|
11 |
|
12 |
+
tasks=[get_researcher_task(),
|
13 |
get_author_task()],
|
14 |
|
15 |
manager_llm=ChatOpenAI(model="gpt-3.5-turbo",
|