docstr: Run query through SerpAPI and parse result.
docstr_tok: ["Run","query","through","SerpAPI","and","parse","result","."]
code: def run(
      self, query: str, headsize: int, **kwargs: typing.Any
  ) -> list:
      """Run query through SerpAPI and parse result."""
      return self._process_response(
          self.results(query), query, headsize
      )
  
file_path: h2ogpt/src/serpapi.py
imports: import functools
  import typing
  import aiohttp
  from langchain.docstore.document import Document
  from langchain.utilities import SerpAPIWrapper
  from src.utils_langchain import _chunk_sources, add_parser, _add_meta
  from urllib.parse import urlparse
label_desc: Use image node_id 2 for calling the H2OSerpAPIWrapper obj's underlying member method code with example usage: obj.run(query, headsize) and returns: self