You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fixing identation for AgentTools
* updating gitignore to exclude quick test script
* startingprompt translation
* supporting individual task output
* adding agent to task output
* cutting new version
* Updating README example
goal='Craft compelling content on tech advancements',
81
-
backstory="""You are a renowned Tech Content Strategist, known for your insightful
82
-
and engaging articles on technology and innovation. With a deep understanding of
83
-
the tech industry, you transform complex concepts into compelling narratives.""",
82
+
backstory="""You are a renowned Content Strategist, known for
83
+
your insightful and engaging articles.
84
+
You transform complex concepts into compelling narratives.""",
84
85
verbose=True,
85
-
# (optional) llm=ollama_llm, If you wanna use a local modal through Ollama, default is GPT4 with temperature=0.7
86
-
allow_delegation=True
86
+
allow_delegation=True,
87
+
# (optional) llm=ollama_llm
87
88
)
88
89
89
90
# Create tasks for your agents
90
91
task1 = Task(
91
92
description="""Conduct a comprehensive analysis of the latest advancements in AI in 2024.
92
93
Identify key trends, breakthrough technologies, and potential industry impacts.
93
-
Compile your findings in a detailed report. Your final answer MUST be a full analysis report""",
94
+
Your final answer MUST be a full analysis report""",
94
95
agent=researcher
95
96
)
96
97
97
98
task2 = Task(
98
-
description="""Using the insights from the researcher's report, develop an engaging blog
99
+
description="""Using the insights provided, develop an engaging blog
99
100
post that highlights the most significant AI advancements.
100
101
Your post should be informative yet accessible, catering to a tech-savvy audience.
101
-
Aim for a narrative that captures the essence of these breakthroughs and their
102
-
implications for the future. Your final answer MUST be the full blog post of at least 3 paragraphs.""",
102
+
Make it sound cool, avoid complex words so it doesn't sound like AI.
103
+
Your final answer MUST be the full blog post of at least 4 paragraphs.""",
103
104
agent=writer
104
105
)
105
106
106
107
# Instantiate your crew with a sequential process
107
108
crew = Crew(
108
109
agents=[researcher, writer],
109
110
tasks=[task1, task2],
110
-
verbose=2, # Crew verbose more will let you know what tasks are being worked on, you can set it to 1 or 2 to different logging levels
111
-
process=Process.sequential # Sequential process will have tasks executed one after the other and the outcome of the previous one is passed as extra content into this next.
111
+
verbose=2, # You can set it to 1 or 2 to different logging levels
"task": "Begin! This is VERY important to you, your job depends on it!\n\nCurrent Task: {input}",
4
+
"memory": "This is the summary of your work so far:\n{chat_history}",
5
+
"role_playing": "You are {role}.\n{backstory}\n\nYour personal goal is: {goal}",
6
+
"tools": "TOOLS:\n------\nYou have access to the following tools:\n\n{tools}\n\nTo use a tool, please use the exact following format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to take, should be one of [{tool_names}], just the name.\nAction Input: the input to the action\nObservation: the result of the action\n```\n\nWhen you have a response for your task, or if you do not need to use a tool, you MUST use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer: [your response here]"
f"The task '{self.description}' has no agent assigned, therefore it can't be executed directly and should be executed in a Crew using a specific process that support that, either consensual or hierarchical."
Copy file name to clipboardExpand all lines: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
2
2
[tool.poetry]
3
3
name = "crewai"
4
-
version = "0.1.16"
4
+
version = "0.1.23"
5
5
description = "Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks."
0 commit comments