Code related to the PhaseLLM tutorial outlining how to extract structured data using Web Search Agents and LLMs.
You need API access to OpenAI and Google's Custom Search API.
After that, simply run...
python step1.pyto search the web and crawl the search resultspython step2.pyto extract data about restaurants from the abovepython step3.pyto conver the results into an Excel file
Note that this requires PhaseLLM version 0.0.14 or later.