ai_workflows / agents /learning_curator.py
theRealNG's picture
workflow(lesson_extractor): v1 for lesson_extractor
4ad7a82
raw
history blame contribute delete
728 Bytes
from crewai import Agent
from llms.gpt import llm
from workflows.tools.helpers import streamlit_callback
from workflows.tools.scrape_website import scrape_tool
from workflows.tools.search_web import search_tool
learning_curator = Agent(
role="Personal Learning Curator",
goal="Make sure you present 5 articles on the topics that the user is interested in, "
"the article should provide the user with an incremental learning.",
verbose=True,
backstory=(
"As an Learning Strategist, the articles you suggest motivate and "
"provide incremental learning for the user."
),
allow_delegation=False,
tools=[scrape_tool, search_tool],
llm=llm,
step_callback=streamlit_callback
)