mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
Update Tools.md (#326)
* Update Tools.md Fixing typo on the instantiation part * Update Tools.md Update tool naming
This commit is contained in:
@@ -44,7 +44,7 @@ os.environ["OPENAI_API_KEY"] = "Your Key"
|
|||||||
# Instantiate tools
|
# Instantiate tools
|
||||||
docs_tool = DirectoryReadTool(directory='./blog-posts')
|
docs_tool = DirectoryReadTool(directory='./blog-posts')
|
||||||
file_tool = FileReadTool()
|
file_tool = FileReadTool()
|
||||||
search_tool = SeperDevTool()
|
search_tool = SerperDevTool()
|
||||||
web_rag_tool = WebsiteSearchTool()
|
web_rag_tool = WebsiteSearchTool()
|
||||||
|
|
||||||
# Create agents
|
# Create agents
|
||||||
@@ -52,7 +52,7 @@ researcher = Agent(
|
|||||||
role='Market Research Analyst',
|
role='Market Research Analyst',
|
||||||
goal='Provide up-to-date market analysis of the AI industry',
|
goal='Provide up-to-date market analysis of the AI industry',
|
||||||
backstory='An expert analyst with a keen eye for market trends.',
|
backstory='An expert analyst with a keen eye for market trends.',
|
||||||
tools=[search_tool, website_rag],
|
tools=[search_tool, web_rag_tool],
|
||||||
verbose=True
|
verbose=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user