From 378bd7d284464bb1673a5f296f0d5ca3e867907f Mon Sep 17 00:00:00 2001 From: jinx <59938808+JinxTheCatto@users.noreply.github.com> Date: Tue, 4 Feb 2025 13:07:22 -0800 Subject: [PATCH] Correct current year in tasks, to get more up to date results (#2010) Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com> --- README.md | 2 +- docs/concepts/planning.mdx | 4 ++-- docs/concepts/tasks.mdx | 4 ++-- docs/how-to/human-input-on-execution.mdx | 6 +++--- docs/quickstart.mdx | 8 ++++---- tests/config/tasks.yaml | 2 +- tests/task_test.py | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index edcbb6f51..917add533 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ research_task: description: > Conduct a thorough research about {topic} Make sure you find any interesting and relevant information given - the current year is 2024. + the current year is 2025. expected_output: > A list with 10 bullet points of the most relevant information about {topic} agent: researcher diff --git a/docs/concepts/planning.mdx b/docs/concepts/planning.mdx index 79e747425..c92d64ebe 100644 --- a/docs/concepts/planning.mdx +++ b/docs/concepts/planning.mdx @@ -81,8 +81,8 @@ my_crew.kickoff() 3. **Collect Data:** - - Search for the latest papers, articles, and reports published in 2023 and early 2024. - - Use keywords like "Large Language Models 2024", "AI LLM advancements", "AI ethics 2024", etc. + - Search for the latest papers, articles, and reports published in 2024 and early 2025. + - Use keywords like "Large Language Models 2025", "AI LLM advancements", "AI ethics 2025", etc. 4. **Analyze Findings:** diff --git a/docs/concepts/tasks.mdx b/docs/concepts/tasks.mdx index de7378879..4aa47c416 100644 --- a/docs/concepts/tasks.mdx +++ b/docs/concepts/tasks.mdx @@ -69,7 +69,7 @@ research_task: description: > Conduct a thorough research about {topic} Make sure you find any interesting and relevant information given - the current year is 2024. + the current year is 2025. expected_output: > A list with 10 bullet points of the most relevant information about {topic} agent: researcher @@ -155,7 +155,7 @@ research_task = Task( description=""" Conduct a thorough research about AI Agents. Make sure you find any interesting and relevant information given - the current year is 2024. + the current year is 2025. """, expected_output=""" A list with 10 bullet points of the most relevant information about AI Agents diff --git a/docs/how-to/human-input-on-execution.mdx b/docs/how-to/human-input-on-execution.mdx index de8c8a0a8..bf243981d 100644 --- a/docs/how-to/human-input-on-execution.mdx +++ b/docs/how-to/human-input-on-execution.mdx @@ -60,12 +60,12 @@ writer = Agent( # Create tasks for your agents task1 = Task( description=( - "Conduct a comprehensive analysis of the latest advancements in AI in 2024. " + "Conduct a comprehensive analysis of the latest advancements in AI in 2025. " "Identify key trends, breakthrough technologies, and potential industry impacts. " "Compile your findings in a detailed report. " "Make sure to check with a human if the draft is good before finalizing your answer." ), - expected_output='A comprehensive full report on the latest AI advancements in 2024, leave nothing out', + expected_output='A comprehensive full report on the latest AI advancements in 2025, leave nothing out', agent=researcher, human_input=True ) @@ -76,7 +76,7 @@ task2 = Task( "Your post should be informative yet accessible, catering to a tech-savvy audience. " "Aim for a narrative that captures the essence of these breakthroughs and their implications for the future." ), - expected_output='A compelling 3 paragraphs blog post formatted as markdown about the latest AI advancements in 2024', + expected_output='A compelling 3 paragraphs blog post formatted as markdown about the latest AI advancements in 2025', agent=writer, human_input=True ) diff --git a/docs/quickstart.mdx b/docs/quickstart.mdx index dfb2c233c..9fb8f783a 100644 --- a/docs/quickstart.mdx +++ b/docs/quickstart.mdx @@ -58,7 +58,7 @@ Follow the steps below to get crewing! 🚣‍♂️ description: > Conduct a thorough research about {topic} Make sure you find any interesting and relevant information given - the current year is 2024. + the current year is 2025. expected_output: > A list with 10 bullet points of the most relevant information about {topic} agent: researcher @@ -195,10 +195,10 @@ Follow the steps below to get crewing! 🚣‍♂️ ```markdown output/report.md - # Comprehensive Report on the Rise and Impact of AI Agents in 2024 + # Comprehensive Report on the Rise and Impact of AI Agents in 2025 ## 1. Introduction to AI Agents - In 2024, Artificial Intelligence (AI) agents are at the forefront of innovation across various industries. As intelligent systems that can perform tasks typically requiring human cognition, AI agents are paving the way for significant advancements in operational efficiency, decision-making, and overall productivity within sectors like Human Resources (HR) and Finance. This report aims to detail the rise of AI agents, their frameworks, applications, and potential implications on the workforce. + In 2025, Artificial Intelligence (AI) agents are at the forefront of innovation across various industries. As intelligent systems that can perform tasks typically requiring human cognition, AI agents are paving the way for significant advancements in operational efficiency, decision-making, and overall productivity within sectors like Human Resources (HR) and Finance. This report aims to detail the rise of AI agents, their frameworks, applications, and potential implications on the workforce. ## 2. Benefits of AI Agents AI agents bring numerous advantages that are transforming traditional work environments. Key benefits include: @@ -252,7 +252,7 @@ Follow the steps below to get crewing! 🚣‍♂️ To stay competitive and harness the full potential of AI agents, organizations must remain vigilant about latest developments in AI technology and consider continuous learning and adaptation in their strategic planning. ## 8. Conclusion - The emergence of AI agents is undeniably reshaping the workplace landscape in 2024. With their ability to automate tasks, enhance efficiency, and improve decision-making, AI agents are critical in driving operational success. Organizations must embrace and adapt to AI developments to thrive in an increasingly digital business environment. + The emergence of AI agents is undeniably reshaping the workplace landscape in 5. With their ability to automate tasks, enhance efficiency, and improve decision-making, AI agents are critical in driving operational success. Organizations must embrace and adapt to AI developments to thrive in an increasingly digital business environment. ``` diff --git a/tests/config/tasks.yaml b/tests/config/tasks.yaml index f30820855..88639debb 100644 --- a/tests/config/tasks.yaml +++ b/tests/config/tasks.yaml @@ -2,7 +2,7 @@ research_task: description: > Conduct a thorough research about {topic} Make sure you find any interesting and relevant information given - the current year is 2024. + the current year is 2025. expected_output: > A list with 10 bullet points of the most relevant information about {topic} agent: researcher diff --git a/tests/task_test.py b/tests/task_test.py index 5ffaf2534..3cd11cfc7 100644 --- a/tests/task_test.py +++ b/tests/task_test.py @@ -723,14 +723,14 @@ def test_interpolate_inputs(): ) task.interpolate_inputs_and_add_conversation_history( - inputs={"topic": "AI", "date": "2024"} + inputs={"topic": "AI", "date": "2025"} ) assert ( task.description == "Give me a list of 5 interesting ideas about AI to explore for an article, what makes them unique and interesting." ) assert task.expected_output == "Bullet point list of 5 interesting ideas about AI." - assert task.output_file == "/tmp/AI/output_2024.txt" + assert task.output_file == "/tmp/AI/output_2025.txt" task.interpolate_inputs_and_add_conversation_history( inputs={"topic": "ML", "date": "2025"}