mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 07:42:40 +00:00
Updated Customizing Agents (markdown)
@@ -27,7 +27,8 @@ from langchain.agents import Tool
|
|||||||
from langchain.utilities import GoogleSerperAPIWrapper
|
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"] = "Your Key"
|
||||||
|
os.environ["SERPER_API_KEY"] = "Your Key"
|
||||||
|
|
||||||
search = GoogleSerperAPIWrapper()
|
search = GoogleSerperAPIWrapper()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user