Fix typo in Tools.md (#300)

This commit is contained in:
Abe Gong
2024-03-11 13:45:28 -06:00
committed by GitHub
parent bbfb8cd8d7
commit 711ef0e0f0

View File

@@ -181,7 +181,7 @@ from unstructured.partition.html import partition_html
# Annotate the function with the tool decorator from crewAI # Annotate the function with the tool decorator from crewAI
@tool("Integration with a given API") @tool("Integration with a given API")
def integtation_tool(argument: str) -> str: def integration_tool(argument: str) -> str:
"""Integration with a given API""" """Integration with a given API"""
# Code here # Code here
return resutls # string to be sent back to the agent return resutls # string to be sent back to the agent
@@ -191,7 +191,7 @@ agent = Agent(
role='Research Analyst', role='Research Analyst',
goal='Provide up-to-date market analysis', goal='Provide up-to-date market analysis',
backstory='An expert analyst with a keen eye for market trends.', backstory='An expert analyst with a keen eye for market trends.',
tools=[integtation_tool] tools=[integration_tool]
) )
``` ```