Spaces:
Runtime error
Runtime error
Download agents/curiosity_catalyst.py from beautiful-code/ai_workflows: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/spaces/beautiful-code/ai_workflows/resolve/main/agents/curiosity_catalyst.py
- Command line
-
hf download hf://spaces/beautiful-code/ai_workflows/agents/curiosity_catalyst.py
-
curl -L -o curiosity_catalyst.py https://huggingface.co/spaces/beautiful-code/ai_workflows/resolve/main/agents/curiosity_catalyst.py
526 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 | |
| curiosity_catalyst = Agent( | |
| role="Curiosity Catalyst", | |
| goal="To pique the user's curiosity to read the article.", | |
| verbose=True, | |
| tools=[scrape_tool], | |
| backstory=( | |
| "As a Curiosity Catalyst, you know exactly how to pique the user's curiosity " | |
| "for reading the articles." | |
| ), | |
| allow_delegation=False, | |
| llm=llm, | |
| step_callback=streamlit_callback | |
| ) | |