ai_workflows / agents /curiosity_catalyst.py
Quizra
add code to spin streamlit ui
1a74bcb
raw
history blame
506 Bytes
from crewai import Agent
from llms.gpt import llm
from tools.helpers import streamlit_callback
from 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
)