Spaces:
Runtime error
Runtime error
File size: 949 Bytes
f3f99ec 1a74bcb f3f99ec e4fabe5 f3f99ec e4fabe5 f3f99ec 9eb0b4e f3f99ec 60ce749 9eb0b4e 68e1277 9eb0b4e 68e1277 9eb0b4e f3f99ec | 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 | from crewai import Crew
from llms.gpt import llm
from agents.learning_profiler import learning_profiler
from agents.learning_curator import learning_curator
from agents.article_evaluator import article_evaluator
from agents.curiosity_catalyst import curiosity_catalyst
from tasks.create_learning_profile import learning_profile_task
from tasks.new_article_suggestion import article_suggestion_task
from tasks.evaluate_articles import evaluation_task
from tasks.create_article_pitch import article_pitch_task
article_recommendation_crew = Crew(
agents=[learning_profiler, learning_curator,
article_evaluator, curiosity_catalyst],
tasks=[learning_profile_task, article_suggestion_task,
evaluation_task, article_pitch_task],
verbose=True,
# memory=True,
manager_llm=llm,
embedder={
"provider": "openai",
"config": {
"model": 'text-embedding-3-small'
}
}
)
|