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 # 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
) )