Spaces:
Runtime error
Runtime error
Download agents/learning_profiler.py from beautiful-code/ai_workflows: direct link, hf CLI and curl.
- Browser
- Download file 645 Bytes
-
https://huggingface.co/spaces/beautiful-code/ai_workflows/resolve/refs%2Fpr%2F1/agents/learning_profiler.py
- Command line
-
hf download hf://spaces/beautiful-code/ai_workflows@refs/pr/1/agents/learning_profiler.py
-
curl -L -o learning_profiler.py https://huggingface.co/spaces/beautiful-code/ai_workflows/resolve/refs%2Fpr%2F1/agents/learning_profiler.py
645 Bytes
| from crewai import Agent | |
| from llms.gpt import llm | |
| from tools.helpers import streamlit_callback | |
| from tools.scrape_website import scrape_tool | |
| learning_profiler = Agent( | |
| role="Personal Learning Profiler", | |
| goal="Make sure to create an excellent learning profile of the user based on his interests and previous reading history.", | |
| verbose=True, | |
| backstory=( | |
| "As a Personal Learning Profiler, you excel at building a learning profile of a user. " | |
| "The profile you build gives a high level overview of what interests that the user has. " | |
| ), | |
| allow_delegation=False, | |
| llm=llm, | |
| step_callback=streamlit_callback | |
| ) | |