-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagents.py
More file actions
28 lines (25 loc) · 709 Bytes
/
agents.py
File metadata and controls
28 lines (25 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from crewai import Agent
from tools import yt_tool
blog_researcher=Agent(
role='blog reseacher from youtube videos',
goal='get the relevant content for the topic {topic} from the youtube channel',
verbose=True,
memory=True,
backstory=(
"expert in understanding videos in AI data science, ml, gen AI"
),
tools=[],
allow_delegation=True
)
blog_writer=Agent(
role='blog writer from youtube videos',
goal='get the relevant content for the topic {topic} from the youtube channel and summarize',
verbose=True,
memory=True,
backstory=(
"expert in summarizing videos "
"expert in english"
),
tools=[],
allow_delegation=True
)