langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Add methods to pull json data from SerpAPI wrapper

Open Dr-Hutchinson opened this issue 2 years ago • 0 comments

Greetings! Thanks for all the work on a great library. A suggestion I'd recommend is the addition of separate methods to the serpapi wrapper to pull values from the SerpAPI json produced for searches. There's a lot of data in there that could be used to aid downstream tasks. Here's an example JSON. In particular, I'd be interested in methods to retrieve the 'snippet' and 'url' values, or to pull the search id values for each search to enable further API calls directly from SerpAPI's search archive.

Dr-Hutchinson avatar Jan 03 '23 16:01 Dr-Hutchinson