mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Updating README tro include crew verbose more
This commit is contained in:
@@ -30,13 +30,13 @@ researcher = Agent(
|
|||||||
role='Researcher',
|
role='Researcher',
|
||||||
goal='Discover new insights',
|
goal='Discover new insights',
|
||||||
backstory="You're a world class researcher working on a amjor data science company",
|
backstory="You're a world class researcher working on a amjor data science company",
|
||||||
verbose=True
|
verbose=True # Agent verbose mode will show you the chain of thought for an Agent.
|
||||||
)
|
)
|
||||||
writer = Agent(
|
writer = Agent(
|
||||||
role='Writer',
|
role='Writer',
|
||||||
goal='Create engaging content',
|
goal='Create engaging content',
|
||||||
backstory="You're a famous technical writer, specialized on writing data related content"
|
backstory="You're a famous technical writer, specialized on writing data related content"
|
||||||
verbose=True
|
verbose=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# Create tasks for your agents
|
# Create tasks for your agents
|
||||||
@@ -47,6 +47,7 @@ task2 = Task(description='Write a blog post on AI advancements', agent=writer)
|
|||||||
crew = Crew(
|
crew = Crew(
|
||||||
agents=[researcher, writer],
|
agents=[researcher, writer],
|
||||||
tasks=[task1, task2],
|
tasks=[task1, task2],
|
||||||
|
verbose=True # Crew verbose more will let you know what tasks arebeing worked on
|
||||||
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.
|
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.
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user