mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-24 23:58:15 +00:00
Updated Customizing Agents (markdown)
@@ -29,6 +29,7 @@ from langchain.utilities import GoogleSerperAPIWrapper
|
|||||||
# Initialize SerpAPI tool with your API key
|
# Initialize SerpAPI tool with your API key
|
||||||
os.environ["OPENAI_API_KEY"] = ""
|
os.environ["OPENAI_API_KEY"] = ""
|
||||||
|
|
||||||
|
search = GoogleSerperAPIWrapper()
|
||||||
# Create tool to be used by agent
|
# Create tool to be used by agent
|
||||||
serper_tool = Tool(
|
serper_tool = Tool(
|
||||||
name="Intermediate Answer",
|
name="Intermediate Answer",
|
||||||
|
|||||||
Reference in New Issue
Block a user