From cc20b9425edb139ca429b479241c71e60884e31d Mon Sep 17 00:00:00 2001 From: Harrison Chase Date: Mon, 6 Feb 2023 20:30:03 -0800 Subject: [PATCH] add reqs (#918) --- docs/getting_started/getting_started.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/getting_started/getting_started.md b/docs/getting_started/getting_started.md index cf177cd2..a723d5f9 100644 --- a/docs/getting_started/getting_started.md +++ b/docs/getting_started/getting_started.md @@ -179,6 +179,20 @@ In order to load agents, you should understand the following concepts: **Tools**: For a list of predefined tools and their specifications, see [here](../modules/agents/tools.md). +For this example, you will also need to install the SerpAPI Python package. + +```bash +pip install google-search-results +``` + +And set the appropriate environment variables. + +```python +import os +os.environ["SERPAPI_API_KEY"] = "..." +``` + +Now we can get started! ```python from langchain.agents import load_tools