Updating README tro include crew verbose more

This commit is contained in:
Joao Moura
2023-11-16 18:51:48 -03:00
parent f1b3875073
commit afca1a585e

View File

@@ -30,13 +30,13 @@ researcher = Agent(
role='Researcher',
goal='Discover new insights',
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(
role='Writer',
goal='Create engaging content',
backstory="You're a famous technical writer, specialized on writing data related content"
verbose=True
verbose=True
)
# Create tasks for your agents
@@ -47,6 +47,7 @@ task2 = Task(description='Write a blog post on AI advancements', agent=writer)
crew = Crew(
agents=[researcher, writer],
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.
)