Prathamesh1420
commited on
Delete tasks.py
Browse files
tasks.py
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
from crewai import Task
|
2 |
-
from tools import yt_tool
|
3 |
-
from agents import blog_researcher,blog_writer
|
4 |
-
|
5 |
-
## Research Task
|
6 |
-
research_task = Task(
|
7 |
-
description=(
|
8 |
-
"Identify the video {topic}."
|
9 |
-
"Get detailed information about the video from the channel video."
|
10 |
-
),
|
11 |
-
expected_output='A comprehensive 3 paragraphs long report based on the {topic} of video content.',
|
12 |
-
tools=[yt_tool],
|
13 |
-
agent=blog_researcher,
|
14 |
-
)
|
15 |
-
|
16 |
-
# Writing task with language model configuration
|
17 |
-
write_task = Task(
|
18 |
-
description=(
|
19 |
-
"get the info from the youtube channel on the topic {topic}."
|
20 |
-
),
|
21 |
-
expected_output='Summarize the info from the youtube channel video on the topic{topic} and create the content for the blog',
|
22 |
-
tools=[yt_tool],
|
23 |
-
agent=blog_writer,
|
24 |
-
async_execution=False,
|
25 |
-
output_file='new-blog-post.md' # Example of output customization
|
26 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|