Make serpapi base url configurable via env (#4402)

Fixes #4328

Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
This commit is contained in:
vinoyang
2023-05-16 05:25:25 +08:00
committed by GitHub
parent cb802edf75
commit 5111bec540
4 changed files with 23 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ It is broken into two parts: installation and setup, and then references to the
## Installation and Setup
- Install requirements with `pip install google-search-results`
- Get a SerpAPI api key and either set it as an environment variable (`SERPAPI_API_KEY`)
- Optional, if you are using a proxy, set environment variable (`SERPAPI_BASE_URL`) or pass it to the LLM constructor to your proxy url.
## Wrappers