ferferefer commited on
Commit
a57abf8
·
verified ·
1 Parent(s): d662b7a

Delete tasks.py

Browse files
Files changed (1) hide show
  1. tasks.py +0 -53
tasks.py DELETED
@@ -1,53 +0,0 @@
1
- from crewai import Task
2
-
3
- def get_research_task(agent, topic):
4
- return Task(
5
- description=f"""Research the topic "{topic}" extensively using PMC and Google Scholar.
6
- 1. Search for at least 20 relevant scientific articles
7
- 2. For each article collect:
8
- - Title
9
- - Authors
10
- - Abstract
11
- - Key findings
12
- - Publication year
13
- 3. Ensure articles are recent and from reputable sources
14
- 4. Organize the information in a structured format
15
- 5. Provide a brief summary of the collective findings""",
16
- agent=agent
17
- )
18
-
19
- def get_writing_task(agent, topic):
20
- return Task(
21
- description=f"""Write a comprehensive scientific paper about "{topic}" based on the research provided.
22
- The paper must follow this structure:
23
- 1. Introduction:
24
- - Background of the topic
25
- - Research gap
26
- - Objectives
27
- 2. Materials and Methods:
28
- - Research methodology
29
- - Data collection process
30
- - Analysis methods
31
- 3. Results (at least one page):
32
- - Key findings from the literature
33
- - Data synthesis
34
- - Statistical analysis if applicable
35
- 4. Discussion (at least one page):
36
- - Interpretation of results
37
- - Comparison with existing literature
38
- - Implications
39
- - Limitations
40
- 5. Conclusion:
41
- - Summary of findings
42
- - Future research directions
43
- 6. References:
44
- - All citations in APA format
45
- - Minimum 20 references
46
-
47
- Important:
48
- - Use proper academic writing style
49
- - Include in-text citations
50
- - Maintain logical flow between sections
51
- - Support claims with evidence from the literature""",
52
- agent=agent
53
- )