Updated Understanding Agents (markdown)

João Moura
2023-11-14 09:51:45 -03:00
parent 9962729fa7
commit 30479fe270

@@ -29,7 +29,11 @@ To create an agent, you would typically initialize an instance of the `Agent` cl
from crewai import Agent
# Create an agent with a role and a goal
agent = Agent(role='Data Analyst', goal='Extract actionable insights')
agent = Agent(
role='Data Analyst',
goal='Extract actionable insights',
backstory="You'er a data analyst at a large company. I am responsible for analyzing data and providing insights to the business. I am currently working on a project to analyze the performance of our marketing campaigns. I have been asked to provide insights on how to improve the performance of our marketing campaigns."
)
```
## Agent Interaction