From 36be3826159a341fb28ec62d11c752a59b4591c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moura?= Date: Sun, 21 Jan 2024 13:42:37 -0300 Subject: [PATCH] Updated Defining Tasks (markdown) --- Defining-Tasks.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Defining-Tasks.md b/Defining-Tasks.md index 329bf8a..e90e037 100644 --- a/Defining-Tasks.md +++ b/Defining-Tasks.md @@ -19,11 +19,8 @@ Creating a task is straightforward. You define what needs to be done and, option ```python from crewai import Task -# Define a simple task with just a description -simple_task = Task(description='Validate user input data') - # Define a task with a designated agent and specific tools -advanced_task = Task(description='Generate monthly sales report', agent=sales_agent, tools=[reporting_tool]) +task = Task(description='Generate monthly sales report', agent=sales_agent, tools=[reporting_tool]) ``` # Task Assignment @@ -31,7 +28,7 @@ advanced_task = Task(description='Generate monthly sales report', agent=sales_ag Tasks can be assigned to agents in several ways: - Directly, by specifying the agent when creating the task. -- Through the Crew's process, which can assign tasks based on agent roles, availability, or other criteria. +- [WIP] Through the Crew's process, which can assign tasks based on agent roles, availability, or other criteria. # Task Execution