Package com.hw.langchain.utilities
Class SerpAPIWrapper
java.lang.Object
com.hw.langchain.utilities.SerpAPIWrapper
Wrapper around SerpAPI.
Use the environment variable SERPAPI_API_KEY set with your API key, or pass serpapi_api_key as a named parameter to the constructor.
- Author:
- HamaWhite
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SerpAPIWrapper
static String
processResponse
(com.google.gson.JsonObject res) Run query through SerpAPI and parse result.
-
Constructor Details
-
SerpAPIWrapper
-
-
Method Details
-
of
-
run
Run query through SerpAPI and parse result. -
processResponse
-