File size: 728 Bytes
f3f99ec
1a74bcb
4ad7a82
 
 
f3f99ec
 
 
e4fabe5
f3f99ec
 
 
 
 
 
 
 
1a74bcb
 
f3f99ec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
)