Spaces:
Runtime error
Runtime error
Download agents/learning_curator.py from beautiful-code/ai_workflows: direct link, hf CLI and curl.
- Browser
- Download file 728 Bytes
-
https://huggingface.co/spaces/beautiful-code/ai_workflows/resolve/main/agents/learning_curator.py
- Command line
-
hf download hf://spaces/beautiful-code/ai_workflows/agents/learning_curator.py
-
curl -L -o learning_curator.py https://huggingface.co/spaces/beautiful-code/ai_workflows/resolve/main/agents/learning_curator.py
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 | |
| ) | |