Update Tools.md (#326)

* Update Tools.md

Fixing typo on the instantiation part

* Update Tools.md

Update tool naming
This commit is contained in:
Johan
2024-03-11 20:41:14 +01:00
committed by GitHub
parent 1ed3941e16
commit 6f03d239f3

View File

@@ -44,7 +44,7 @@ os.environ["OPENAI_API_KEY"] = "Your Key"
# Instantiate tools
docs_tool = DirectoryReadTool(directory='./blog-posts')
file_tool = FileReadTool()
search_tool = SeperDevTool()
search_tool = SerperDevTool()
web_rag_tool = WebsiteSearchTool()
# Create agents
@@ -52,7 +52,7 @@ researcher = Agent(
role='Market Research Analyst',
goal='Provide up-to-date market analysis of the AI industry',
backstory='An expert analyst with a keen eye for market trends.',
tools=[search_tool, website_rag],
tools=[search_tool, web_rag_tool],
verbose=True
)
@@ -228,4 +228,4 @@ agent = Agent(
```
## Conclusion
Tools are pivotal in extending the capabilities of CrewAI agents, enabling them to undertake a broad spectrum of tasks and collaborate effectively. When building solutions with CrewAI, leverage both custom and existing tools to empower your agents and enhance the AI ecosystem.
Tools are pivotal in extending the capabilities of CrewAI agents, enabling them to undertake a broad spectrum of tasks and collaborate effectively. When building solutions with CrewAI, leverage both custom and existing tools to empower your agents and enhance the AI ecosystem.