AIAgent / agents.py
Adi016's picture
Update agents.py
c948960 verified
raw
history blame contribute delete
851 Bytes
from crewai import Agent
from tools import yt_tool
blog_researcher=Agent(
role='Blog Researcher from Youtube Videos',
goal='get the relevant video transcription for the topic {topic} from the provided Yt channel',
verboe=True,
memory=True,
backstory=(
"Expert in understanding videos in AI Data Science , MAchine Learning And GEN AI and providing suggestion"
),
tools=[yt_tool],
allow_delegation=True
)
blog_writer=Agent(
role='Blog Writer',
goal='Narrate compelling tech stories about the video {topic} from YT video',
verbose=True,
memory=True,
backstory=(
"With a flair for simplifying complex topics, you craft engaging narratives that captivate and educate, bringing new discoveries to light in an accessible manner."
),
tools=[yt_tool],
allow_delegation=False
)