diff --git "a/nbs/02_lchain_tool.ipynb" "b/nbs/02_lchain_tool.ipynb" --- "a/nbs/02_lchain_tool.ipynb" +++ "b/nbs/02_lchain_tool.ipynb" @@ -38,7 +38,7 @@ "import os\n", "\n", "from IPython.display import Image\n", - "from langchain.agents import AgentType, Tool, initialize_agent, load_tools\n", + "from langchain.agents import AgentType, Tool, initialize_agent, load_tools, tool\n", "from langchain.agents.agent_toolkits import create_python_agent\n", "from langchain.chat_models import ChatOpenAI\n", "from langchain.python import PythonREPL\n", @@ -388,1300 +388,14 @@ ], "source": [ "vegan_recipes = search.run(\"Vegan fried rice recipes\")\n", - "vegan_recipes" + "vegan_recipes[0:3]" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "{'search_metadata': {'id': '647fff28b7b1ccd51d11a01d',\n", - " 'status': 'Success',\n", - " 'json_endpoint': 'https://serpapi.com/searches/b57d5407e6517b3e/647fff28b7b1ccd51d11a01d.json',\n", - " 'created_at': '2023-06-07 03:53:12 UTC',\n", - " 'processed_at': '2023-06-07 03:53:12 UTC',\n", - " 'google_images_url': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&oq=Vegan+pad+thai+recipes&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&hl=en&gl=us&tbm=isch',\n", - " 'raw_html_file': 'https://serpapi.com/searches/b57d5407e6517b3e/647fff28b7b1ccd51d11a01d.html',\n", - " 'total_time_taken': 10.18},\n", - " 'search_parameters': {'engine': 'google_images',\n", - " 'q': 'Vegan pad thai recipes',\n", - " 'location_requested': 'United States',\n", - " 'location_used': 'United States',\n", - " 'google_domain': 'google.com',\n", - " 'hl': 'en',\n", - " 'gl': 'us',\n", - " 'device': 'desktop'},\n", - " 'search_information': {'image_results_state': 'Results for exact spelling',\n", - " 'menu_items': [{'position': 1,\n", - " 'title': 'All',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&source=lmns&gl=us&hl=en&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q0pQJKAB6BAgBEAI',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&q=Vegan+pad+thai+recipes'},\n", - " {'position': 2,\n", - " 'title': 'Videos',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&source=lmns&tbm=vid&gl=us&hl=en&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q0pQJKAF6BAgBEAQ',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?device=desktop&engine=google_videos&gl=us&google_domain=google.com&hl=en&q=Vegan+pad+thai+recipes'},\n", - " {'position': 3, 'title': 'Images'},\n", - " {'position': 4,\n", - " 'title': 'Shopping',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&source=lmns&tbm=shop&gl=us&hl=en&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q0pQJKAN6BAgBEAg',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=Vegan+pad+thai+recipes'},\n", - " {'position': 5,\n", - " 'title': 'Maps',\n", - " 'link': 'https://maps.google.com/maps?q=Vegan+pad+thai+recipes&source=lmns&entry=mc&gl=us&hl=en&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q0pQJKAR6BAgBEAo'},\n", - " {'position': 6,\n", - " 'title': 'Books',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&source=lmns&tbm=bks&gl=us&hl=en&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q0pQJKAB6BAgBEA0'},\n", - " {'position': 7,\n", - " 'title': 'News',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&source=lmns&tbm=nws&gl=us&hl=en&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q0pQJKAF6BAgBEA4',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&q=Vegan+pad+thai+recipes&tbm=nws'},\n", - " {'position': 8,\n", - " 'title': 'Flights',\n", - " 'link': 'https://www.google.com/travel/flights?q=Vegan+pad+thai+recipes&source=lmns&tbm=flm&gl=us&hl=en&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q0pQJKAJ6BAgBEA8'},\n", - " {'position': 9,\n", - " 'title': 'Finance',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&source=lmns&tbm=fin&gl=us&hl=en&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q0pQJKAN6BAgBEBA'}]},\n", - " 'suggested_searches': [{'name': 'rice noodles',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:rice+noodles:gk0lY1Ku8x8%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoAHoECAEQKw',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:rice+noodles:gk0lY1Ku8x8%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Arice%2Bnoodles%3Agk0lY1Ku8x8%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2b7f361a9f8fb38098b46394cb9c659c83.jpeg'},\n", - " {'name': 'gluten free',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:gluten+free:_Jv5VE84jYQ%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoAXoECAEQLQ',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:gluten+free:_Jv5VE84jYQ%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Agluten%2Bfree%3A_Jv5VE84jYQ%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2ba4acd7acf58a4e539824754bccf790f0.jpeg'},\n", - " {'name': 'tofu',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:tofu:EdnrGNBK_3E%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoAnoECAEQLw',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:tofu:EdnrGNBK_3E%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Atofu%3AEdnrGNBK_3E%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2b57cb6349f17e3b4997748a7fb2213981.jpeg'},\n", - " {'name': 'thai peanut sauce',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:thai+peanut+sauce:AOyraWKuKIU%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoA3oECAEQMQ',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:thai+peanut+sauce:AOyraWKuKIU%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Athai%2Bpeanut%2Bsauce%3AAOyraWKuKIU%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2bc44c0d5d0eef2c4dfefe036887628a3c.jpeg'},\n", - " {'name': 'vegan gluten',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:vegan+gluten:YD_J3kTgidI%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoBHoECAEQMw',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:vegan+gluten:YD_J3kTgidI%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Avegan%2Bgluten%3AYD_J3kTgidI%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2b631482aae166e90902888b39f9df86d4.jpeg'},\n", - " {'name': 'thai food',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:thai+food:0nWr99Uxrwc%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoBXoECAEQNQ',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:thai+food:0nWr99Uxrwc%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Athai%2Bfood%3A0nWr99Uxrwc%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2b3abb47a217c7337c6259316ffb3146b6.jpeg'},\n", - " {'name': 'thai tofu pad',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:thai+tofu+pad:-u5KMb62hFM%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoBnoECAEQNw',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:thai+tofu+pad:-u5KMb62hFM%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Athai%2Btofu%2Bpad%3A-u5KMb62hFM%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2ba9dc874972edb8879d31906ca8d02d1e.jpeg'},\n", - " {'name': 'food network',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:food+network:4fsBYIFuk6M%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoB3oECAEQOQ',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:food+network:4fsBYIFuk6M%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Afood%2Bnetwork%3A4fsBYIFuk6M%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2b3542cf3034c40352d8800de25efd446c.jpeg'},\n", - " {'name': 'peanut butter',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:peanut+butter:FJXMrvqXmOU%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoCHoECAEQOw',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:peanut+butter:FJXMrvqXmOU%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Apeanut%2Bbutter%3AFJXMrvqXmOU%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2b5b6523f5ed417f4c899d005473ba16b5.jpeg'},\n", - " {'name': 'stir fry',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:stir+fry:o0twgEKDva0%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoCXoECAEQPQ',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:stir+fry:o0twgEKDva0%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Astir%2Bfry%3Ao0twgEKDva0%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2b3337398b3fc538d59c1a2d960953452d.jpeg'},\n", - " {'name': 'plant based',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:plant+based:6BEj1Wk084g%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoCnoECAEQPw',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:plant+based:6BEj1Wk084g%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Aplant%2Bbased%3A6BEj1Wk084g%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2b3d37839120548e6228cc4e71e1b7c7af.jpeg'},\n", - " {'name': 'fried tofu',\n", - " 'link': 'https://www.google.com/search?q=Vegan+pad+thai+recipes&tbm=isch&hl=en&gl=us&chips=q:vegan+pad+thai+recipes,online_chips:fried+tofu:EpVuI9_hNoU%3D&sa=X&ved=2ahUKEwiEnJSdobD_AhWTE1kFHecGCJ4Q4lYoC3oECAEQQQ',\n", - " 'chips': 'q:vegan+pad+thai+recipes,online_chips:fried+tofu:EpVuI9_hNoU%3D',\n", - " 'serpapi_link': 'https://serpapi.com/search.json?chips=q%3Avegan%2Bpad%2Bthai%2Brecipes%2Conline_chips%3Afried%2Btofu%3AEpVuI9_hNoU%253D&device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&location=United+States&q=Vegan+pad+thai+recipes',\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/a55ec478bf73d4bcc2fb5b01f1529f2be19daee44662280115fa006abc2bf75b.jpeg'}],\n", - " 'images_results': [{'position': 1,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36a28ca4ca4a3abf6af168f575eef7bd2e8f81a12e175fcf53.jpeg',\n", - " 'related_content_id': 'aFRiaDN5TnVsUkxUbE1cIixcIlhTaXRGOWFUN1JES3ZN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=aFRiaDN5TnVsUkxUbE1cIixcIlhTaXRGOWFUN1JES3ZN',\n", - " 'source': 'Minimalist Baker',\n", - " 'title': 'Easy Tofu Pad Thai (Vegan) | Minimalist Baker Recipes',\n", - " 'link': 'https://minimalistbaker.com/easy-tofu-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://minimalistbaker.com/wp-content/uploads/2019/01/Easy-Vegan-Pad-Thai-SQUARE.jpg',\n", - " 'original_width': 1452,\n", - " 'original_height': 1453,\n", - " 'is_product': True},\n", - " {'position': 2,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c822a79ad529f726d1a65fdd09459c0a0b6a.jpeg',\n", - " 'related_content_id': 'RGJrQjdJY0VUdHpFak1cIixcIkZLMml1QkZLSlptRHhN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=RGJrQjdJY0VUdHpFak1cIixcIkZLMml1QkZLSlptRHhN',\n", - " 'source': 'Pinch of Yum',\n", - " 'title': 'Rainbow Vegetarian Pad Thai with Peanuts and Basil Recipe - Pinch of Yum',\n", - " 'link': 'https://pinchofyum.com/rainbow-vegetarian-pad-thai-with-peanuts-and-basil',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://pinchofyum.com/wp-content/uploads/Vegetarian-Pad-Thai-Recipe.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 3,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd3695828a207980e4280bb4e14cdccb84ebf5350f19237416f8.jpeg',\n", - " 'related_content_id': 'b3RSNEh0U2h3MkxNQ01cIixcIkRyYnlKUWQ1RnFmc1RN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=b3RSNEh0U2h3MkxNQ01cIixcIkRyYnlKUWQ1RnFmc1RN',\n", - " 'source': 'Lazy Cat Kitchen',\n", - " 'title': 'Healthier vegan pad thai - Lazy Cat Kitchen',\n", - " 'link': 'https://www.lazycatkitchen.com/healthier-vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://cdn77-s3.lazycatkitchen.com/wp-content/uploads/2021/01/healthier-vegan-pad-thai-macro-1024x1536.jpg',\n", - " 'original_width': 1024,\n", - " 'original_height': 1536,\n", - " 'is_product': True},\n", - " {'position': 4,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36885ca51553e15b434e41039ef307ecbb4869522eeeefcfa5.jpeg',\n", - " 'related_content_id': 'akFDYVpJNDhFcmVMN01cIixcIk9jS3J6azl3RWFQTjNN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=akFDYVpJNDhFcmVMN01cIixcIk9jS3J6azl3RWFQTjNN',\n", - " 'source': 'Full of Plants',\n", - " 'title': 'The Best Vegan Pad Thai - Full of Plants',\n", - " 'link': 'https://fullofplants.com/the-best-vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://fullofplants.com/wp-content/uploads/2022/03/easy-vegan-pad-thai-noodle-dish-with-bean-sprouts-thumb.jpg',\n", - " 'original_width': 1440,\n", - " 'original_height': 1440,\n", - " 'is_product': True},\n", - " {'position': 5,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36a554bfded8055a9df50470d25fe62e19b9de5f16e262497f.jpeg',\n", - " 'related_content_id': 'MG9uZ1JON0pQMkRTWk1cIixcImtEc004Sm4xbEhDUVRN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=MG9uZ1JON0pQMkRTWk1cIixcImtEc004Sm4xbEhDUVRN',\n", - " 'source': 'earthofmaria.com',\n", - " 'title': 'Easy Vegan Pad Thai (Gluten-free) - Earth of Maria',\n", - " 'link': 'https://earthofmaria.com/easy-vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://earthofmaria.com/wp-content/uploads/2019/04/Easy-Vegan-Pad-Thai-Gluten-free-6.jpg',\n", - " 'original_width': 1024,\n", - " 'original_height': 1536,\n", - " 'is_product': True},\n", - " {'position': 6,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36f9a1c02c421efe07d8d147f542087ff245f0933ec60896cd.jpeg',\n", - " 'related_content_id': 'N2lGVE5zbnFWNmNpV01cIixcImVHWEY5TnlPVFpndGhN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=N2lGVE5zbnFWNmNpV01cIixcImVHWEY5TnlPVFpndGhN',\n", - " 'source': 'My Darling Vegan',\n", - " 'title': 'Easy Vegan Pad Thai - My Darling Vegan',\n", - " 'link': 'https://www.mydarlingvegan.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.mydarlingvegan.com/wp-content/uploads/2021/07/Vegan-Pad-Thai-2.jpg',\n", - " 'original_width': 1024,\n", - " 'original_height': 1536,\n", - " 'is_product': True},\n", - " {'position': 7,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36a75a0136dd1f95918c9bb1ded2f17e5c31f13d3708cc723f.jpeg',\n", - " 'related_content_id': 'NDBJVGUxMWp6VmhoQU1cIixcIkE0bF9LaG50aXJUdS1N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=NDBJVGUxMWp6VmhoQU1cIixcIkE0bF9LaG50aXJUdS1N',\n", - " 'source': 'Pinch Me Good',\n", - " 'title': 'Easy Vegetarian Pad Thai - Pinch Me Good',\n", - " 'link': 'https://pinchmegood.com/easy-vegetarian-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://pinchmegood.com/wp-content/uploads/2019/03/Easy-Vegetarian-Pad-Thai.jpg',\n", - " 'original_width': 924,\n", - " 'original_height': 1386,\n", - " 'is_product': True},\n", - " {'position': 8,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36cdf1d570098da37da75a20a5a2ed59916c3cc1ac656f5b45.jpeg',\n", - " 'related_content_id': 'NVI5WlhqODdqY3dQdE1cIixcIlJTVVkycEFmRGJQQlVN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=NVI5WlhqODdqY3dQdE1cIixcIlJTVVkycEFmRGJQQlVN',\n", - " 'source': 'Vegan Huggs',\n", - " 'title': '30-Minute Vegan Pad Thai - A Weeknight Winner! - Vegan Huggs',\n", - " 'link': 'https://veganhuggs.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://veganhuggs.com/wp-content/uploads/2019/03/vegan-pad-thai-3.jpg',\n", - " 'original_width': 680,\n", - " 'original_height': 1020,\n", - " 'is_product': True},\n", - " {'position': 9,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd364677ba205872944cc9932a27c40873a1e3f4424ca6219c9b.jpeg',\n", - " 'related_content_id': 'OV9FdUNLV0Q1RFNaVE1cIixcImc3ZllqbzBsOWJraXBN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=OV9FdUNLV0Q1RFNaVE1cIixcImc3ZllqbzBsOWJraXBN',\n", - " 'source': 'Ministry of Curry',\n", - " 'title': 'Vegetarian Pad Thai - Easy Skillet Recipe - Ministry of Curry',\n", - " 'link': 'https://ministryofcurry.com/vegetarian-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://ministryofcurry.com/wp-content/uploads/2021/01/Pad-Thai_-1.jpg',\n", - " 'original_width': 1024,\n", - " 'original_height': 1536,\n", - " 'is_product': True},\n", - " {'position': 10,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd3600f3b428f18999842a7c3ddc41991cd1d626950bd108397d.jpeg',\n", - " 'related_content_id': 'bzd5Tzg0TGkwdVo4U01cIixcInVXNm1FMjU0TjY5SHFN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=bzd5Tzg0TGkwdVo4U01cIixcInVXNm1FMjU0TjY5SHFN',\n", - " 'source': 'Lazy Cat Kitchen',\n", - " 'title': 'Vegan pad thai - Lazy Cat Kitchen',\n", - " 'link': 'https://www.lazycatkitchen.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://cdn77-s3.lazycatkitchen.com/wp-content/uploads/2016/05/vegan-pad-thai-1000x1500.jpg',\n", - " 'original_width': 1000,\n", - " 'original_height': 1500,\n", - " 'is_product': True},\n", - " {'position': 11,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c8224470ef6b1b3462b418875bdedefa3d79.jpeg',\n", - " 'related_content_id': 'NmlRemZjMjdsNGVDWk1cIixcIllkSTZvdWJFcWFZVkVN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=NmlRemZjMjdsNGVDWk1cIixcIllkSTZvdWJFcWFZVkVN',\n", - " 'source': 'Well Plated by Erin',\n", - " 'title': 'Vegetarian Pad Thai {30-Minute Recipe} - WellPlated.com',\n", - " 'link': 'https://www.wellplated.com/vegetarian-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.wellplated.com/wp-content/uploads/2017/08/Healthy-Vegetarian-Pad-Thai.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1469,\n", - " 'is_product': True},\n", - " {'position': 12,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c82276df3b8fda0d0c061010978e4b536cc1.jpeg',\n", - " 'related_content_id': 'WHlGMzJXNTJQbHg1ME1cIixcImdGaHFxbXAwOUtkMUlN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=WHlGMzJXNTJQbHg1ME1cIixcImdGaHFxbXAwOUtkMUlN',\n", - " 'source': 'The Spruce Eats',\n", - " 'title': 'Vegetarian Pad Thai Recipe',\n", - " 'link': 'https://www.thespruceeats.com/vegetarian-pad-thai-3217746',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.thespruceeats.com/thmb/wF19pUZKaKo66pofbpjI0eS1SLc=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/vegetarian-pad-thai-3217746-step-11-231a859fac40430583b044297aaf4a87.jpg',\n", - " 'original_width': 1500,\n", - " 'original_height': 1000,\n", - " 'is_product': True},\n", - " {'position': 13,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c82281ba3f6ced7a769ced6de3c3b0f1fe41.jpeg',\n", - " 'related_content_id': 'MDBRd2hGRzdGMG1rTU1cIixcInREeldFQjEycnkzUmRN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=MDBRd2hGRzdGMG1rTU1cIixcInREeldFQjEycnkzUmRN',\n", - " 'source': 'Simply Recipes',\n", - " 'title': 'Vegetarian Pad Thai Recipe',\n", - " 'link': 'https://www.simplyrecipes.com/vegetarian-pad-thai-recipe-6824813',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.simplyrecipes.com/thmb/Y6WvULetSWWIjzcQONSg9n8PFgg=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/Simply-Recipes-Vegetarian-Pad-Thai-LEAD-2f0142cca68e4f9592381d281a391d59.jpg',\n", - " 'original_width': 1500,\n", - " 'original_height': 1000,\n", - " 'is_product': True},\n", - " {'position': 14,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c8224df1973dd2dbff9bcbe3402164ae150c.jpeg',\n", - " 'related_content_id': 'bzVOdWdXQUItLUZYOE1cIixcIldwNnpKWXhpbzhQSEdN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=bzVOdWdXQUItLUZYOE1cIixcIldwNnpKWXhpbzhQSEdN',\n", - " 'source': 'Food Network',\n", - " 'title': 'Vegetarian Pad Thai Recipe | Food Network Kitchen | Food Network',\n", - " 'link': 'https://www.foodnetwork.com/recipes/food-network-kitchen/vegetarian-pad-thai-7183115',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://food.fnr.sndimg.com/content/dam/images/food/fullset/2019/9/10/0/FNK_Vegetarian-Tofu-Pad-Thai_H2_s4x3.jpg.rend.hgtvcom.616.462.suffix/1568385716096.jpeg',\n", - " 'original_width': 616,\n", - " 'original_height': 462,\n", - " 'is_product': True},\n", - " {'position': 15,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c822ed36be9df00a80e5203ab96f92fc31fd.jpeg',\n", - " 'related_content_id': 'RjhuaUxEaExUek9Ebk1cIixcIkNCS1JvOVlSUHBod09N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=RjhuaUxEaExUek9Ebk1cIixcIkNCS1JvOVlSUHBod09N',\n", - " 'source': 'Bianca Zapatka',\n", - " 'title': 'Vegan Pad Thai with Veggie Noodles & Tofu - Bianca Zapatka | Recipes',\n", - " 'link': 'https://biancazapatka.com/en/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://biancazapatka.com/wp-content/uploads/2019/05/pad-thai-vegan-recipe-easy-healthy-crispy-tofu-veggie-noodles-peanut-sauce-creamy-pasta-stir-fry-gemuese-nudeln-zoodles-rezept-720x1008.jpg',\n", - " 'original_width': 720,\n", - " 'original_height': 1008,\n", - " 'is_product': True},\n", - " {'position': 16,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c8223cb49bc3c204d16373a0a6e257d6e54f.jpeg',\n", - " 'related_content_id': 'UmZJNlhwUEVOZnZZa01cIixcImZZcTdhazBsMzJwVnJN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=UmZJNlhwUEVOZnZZa01cIixcImZZcTdhazBsMzJwVnJN',\n", - " 'source': 'EatPlant-Based.com',\n", - " 'title': 'Easy Vegan Pad Thai - EatPlant-Based',\n", - " 'link': 'https://eatplant-based.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://eatplant-based.com/wp-content/uploads/2022/03/Awakened-Pad-Thai-3.jpeg',\n", - " 'original_width': 668,\n", - " 'original_height': 1000,\n", - " 'is_product': True},\n", - " {'position': 17,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c8225dcace1e2fb2aebe208ed1bfde7e8775.jpeg',\n", - " 'related_content_id': 'UHFZekVfb09HbXJzME1cIixcIllWX18xZmNxVktjOEJN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=UHFZekVfb09HbXJzME1cIixcIllWX18xZmNxVktjOEJN',\n", - " 'source': 'Taste of Home',\n", - " 'title': 'Vegetarian Pad Thai Recipe: How to Make It',\n", - " 'link': 'https://www.tasteofhome.com/recipes/vegetarian-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://tmbidigitalassetsazure.blob.core.windows.net/rms3-prod/attachments/37/1200x1200/Vegetarian-Pad-Thai_EXPS_HCK18_197935_B04_014_4b.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 18,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c82263e484cb2a264123c087cf8b9eb10c0d.jpeg',\n", - " 'related_content_id': 'djBzUlhFMkVqTUJ1VU1cIixcIjV6ZTZfb285ZmZXckFN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=djBzUlhFMkVqTUJ1VU1cIixcIjV6ZTZfb285ZmZXckFN',\n", - " 'source': 'Taste',\n", - " 'title': '10-minute vegetarian pad Thai recipe',\n", - " 'link': 'https://www.taste.com.au/recipes/10-minute-vegetarian-pad-thai-recipe/4bq39nic',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://img.taste.com.au/jgHrD_eG/w720-h480-cfill-q80/taste/2021/02/10-minute-vegetarian-pad-thai-168946-2.jpg',\n", - " 'original_width': 720,\n", - " 'original_height': 480,\n", - " 'is_product': True},\n", - " {'position': 19,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c822f423edd39d8f9d0285cc270a8c00a7ee.jpeg',\n", - " 'related_content_id': 'ZjVXNnIxeExuVFlGUk1cIixcIjdzb3JhQzJVd3Fvcm5N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=ZjVXNnIxeExuVFlGUk1cIixcIjdzb3JhQzJVd3Fvcm5N',\n", - " 'source': 'YouTube',\n", - " 'title': 'Vegetarian Pad Thai Recipe TO MAKE TONIGHT (ผัดไทย)! - YouTube',\n", - " 'link': 'https://www.youtube.com/watch?v=zy_P70hXhdM',\n", - " 'tag': '8:44',\n", - " 'original': 'https://i.ytimg.com/vi/zy_P70hXhdM/maxresdefault.jpg',\n", - " 'original_width': 1280,\n", - " 'original_height': 720,\n", - " 'is_product': True},\n", - " {'position': 20,\n", - " 'thumbnail': 'https://serpapi.com/searches/647fff28b7b1ccd51d11a01d/images/6f34b4708ae4dd36dee6fed89369c8225cd1fe40684d95943ec058d4b84eb560.jpeg',\n", - " 'related_content_id': 'UHR0NTdlcWhhZmpGYk1cIixcIlVZeGRNWmxUbXdrUDVN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=UHR0NTdlcWhhZmpGYk1cIixcIlVZeGRNWmxUbXdrUDVN',\n", - " 'source': 'Vegan Recipes from Cassie Howard',\n", - " 'title': 'Vegan Pad Thai | Vegan Recipes from Cassie Howard',\n", - " 'link': 'http://www.veganinsanity.com/recipes/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'http://www.veganinsanity.com/wp-content/uploads/2014/06/Pad-Thai.jpg',\n", - " 'original_width': 600,\n", - " 'original_height': 903,\n", - " 'is_product': True},\n", - " {'position': 21,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSvfVfg8ufhxGbAvq1idiNghBJ-fXS2MqelDQ&usqp=CAU',\n", - " 'related_content_id': 'NVppWC1xN01sUlJJdU1cIixcIkQ1Y1NkRDludWxpWjNN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=NVppWC1xN01sUlJJdU1cIixcIkQ1Y1NkRDludWxpWjNN',\n", - " 'source': 'Spice Cravings',\n", - " 'title': 'Vegan Pad Thai | Spice Cravings',\n", - " 'link': 'https://spicecravings.com/vegan-pad-thai',\n", - " 'original': 'https://spicecravings.com/wp-content/uploads/2021/06/Vegan-pad-Thai-2.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1800,\n", - " 'is_product': False},\n", - " {'position': 22,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTJ89CXPkap5RGkJHmeArqtTdY3pSO7w0DdNQ&usqp=CAU',\n", - " 'related_content_id': 'bF9ZRXVsUUpYMkdaSk1cIixcIjRSLXVUYlc5LXVFQkRN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=bF9ZRXVsUUpYMkdaSk1cIixcIjRSLXVUYlc5LXVFQkRN',\n", - " 'source': 'Pick Up Limes',\n", - " 'title': 'Vegan Pad Thai | Pick Up Limes',\n", - " 'link': 'https://www.pickuplimes.com/recipe/speedy-vegan-pad-thai-116',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://cdn.pickuplimes.com/cache/1d/72/1d7201d4341ab93affd3ecfec7a7d5a2.jpg',\n", - " 'original_width': 1280,\n", - " 'original_height': 1920,\n", - " 'is_product': True},\n", - " {'position': 23,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRzjMINzFCCY2VU4QrzHkzBsVvtiJHsoF4Apw&usqp=CAU',\n", - " 'related_content_id': 'MU5vZ0E4Nzl1X0tBMU1cIixcIjVka2VfTFRxdWtYMGlN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=MU5vZ0E4Nzl1X0tBMU1cIixcIjVka2VfTFRxdWtYMGlN',\n", - " 'source': 'The Healthy Maven',\n", - " 'title': 'Veggie Pad Thai Recipe [20 Minutes] - The Healthy Maven',\n", - " 'link': 'https://www.thehealthymaven.com/pad-thai-recipe/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.thehealthymaven.com/wp-content/uploads/2020/03/veggie-pad-thai-4-1-e1583795458972.jpg',\n", - " 'original_width': 780,\n", - " 'original_height': 790,\n", - " 'is_product': True},\n", - " {'position': 24,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTcv-xbBlo4x_uqyZY7fN4xVDtd0keRb9zt2Q&usqp=CAU',\n", - " 'related_content_id': 'aEkwNFQxVDVtX3h5eE1cIixcIkFvdkdRY0Jmems3TDJN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=aEkwNFQxVDVtX3h5eE1cIixcIkFvdkdRY0Jmems3TDJN',\n", - " 'source': \"Del's cooking twist\",\n", - " 'title': \"Easy Pad Thai (vegan, gluten-free) - Del's cooking twist\",\n", - " 'link': 'https://www.delscookingtwist.com/easy-pad-tai-vegan-gluten-free/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.delscookingtwist.com/wp-content/uploads/2018/09/Easy-Vegan-Pad-Thai_3679.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1740,\n", - " 'is_product': True},\n", - " {'position': 25,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS-3rXOoQrYAAnTPYimImLdkllhrvwGjtpzuQ&usqp=CAU',\n", - " 'related_content_id': 'cmIyRFFvQndTNlBrTE1cIixcIkNyRkZLOWlYS2ZDX19N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=cmIyRFFvQndTNlBrTE1cIixcIkNyRkZLOWlYS2ZDX19N',\n", - " 'source': \"Omnivore's Cookbook\",\n", - " 'title': \"Vegan Pad Thai - Omnivore's Cookbook\",\n", - " 'link': 'https://omnivorescookbook.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://omnivorescookbook.com/wp-content/uploads/2019/04/1401_Vegan-Pad-Thai_002.jpg',\n", - " 'original_width': 800,\n", - " 'original_height': 1198,\n", - " 'is_product': True},\n", - " {'position': 26,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRA6EbuGHJJ05llESu7R4DnXGJz0tLdAKHCag&usqp=CAU',\n", - " 'related_content_id': 'aFNpdVltbXI3QUN2NE1cIixcIldDRjR6OS16U04yMmdN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=aFNpdVltbXI3QUN2NE1cIixcIldDRjR6OS16U04yMmdN',\n", - " 'source': 'plantd',\n", - " 'title': 'Vegan Pad Thai with Peanut Sauce',\n", - " 'link': 'https://plantd.co/vegan-pad-thai-with-peanut-sauce/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://plantd.co/wp-content/uploads/2020/03/Vegan-Pad-Thai-with-Peanut-Sauce.png',\n", - " 'original_width': 1600,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 27,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS-tJjj9tbpEaxSJtIxspo7uUdJEUzv9RvOIg&usqp=CAU',\n", - " 'related_content_id': 'dXdZLTBjNUt3d3FKbE1cIixcImNGUVM5NFhpV2RpX21N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=dXdZLTBjNUt3d3FKbE1cIixcImNGUVM5NFhpV2RpX21N',\n", - " 'source': 'From My Bowl',\n", - " 'title': 'Vegan Pad Thai - From My Bowl',\n", - " 'link': 'https://frommybowl.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://frommybowl.com/wp-content/uploads/2023/03/Vegan_Pad_Thai_FromMyBowl-19-1.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 28,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTNiutaTkD8VXJuR7_mWK2pI6B7cPV98YJ1Yw&usqp=CAU',\n", - " 'related_content_id': 'NGlJclloYkcyM2NGOE1cIixcImJ3RG1sNS1NenhyWUFN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=NGlJclloYkcyM2NGOE1cIixcImJ3RG1sNS1NenhyWUFN',\n", - " 'source': 'The Foodie Takes Flight',\n", - " 'title': 'Vegan Pad Thai - The Foodie Takes Flight',\n", - " 'link': 'https://thefoodietakesflight.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://thefoodietakesflight.com/wp-content/uploads/2021/06/vegan-pad-thai-recipe-10.png',\n", - " 'original_width': 790,\n", - " 'original_height': 1150,\n", - " 'is_product': True},\n", - " {'position': 29,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQtjaP5_LFHgeZL956hjrCANLq2zxN0VcNuDw&usqp=CAU',\n", - " 'related_content_id': 'S0lXdzI0d3hGaE1EZk1cIixcIjZUTzYtQU1aTFM5OF9N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=S0lXdzI0d3hGaE1EZk1cIixcIjZUTzYtQU1aTFM5OF9N',\n", - " 'source': 'One Ingredient Chef',\n", - " 'title': 'Vegetarian Pad Thai Recipe | One Ingredient Chef',\n", - " 'link': 'https://www.oneingredientchef.com/vegetarian-pad-thai/',\n", - " 'original': 'https://www.oneingredientchef.com/wp-content/uploads/2013/06/VegetarianPadThai.jpg',\n", - " 'original_width': 700,\n", - " 'original_height': 783,\n", - " 'is_product': False},\n", - " {'position': 30,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR8a0V5sne-due2_0i_cLMG7mIDmIWWIlNdyg&usqp=CAU',\n", - " 'related_content_id': 'RlhhTjktX0VPaTlNYU1cIixcIkw2VUt4V3Y3ekhDRDZN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=RlhhTjktX0VPaTlNYU1cIixcIkw2VUt4V3Y3ekhDRDZN',\n", - " 'source': 'Love and Good Stuff',\n", - " 'title': 'Vegetable Pad Thai - Love & Good Stuff',\n", - " 'link': 'https://loveandgoodstuff.com/vegetable-pad-thai/',\n", - " 'original': 'https://loveandgoodstuff.com/wp-content/uploads/2018/04/vegetable-pad-thai-6.jpg',\n", - " 'original_width': 669,\n", - " 'original_height': 1000,\n", - " 'is_product': False},\n", - " {'position': 31,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRq76Wud8JULmlFchKPTVnyslWUxpH0-tSocw&usqp=CAU',\n", - " 'related_content_id': 'YzVZOWJhYlRWMlctVE1cIixcIklnNHdwT0w0bmVSc3RN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=YzVZOWJhYlRWMlctVE1cIixcIklnNHdwT0w0bmVSc3RN',\n", - " 'source': 'Vibrant plate',\n", - " 'title': 'The Best Vegan Tofu Pad Thai - Vibrant plate',\n", - " 'link': 'https://www.vibrantplate.com/best-vegan-tofu-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.vibrantplate.com/wp-content/uploads/2021/01/Vegan-Tofu-Pad-Thai-05.jpg',\n", - " 'original_width': 800,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 32,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMA_IXXqLXbDaKJStkocE79DhiNy3h1wNfyg&usqp=CAU',\n", - " 'related_content_id': 'X1ZKT3RFSGJSQmEzS01cIixcImNGUVM5NFhpV2RpX21N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=X1ZKT3RFSGJSQmEzS01cIixcImNGUVM5NFhpV2RpX21N',\n", - " 'source': 'From My Bowl',\n", - " 'title': 'Vegan Pad Thai - From My Bowl',\n", - " 'link': 'https://frommybowl.com/vegan-pad-thai/',\n", - " 'original': 'https://frommybowl.com/wp-content/uploads/2023/03/Vegan_Pad_Thai_FromMyBowl-23.jpg',\n", - " 'original_width': 1000,\n", - " 'original_height': 1500,\n", - " 'is_product': False},\n", - " {'position': 33,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTUQbieaco9iYa16jcjeZbf-gmoP7gSvJyl0Q&usqp=CAU',\n", - " 'related_content_id': 'd1BiY3hIQXlDcmhudU1cIixcInUzdzZ2dGVndVZIdU1N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=d1BiY3hIQXlDcmhudU1cIixcInUzdzZ2dGVndVZIdU1N',\n", - " 'source': 'BBC',\n", - " 'title': 'Vegetable pad Thai recipe - BBC Food',\n", - " 'link': 'https://www.bbc.co.uk/food/recipes/stirfryvegetarianpha_70987',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://ichef.bbci.co.uk/food/ic/food_16x9_832/recipes/stirfryvegetarianpha_70987_16x9.jpg',\n", - " 'original_width': 832,\n", - " 'original_height': 468,\n", - " 'is_product': True},\n", - " {'position': 34,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT1WQnyJsXAny3gepgi_275uhe3V8VkQTMRtw&usqp=CAU',\n", - " 'related_content_id': 'U3NtaEk3ZjFnRXJkVk1cIixcIlVCcDBBTHMzYkNQeURN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=U3NtaEk3ZjFnRXJkVk1cIixcIlVCcDBBTHMzYkNQeURN',\n", - " 'source': 'Cilantro and Citronella',\n", - " 'title': 'Vegetarian Pad Thai',\n", - " 'link': 'https://www.cilantroandcitronella.com/vegetarian-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.cilantroandcitronella.com/wp-content/uploads/2015/03/pad-thai_1_04.jpg',\n", - " 'original_width': 680,\n", - " 'original_height': 1020,\n", - " 'is_product': True},\n", - " {'position': 35,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT9yCD2ZFN3V0txxVJK59VZKQw8dHdf52U_9w&usqp=CAU',\n", - " 'related_content_id': 'ckV1TXpfbkdkdml1dU1cIixcInhTcm00c05Fb3hsQ2xN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=ckV1TXpfbkdkdml1dU1cIixcInhTcm00c05Fb3hsQ2xN',\n", - " 'source': 'Eat With Clarity',\n", - " 'title': 'Best Vegan Pad Thai (Easy!) - Eat With Clarity',\n", - " 'link': 'https://eatwithclarity.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://eatwithclarity.com/wp-content/uploads/2020/06/vegan-pad-thai-9.jpg',\n", - " 'original_width': 1190,\n", - " 'original_height': 1800,\n", - " 'is_product': True},\n", - " {'position': 36,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ-b-oobMM5KXLy32E-dTEmszExv0RTVq8OQQ&usqp=CAU',\n", - " 'related_content_id': 'VVRlMWhvVGJYdE1fdU1cIixcIjlueVA1ODMxR00ydG9N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=VVRlMWhvVGJYdE1fdU1cIixcIjlueVA1ODMxR00ydG9N',\n", - " 'source': 'Tesco Real Food',\n", - " 'title': 'Vegetarian pad Thai | Tesco Real Food',\n", - " 'link': 'https://realfood.tesco.com/recipes/vegetarian-pad-thai.html',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://realfood.tesco.com/media/images/Veg-Pad-Thai-LGH-069d45e9-fd6c-44d1-b747-83dbac2d921d-0-1400x919.jpg',\n", - " 'original_width': 1400,\n", - " 'original_height': 919,\n", - " 'is_product': True},\n", - " {'position': 37,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTtwz03hn90q7ot7m4-179UzOn7cQYaLBHrnA&usqp=CAU',\n", - " 'related_content_id': 'aXRwNmlJU3VSVjh3b01cIixcIlIxQlU1Nk03SjU2V0VN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=aXRwNmlJU3VSVjh3b01cIixcIlIxQlU1Nk03SjU2V0VN',\n", - " 'source': 'Klaraslife',\n", - " 'title': 'Vegan Pad Thai with cashew butter & broccoli - Klara`s Life',\n", - " 'link': 'https://klaraslife.com/en/vegan-pad-thai-with-cashew-butter-broccoli/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://klaraslife.com/wp-content/uploads/2019/11/IMG_0935.jpg',\n", - " 'original_width': 4000,\n", - " 'original_height': 5895,\n", - " 'is_product': True},\n", - " {'position': 38,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQQDKEP2qkfB6nWHtF58pTBj7TJv2Jz63JYOw&usqp=CAU',\n", - " 'related_content_id': 'Ml9EcEtuVmZzaGYwa01cIixcIlVuQncwamxaTk5zdUlN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Ml9EcEtuVmZzaGYwa01cIixcIlVuQncwamxaTk5zdUlN',\n", - " 'source': 'Fit Foodie Nutter',\n", - " 'title': '30 MINUTE EASY VEGAN PAD THAI –',\n", - " 'link': 'https://fitfoodienutter.com/recipe/30-minute-easy-vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://fitfoodienutter.com/wp-content/uploads/2021/09/Vegan-Pad-Thai-12.jpg',\n", - " 'original_width': 870,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 39,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRIadiylajWRN_JnkLntJZSunU8qi7S1wxGvQ&usqp=CAU',\n", - " 'related_content_id': 'SF9PdVVtTWxUWUtlQk1cIixcIjZLRUp3cjRHNFl1XzdN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=SF9PdVVtTWxUWUtlQk1cIixcIjZLRUp3cjRHNFl1XzdN',\n", - " 'source': 'Gimme Some Oven',\n", - " 'title': 'Pad Thai - Gimme Some Oven',\n", - " 'link': 'https://www.gimmesomeoven.com/pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.gimmesomeoven.com/wp-content/uploads/2019/01/Pad-Thai-Recipe-1.jpg',\n", - " 'original_width': 1392,\n", - " 'original_height': 2088,\n", - " 'is_product': True},\n", - " {'position': 40,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRIpRVuMoifY2CKjWhZ_37sDaI5hp1tAw5T1Q&usqp=CAU',\n", - " 'related_content_id': 'SVBSMXpMeF9zbjlhT01cIixcImp3N3I0SlpfRkRqbnFN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=SVBSMXpMeF9zbjlhT01cIixcImp3N3I0SlpfRkRqbnFN',\n", - " 'source': 'The Kitchen Abroad',\n", - " 'title': 'Quick One Pan Vegan Pad Thai Recipe with Tofu',\n", - " 'link': 'https://www.thekitchenabroad.com/one-pan-vegan-pad-thai-recipe-with-tofu/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.thekitchenabroad.com/wp-content/uploads/2020/06/Vegan-Pad-Thai-Recipe-with-Tofu-10.jpg',\n", - " 'original_width': 1024,\n", - " 'original_height': 1365,\n", - " 'is_product': True},\n", - " {'position': 41,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTkI3AiNwZau82RGak_znF-NEWDMatcRdQ_2Q&usqp=CAU',\n", - " 'related_content_id': 'SHRlUEJFQWZLVUQ1ak1cIixcIklIaFQ0dmRrbl9BYURN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=SHRlUEJFQWZLVUQ1ak1cIixcIklIaFQ0dmRrbl9BYURN',\n", - " 'source': 'Food Network',\n", - " 'title': 'Quick Veggie Pad Thai Recipe | Ree Drummond | Food Network',\n", - " 'link': 'https://www.foodnetwork.com/recipes/ree-drummond/quick-veggie-pad-thai-9422028',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://food.fnr.sndimg.com/content/dam/images/food/fullset/2020/09/25/WU2503__vegetable-pad-thai_s4x3.jpg.rend.hgtvcom.616.462.suffix/1601058180561.jpeg',\n", - " 'original_width': 616,\n", - " 'original_height': 462,\n", - " 'is_product': True},\n", - " {'position': 42,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRJRZhgKxI1FzkCO0zB3RxLW1vAsi4WwL0Y7w&usqp=CAU',\n", - " 'related_content_id': 'aVBNMGFkVWpFZWg1VU1cIixcIktXVVQzZkJzVnd5YzJN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=aVBNMGFkVWpFZWg1VU1cIixcIktXVVQzZkJzVnd5YzJN',\n", - " 'source': 'Delish Knowledge',\n", - " 'title': '15-Minute Vegan Pad Thai - Delish Knowledge',\n", - " 'link': 'https://www.delishknowledge.com/15-minute-vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.delishknowledge.com/wp-content/uploads/15-Minute-Vegan-Pad-Thai-Noodles5-copy-1.jpg',\n", - " 'original_width': 1000,\n", - " 'original_height': 1000,\n", - " 'is_product': True},\n", - " {'position': 43,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQSGA5db-ShQpar2dyZk0cAxA4-cdHYsisG3g&usqp=CAU',\n", - " 'related_content_id': 'Y2Y5SzBCanIyUkg3MU1cIixcImxKd1RjVTctblFKVkVN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Y2Y5SzBCanIyUkg3MU1cIixcImxKd1RjVTctblFKVkVN',\n", - " 'source': 'Six Hungry Feet',\n", - " 'title': 'Vegan Pad Thai with Tofu - Six Hungry Feet',\n", - " 'link': 'https://sixhungryfeet.com/vegetarian-pad-thai-with-tofu/',\n", - " 'original': 'https://sixhungryfeet.com/wp-content/uploads/2022/02/Vegan-Pad-Thai-with-Tofu-10.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1500,\n", - " 'is_product': False},\n", - " {'position': 44,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQolfY7XMQv1Q3zJr8XCj0pasBRTBn7MrJocA&usqp=CAU',\n", - " 'related_content_id': 'Mk1tTjItRjk4dHhIc01cIixcImg0dTVaclVEN0dabWlN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Mk1tTjItRjk4dHhIc01cIixcImg0dTVaclVEN0dabWlN',\n", - " 'source': 'White On Rice Couple',\n", - " 'title': 'Vegetable Pad Thai Recipe w/ Cabbage EASY HEALTHY | White On Rice',\n", - " 'link': 'https://whiteonricecouple.com/cabbage-vegetable-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://whiteonricecouple.com/recipe/images/Cabbage-Vegetable-Pad-Thai-1.jpg',\n", - " 'original_width': 530,\n", - " 'original_height': 699,\n", - " 'is_product': True},\n", - " {'position': 45,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSium1YAIBcY-ty66CcxIZfjPydnxVlddWGwQ&usqp=CAU',\n", - " 'related_content_id': 'VTRTMnZqRks3dm83aU1cIixcIlhTaXRGOWFUN1JES3ZN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=VTRTMnZqRks3dm83aU1cIixcIlhTaXRGOWFUN1JES3ZN',\n", - " 'source': 'Minimalist Baker',\n", - " 'title': 'Easy Tofu Pad Thai (Vegan) | Minimalist Baker Recipes',\n", - " 'link': 'https://minimalistbaker.com/easy-tofu-pad-thai/',\n", - " 'original': 'https://minimalistbaker.com/wp-content/uploads/2019/01/AMAZING-Easy-Vegan-Pad-Thai-with-Tofu-Ready-in-30-minutes-BIG-flavor-SO-satisfying-betterthantakeout-thai-padthai-plantbased-glutenfree-minimalistbaker-14.jpg',\n", - " 'original_width': 1456,\n", - " 'original_height': 2184,\n", - " 'is_product': False},\n", - " {'position': 46,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT_1bo3u0kxqiO87hkxwyR5bhvZtWff-OdRRA&usqp=CAU',\n", - " 'related_content_id': 'dzZjWThrTVJjbWZySU1cIixcIk9tQkpZN0tPYXJxcU5N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=dzZjWThrTVJjbWZySU1cIixcIk9tQkpZN0tPYXJxcU5N',\n", - " 'source': 'Make It Dairy Free',\n", - " 'title': 'Vegan Pad Thai - Make It Dairy Free',\n", - " 'link': 'https://makeitdairyfree.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://makeitdairyfree.com/wp-content/uploads/2022/12/vegan-pad-thai-2.jpg',\n", - " 'original_width': 736,\n", - " 'original_height': 1104,\n", - " 'is_product': True},\n", - " {'position': 47,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSW5-PJKenKvHTGKrhmzwyhhFUlvEkg25eRuQ&usqp=CAU',\n", - " 'related_content_id': 'WWZTcjM0TVZwMHp2Y01cIixcIkNCS1JvOVlSUHBod09N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=WWZTcjM0TVZwMHp2Y01cIixcIkNCS1JvOVlSUHBod09N',\n", - " 'source': 'Bianca Zapatka',\n", - " 'title': 'Vegan Pad Thai with Veggie Noodles & Tofu - Bianca Zapatka | Recipes',\n", - " 'link': 'https://biancazapatka.com/en/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://biancazapatka.com/wp-content/uploads/2019/05/vegan-pad-thai-recipe-easy-healthy-crispy-tofu-veggie-noodles-peanut-sauce-creamy-pasta-stir-fry-gemuese-nudeln-zoodles-rezept-asian-food.jpg',\n", - " 'original_width': 1440,\n", - " 'original_height': 2016,\n", - " 'is_product': True},\n", - " {'position': 48,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQRiWrdDbuV_CM0exB7yBqyoCOWaYqD6nTtJQ&usqp=CAU',\n", - " 'related_content_id': 'T01IckRwTlB6Sm1OR01cIixcIk9XZExvUTkzREJkd3BN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=T01IckRwTlB6Sm1OR01cIixcIk9XZExvUTkzREJkd3BN',\n", - " 'source': 'Running on Real Food',\n", - " 'title': 'Easy Vegan Tofu Pad Thai Recipe - Running on Real Food',\n", - " 'link': 'https://runningonrealfood.com/tofu-pad-thai/',\n", - " 'original': 'https://runningonrealfood.com/wp-content/uploads/2021/05/Best-Vegan-Tofu-Pad-Thai-Recipe-12.jpg',\n", - " 'original_width': 1400,\n", - " 'original_height': 2100,\n", - " 'is_product': False},\n", - " {'position': 49,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTtOw74y8VyL5dib33Rkr_Bu4Jo9K4Q3sJy1w&usqp=CAU',\n", - " 'related_content_id': 'Ym1IcVh5VENheWpLMU1cIixcInREeldFQjEycnkzUmRN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Ym1IcVh5VENheWpLMU1cIixcInREeldFQjEycnkzUmRN',\n", - " 'source': 'Simply Recipes',\n", - " 'title': 'Vegetarian Pad Thai Recipe',\n", - " 'link': 'https://www.simplyrecipes.com/vegetarian-pad-thai-recipe-6824813',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.simplyrecipes.com/thmb/zH71oEuQnxw3B8536gZDM2_NkWI=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/Simply-Recipes-Vegetarian-Pad-Thai-LEAD-3-f47ff2bc806b4de9821e332a6126bcc1.jpg',\n", - " 'original_width': 1500,\n", - " 'original_height': 2250,\n", - " 'is_product': True},\n", - " {'position': 50,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRPCaY87F2KeBqK2WQUNljTakrtO7Zlae5L4g&usqp=CAU',\n", - " 'related_content_id': 'M1U2cWZ0c0YybEYzWk1cIixcIjRVaFFibWlwS1IzeGtN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=M1U2cWZ0c0YybEYzWk1cIixcIjRVaFFibWlwS1IzeGtN',\n", - " 'source': 'Whitney Bond',\n", - " 'title': 'Vegetable Pad Thai Recipe - WhitneyBond.com',\n", - " 'link': 'https://whitneybond.com/whats-for-dinner-spicy-vegetable-pad-thai/',\n", - " 'original': 'https://whitneybond.com/wp-content/uploads/2013/01/Vegetable-Pad-Thai-4.jpg',\n", - " 'original_width': 1140,\n", - " 'original_height': 1280,\n", - " 'is_product': False},\n", - " {'position': 51,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSDWkQoMHapJVpYkNaQJbPyubSBwdP5is9eaw&usqp=CAU',\n", - " 'related_content_id': 'eExnY1pCejNkeHF5TU1cIixcImxKd1RjVTctblFKVkVN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=eExnY1pCejNkeHF5TU1cIixcImxKd1RjVTctblFKVkVN',\n", - " 'source': 'Six Hungry Feet',\n", - " 'title': 'Vegan Pad Thai with Tofu - Six Hungry Feet',\n", - " 'link': 'https://sixhungryfeet.com/vegetarian-pad-thai-with-tofu/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://sixhungryfeet.com/wp-content/uploads/2022/02/Vegan-Pad-Thai-with-Tofu-3.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1500,\n", - " 'is_product': True},\n", - " {'position': 52,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQxAM2SH_lgbsUJZh0aljTp6OEQ0lNfSd2_BQ&usqp=CAU',\n", - " 'related_content_id': 'cEhDT3AyZFVNMFJfeE1cIixcIkpENEZWRGhnWm9oLWdN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=cEhDT3AyZFVNMFJfeE1cIixcIkpENEZWRGhnWm9oLWdN',\n", - " 'source': \"Mom's Dinner\",\n", - " 'title': \"The Best Vegetable Pad Thai - Mom's Dinner\",\n", - " 'link': 'https://momsdinner.net/vegetable-pad-thai/',\n", - " 'original': 'https://momsdinner.net/wp-content/uploads/2021/04/Vegetable-Pad-Thai-Recipe-3.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1680,\n", - " 'is_product': False},\n", - " {'position': 53,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQwMUvtpa5kSIoAJ3kltgwtiuUYkvK9DJyg3w&usqp=CAU',\n", - " 'related_content_id': 'NUNBNnpReG1HLVhJYk1cIixcIjlhbXFYUi1CUXZVRGdN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=NUNBNnpReG1HLVhJYk1cIixcIjlhbXFYUi1CUXZVRGdN',\n", - " 'source': 'From The Comfort Of My Bowl',\n", - " 'title': 'Easy Vegan Pad Thai - From The Comfort Of My Bowl',\n", - " 'link': 'https://www.fromthecomfortofmybowl.com/vegan-pad-thai-recipe/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.fromthecomfortofmybowl.com/wp-content/uploads/2021/03/best-vegan-pad-thai.jpg',\n", - " 'original_width': 600,\n", - " 'original_height': 900,\n", - " 'is_product': True},\n", - " {'position': 54,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRPqWPCZyN1t4YbQNSYBWPLWSwzenu1C7a52A&usqp=CAU',\n", - " 'related_content_id': 'ZUp6VWVaSjNFSFV2NU1cIixcInlqblZTLVBtdWtGSDFN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=ZUp6VWVaSjNFSFV2NU1cIixcInlqblZTLVBtdWtGSDFN',\n", - " 'source': 'Nora Cooks',\n", - " 'title': 'Vegan Pad Thai - Nora Cooks',\n", - " 'link': 'https://www.noracooks.com/vegan-pad-thai/',\n", - " 'original': 'https://www.noracooks.com/wp-content/uploads/2023/01/30MinuteVeganPadThai-5.jpg',\n", - " 'original_width': 1334,\n", - " 'original_height': 2001,\n", - " 'is_product': False},\n", - " {'position': 55,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcREUFAdGtWRgMx9Qv45bdNbkRdlZnSFQZX7tQ&usqp=CAU',\n", - " 'related_content_id': 'bnhBOTRJZDBTNWx2SE1cIixcImhmYVFITHA0RWpPOG9N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=bnhBOTRJZDBTNWx2SE1cIixcImhmYVFITHA0RWpPOG9N',\n", - " 'source': 'Vegan Heaven',\n", - " 'title': 'Vegan Pad Thai - Vegan Heaven',\n", - " 'link': 'https://veganheaven.org/recipe/vegan-pad-thai/',\n", - " 'original': 'https://veganheaven.org/wp-content/uploads/2019/04/Vegan-Pad-Thai_.jpg',\n", - " 'original_width': 680,\n", - " 'original_height': 900,\n", - " 'is_product': False},\n", - " {'position': 56,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQW5Nh8vx1J5kcDtF7MZSnXljnKoalv8wq2RA&usqp=CAU',\n", - " 'related_content_id': 'cHNMbm5ZOXRrWTFldk1cIixcIkZLMml1QkZLSlptRHhN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=cHNMbm5ZOXRrWTFldk1cIixcIkZLMml1QkZLSlptRHhN',\n", - " 'source': 'Pinch of Yum',\n", - " 'title': 'Rainbow Vegetarian Pad Thai with Peanuts and Basil Recipe - Pinch of Yum',\n", - " 'link': 'https://pinchofyum.com/rainbow-vegetarian-pad-thai-with-peanuts-and-basil',\n", - " 'original': 'https://pinchofyum.com/wp-content/uploads/Vegetarian-Pad-Tha-1-2.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1800,\n", - " 'is_product': False},\n", - " {'position': 57,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRUtq_lbZ4d5Xfs2jW-qamRXEi-0T6rhsLjTg&usqp=CAU',\n", - " 'related_content_id': 'bEtyRElTc2lqZmp3VU1cIixcIms0TnRQM1hTNk9KaWpN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=bEtyRElTc2lqZmp3VU1cIixcIms0TnRQM1hTNk9KaWpN',\n", - " 'source': 'The Petite Cook',\n", - " 'title': 'The Easiest Vegan Pad Thai - The Petite Cook™',\n", - " 'link': 'https://www.thepetitecook.com/the-easiest-vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.thepetitecook.com/wp-content/uploads/2017/03/vegan-pad-thai-recipe.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 58,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT4uozc69jm3VWqxSKMG8hWocGvUtO4CXHPeA&usqp=CAU',\n", - " 'related_content_id': 'cW1Md3FPOHhsMU1qcU1cIixcIjV2ZXlPLWxUTmp5S29N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=cW1Md3FPOHhsMU1qcU1cIixcIjV2ZXlPLWxUTmp5S29N',\n", - " 'source': 'Food with Feeling',\n", - " 'title': 'Vegan Pad Thai - Food with Feeling',\n", - " 'link': 'https://foodwithfeeling.com/vegetarian-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://foodwithfeeling.com/wp-content/uploads/2021/02/Vegan-Pad-Thai-7.jpg',\n", - " 'original_width': 700,\n", - " 'original_height': 1050,\n", - " 'is_product': True},\n", - " {'position': 59,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcShtayJD_o-2NYDRaFdO7kc0IBDFrXsaLRAmw&usqp=CAU',\n", - " 'related_content_id': 'VllGQWpkcUxPVlAzMU1cIixcIlFMdks3TWduZ05uRHFN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=VllGQWpkcUxPVlAzMU1cIixcIlFMdks3TWduZ05uRHFN',\n", - " 'source': 'HealthyGirl Kitchen',\n", - " 'title': 'Vegan Pad Thai (easy!) - HealthyGirl Kitchen',\n", - " 'link': 'https://healthygirlkitchen.com/recipes/authentic-vegan-pad-thai/',\n", - " 'original': 'https://healthygirlkitchen.com/wp-content/uploads/2020/11/20201112-DSC_6273-2.jpeg',\n", - " 'original_width': 2500,\n", - " 'original_height': 1669,\n", - " 'is_product': False},\n", - " {'position': 60,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRFnQxVF9fa3yOIanaxEOhaThezpWFnL4LdKw&usqp=CAU',\n", - " 'related_content_id': 'Tk1YRm1jencyaVhtaU1cIixcIkU1N2UyV1FFTW9TYXhN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Tk1YRm1jencyaVhtaU1cIixcIkU1N2UyV1FFTW9TYXhN',\n", - " 'source': 'PETA',\n", - " 'title': 'Easy Vegan Pad Thai | PETA',\n", - " 'link': 'https://www.peta.org/recipes/easy-vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.peta.org/wp-content/uploads/2014/03/vegan-pad-thai-e1429117378854-602x452-1444238253.jpg',\n", - " 'original_width': 602,\n", - " 'original_height': 452,\n", - " 'is_product': True},\n", - " {'position': 61,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQJ2bEV_hnyoEftoYQQ2ivw6GAWsG3zvHcH2A&usqp=CAU',\n", - " 'related_content_id': 'NWhGNGlpc0FBc3UyVU1cIixcImc3ZllqbzBsOWJraXBN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=NWhGNGlpc0FBc3UyVU1cIixcImc3ZllqbzBsOWJraXBN',\n", - " 'source': 'Ministry of Curry',\n", - " 'title': 'Vegetarian Pad Thai - Easy Skillet Recipe - Ministry of Curry',\n", - " 'link': 'https://ministryofcurry.com/vegetarian-pad-thai/',\n", - " 'tag': 'Video',\n", - " 'original': 'https://ministryofcurry.com/wp-content/uploads/2021/01/Pad-Thai_-2.jpg',\n", - " 'original_width': 1024,\n", - " 'original_height': 1536,\n", - " 'is_product': True},\n", - " {'position': 62,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR0nCQUNnm-ZcLUpjYC487WehnBzJaNNAlVsA&usqp=CAU',\n", - " 'related_content_id': 'cTQ0VGJNT1V2LVBGbE1cIixcIk1UMFVtZDY2S29iUW1N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=cTQ0VGJNT1V2LVBGbE1cIixcIk1UMFVtZDY2S29iUW1N',\n", - " 'source': 'Crowded Kitchen',\n", - " 'title': 'Vegan Pad Thai with Tofu - Crowded Kitchen',\n", - " 'link': 'https://www.crowdedkitchen.com/vegan-pad-thai/',\n", - " 'original': 'https://www.crowdedkitchen.com/wp-content/uploads/2021/01/pad-thai-new-8.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1800,\n", - " 'is_product': False},\n", - " {'position': 63,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT96UeZ4BgEN0Q2Xp0fwWYr8KuHmgbo64Lukw&usqp=CAU',\n", - " 'related_content_id': 'dlVXQzJRSzNmdXBDd01cIixcInNSTGNaazFpZEtwVnZN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=dlVXQzJRSzNmdXBDd01cIixcInNSTGNaazFpZEtwVnZN',\n", - " 'source': 'Healing Tomato',\n", - " 'title': 'Pad Thai Recipe (Vegan) - HealingTomato.com',\n", - " 'link': 'https://www.healingtomato.com/pad-thai-recipe/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.healingtomato.com/wp-content/uploads/2016/01/pad-thai.jpg',\n", - " 'original_width': 600,\n", - " 'original_height': 593,\n", - " 'is_product': True},\n", - " {'position': 64,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQs0sHzHet343DWkhIN84nY2KeHE-mAR3zFTA&usqp=CAU',\n", - " 'related_content_id': 'QmhGbndDS2MxQUNXVE1cIixcIjlIajF4Rkw1LV91cHZN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=QmhGbndDS2MxQUNXVE1cIixcIjlIajF4Rkw1LV91cHZN',\n", - " 'source': 'Detoxinista',\n", - " 'title': 'Best Ever Vegan Pad Thai - Detoxinista',\n", - " 'link': 'https://detoxinista.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://detoxinista.com/wp-content/uploads/2021/01/vegan-pad-thai.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1627,\n", - " 'is_product': True},\n", - " {'position': 65,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQHQuNuSPWyl4_RjkFeElvxvkLOtuWWqW6GAQ&usqp=CAU',\n", - " 'related_content_id': 'emx5TGR6NVM4REdLU01cIixcImI1N0lCcWU2Z1hDQVVN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=emx5TGR6NVM4REdLU01cIixcImI1N0lCcWU2Z1hDQVVN',\n", - " 'source': 'Loving It Vegan',\n", - " 'title': 'Vegan Pad Thai - Loving It Vegan',\n", - " 'link': 'https://lovingitvegan.com/vegan-pad-thai/',\n", - " 'original': 'https://lovingitvegan.com/wp-content/uploads/2022/06/Vegan-Pad-Thai-22.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1800,\n", - " 'is_product': False},\n", - " {'position': 66,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRjWUg8dInH0c5rR8rRXl8EMKCxg1ccEhUekQ&usqp=CAU',\n", - " 'related_content_id': 'RUJqQjJ0ZUd3dmJGc01cIixcIlBONXdEWG5LU0s5OHRN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=RUJqQjJ0ZUd3dmJGc01cIixcIlBONXdEWG5LU0s5OHRN',\n", - " 'source': 'Hot For Food',\n", - " 'title': 'vegan pad thai - hot for food by Lauren Toyota',\n", - " 'link': 'https://www.hotforfoodblog.com/recipes/2015/02/02/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.hotforfoodblog.com/wp-content/uploads/2015/02/veganpadthai_hotforfoodblog_filtered1-500x375.jpg',\n", - " 'original_width': 500,\n", - " 'original_height': 375,\n", - " 'is_product': True},\n", - " {'position': 67,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSur4LsaevwvR_0eZ2F3Tf-YVx6-jDRus6E-w&usqp=CAU',\n", - " 'related_content_id': 'TWdhZm1EbUQybEpQVE1cIixcIlVZeGRNWmxUbXdrUDVN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=TWdhZm1EbUQybEpQVE1cIixcIlVZeGRNWmxUbXdrUDVN',\n", - " 'source': 'Vegan Recipes from Cassie Howard',\n", - " 'title': 'Vegan Pad Thai | Vegan Recipes from Cassie Howard',\n", - " 'link': 'http://www.veganinsanity.com/recipes/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'http://www.veganinsanity.com/wp-content/uploads/2014/06/Pad-Thai-Vegan.jpg',\n", - " 'original_width': 600,\n", - " 'original_height': 399,\n", - " 'is_product': True},\n", - " {'position': 68,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRTcDJm39S6nz4sTyLF-l6j6CeiVTVkPOXQ5g&usqp=CAU',\n", - " 'related_content_id': 'WDVwY0w1bENyeXMwM01cIixcIlJabzU1NFZ5NXlrZkpN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=WDVwY0w1bENyeXMwM01cIixcIlJabzU1NFZ5NXlrZkpN',\n", - " 'source': 'Gluten-Free, Allergy-Free, and Vegan Recipes',\n", - " 'title': 'Easy Vegan Pad Thai (Gluten-Free, Allergy-Free, Nut-Free, Soy-Free)',\n", - " 'link': 'https://strengthandsunshine.com/vegan-pad-thai-gluten-free/',\n", - " 'original': 'https://strengthandsunshine.com/wp-content/uploads/2019/05/Easy-Vegan-Pad-Thai-Gluten-Free-Allergy-Free-PM1.jpg',\n", - " 'original_width': 735,\n", - " 'original_height': 1102,\n", - " 'is_product': False},\n", - " {'position': 69,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQru1It4T3WzwaedAbLeetEsVNE6DkIrC4L4w&usqp=CAU',\n", - " 'related_content_id': 'dGNFOWkwajFBWFRBeU1cIixcInNMNHU3NVlQNjJMaVBN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=dGNFOWkwajFBWFRBeU1cIixcInNMNHU3NVlQNjJMaVBN',\n", - " 'source': \"Archana's Kitchen\",\n", - " 'title': \"Vegetarian Pad Thai Recipe by Archana's Kitchen\",\n", - " 'link': 'https://www.archanaskitchen.com/vegetarian-pad-thai',\n", - " 'original': 'https://www.archanaskitchen.com/images/archanaskitchen/0-Archanas-Kitchen-Recipes/2018/Vegetarian_Pad_Thai_Recipe-4-2.jpg',\n", - " 'original_width': 1600,\n", - " 'original_height': 1200,\n", - " 'is_product': False},\n", - " {'position': 70,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQzSTdgEdXp-bEPIX-4ssadcX6rzD4KQxGE5w&usqp=CAU',\n", - " 'related_content_id': 'ODhYU2E1dlpWLVhza01cIixcIkZLMml1QkZLSlptRHhN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=ODhYU2E1dlpWLVhza01cIixcIkZLMml1QkZLSlptRHhN',\n", - " 'source': 'Pinch of Yum',\n", - " 'title': 'Rainbow Vegetarian Pad Thai with Peanuts and Basil Recipe - Pinch of Yum',\n", - " 'link': 'https://pinchofyum.com/rainbow-vegetarian-pad-thai-with-peanuts-and-basil',\n", - " 'original': 'https://pinchofyum.com/wp-content/uploads/Vegetarian-Pad-Tha-6.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1800,\n", - " 'is_product': False},\n", - " {'position': 71,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTyPzitaptGw98mR0Oqbxxc2B8FtDlN7vpDDw&usqp=CAU',\n", - " 'related_content_id': 'RUJXRy15RU1kbmZBbE1cIixcIlVSQWN6a2ltMWw3U0pN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=RUJXRy15RU1kbmZBbE1cIixcIlVSQWN6a2ltMWw3U0pN',\n", - " 'source': 'Fooby',\n", - " 'title': 'Vegan Pad Thai - Recipes | fooby.ch',\n", - " 'link': 'https://fooby.ch/en/recipes/17187/vegan-pad-thai',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://recipecontent.fooby.ch/17187_3-2_480-320.jpg',\n", - " 'original_width': 480,\n", - " 'original_height': 321,\n", - " 'is_product': True},\n", - " {'position': 72,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ9woGokoujYfjUge4wgpyswfCjstd_9uf1qw&usqp=CAU',\n", - " 'related_content_id': 'XzJGTWtNa2N1dnZCRk1cIixcInlqblZTLVBtdWtGSDFN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=XzJGTWtNa2N1dnZCRk1cIixcInlqblZTLVBtdWtGSDFN',\n", - " 'source': 'Nora Cooks',\n", - " 'title': 'Vegan Pad Thai - Nora Cooks',\n", - " 'link': 'https://www.noracooks.com/vegan-pad-thai/',\n", - " 'original': 'https://www.noracooks.com/wp-content/uploads/2023/01/30MinuteVeganPadThai-7.jpg',\n", - " 'original_width': 1334,\n", - " 'original_height': 2001,\n", - " 'is_product': False},\n", - " {'position': 73,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSexYRHt5Ul2JMDLnWUdBxc6ELsg2E1iDL31w&usqp=CAU',\n", - " 'related_content_id': 'ZEY4blBOM0QzamRSbE1cIixcIkFvdkdRY0Jmems3TDJN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=ZEY4blBOM0QzamRSbE1cIixcIkFvdkdRY0Jmems3TDJN',\n", - " 'source': \"Del's cooking twist\",\n", - " 'title': \"Easy Pad Thai (vegan, gluten-free) - Del's cooking twist\",\n", - " 'link': 'https://www.delscookingtwist.com/easy-pad-tai-vegan-gluten-free/',\n", - " 'original': 'https://www.delscookingtwist.com/wp-content/uploads/2018/09/Easy-Vegan-Pad-Thai_3702.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 822,\n", - " 'is_product': False},\n", - " {'position': 74,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSnQTyIRwdSk4FpeGIc-MQnw9411wG2ENeCIg&usqp=CAU',\n", - " 'related_content_id': 'TFdwM3hXWXVGMVFxMU1cIixcIlhTaXRGOWFUN1JES3ZN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=TFdwM3hXWXVGMVFxMU1cIixcIlhTaXRGOWFUN1JES3ZN',\n", - " 'source': 'Minimalist Baker',\n", - " 'title': 'Easy Tofu Pad Thai (Vegan) | Minimalist Baker Recipes',\n", - " 'link': 'https://minimalistbaker.com/easy-tofu-pad-thai/',\n", - " 'original': 'https://minimalistbaker.com/wp-content/uploads/2019/01/AMAZING-Easy-Vegan-Pad-Thai-with-Tofu-Ready-in-30-minutes-BIG-flavor-SO-satisfying-betterthantakeout-thai-padthai-plantbased-glutenfree-minimalistbaker-13.jpg',\n", - " 'original_width': 1456,\n", - " 'original_height': 2184,\n", - " 'is_product': False},\n", - " {'position': 75,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcREuE_KU8at0L9CjOGH_t4b-8Up9fL1WBIsUg&usqp=CAU',\n", - " 'related_content_id': 'RHlpeHBOekhOWlpXM01cIixcInM5YXRwVXU2WWlZMjdN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=RHlpeHBOekhOWlpXM01cIixcInM5YXRwVXU2WWlZMjdN',\n", - " 'source': 'Tasty',\n", - " 'title': 'Vegan Pad Thai Recipe by Tasty',\n", - " 'link': 'https://tasty.co/recipe/vegan-pad-thai',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://img.buzzfeed.com/thumbnailer-prod-us-east-1/video-api/assets/148610.jpg?resize=1200:*',\n", - " 'original_width': 1200,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 76,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRqsk8XwnF_PLPcNqIatUj46HUH78xjZGBA5g&usqp=CAU',\n", - " 'related_content_id': 'X1RFZzVUbVdsQ3h4Yk1cIixcIjNpV01RU0Y2NHlHUlBN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=X1RFZzVUbVdsQ3h4Yk1cIixcIjNpV01RU0Y2NHlHUlBN',\n", - " 'source': 'Brand New Vegan',\n", - " 'title': 'Easy Vegan Pad Thai - Brand New Vegan',\n", - " 'link': 'https://www.brandnewvegan.com/recipes/easy-vegan-pad-thai',\n", - " 'original': 'https://www.brandnewvegan.com/wp-content/uploads/easy-vegan-pad-thai-h1-1024x682.jpg',\n", - " 'original_width': 1024,\n", - " 'original_height': 682,\n", - " 'is_product': False},\n", - " {'position': 77,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTjlYvkOX8aA0iNS-32KeueAcXbjYMIcRkfnQ&usqp=CAU',\n", - " 'related_content_id': 'TmI0cnJYX2pDd05yOE1cIixcIjU3eG1ZMWtrS3k3eTFN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=TmI0cnJYX2pDd05yOE1cIixcIjU3eG1ZMWtrS3k3eTFN',\n", - " 'source': \"Kathy's Vegan Kitchen\",\n", - " 'title': \"Vegan Pad Thai Recipe | Kathy's Vegan Kitchen\",\n", - " 'link': 'https://www.kathysvegankitchen.com/vegan-pad-thai-recipe/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.kathysvegankitchen.com/wp-content/uploads/2021/09/Pad-Thai-.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1277,\n", - " 'is_product': True},\n", - " {'position': 78,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSEcvBpOj0RPCU23uRqHp6VJJrxfS3tQYnURw&usqp=CAU',\n", - " 'related_content_id': 'SzFQMUJNWVZzX3FxdU1cIixcIk56WU9UMmcxZGE0bDRN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=SzFQMUJNWVZzX3FxdU1cIixcIk56WU9UMmcxZGE0bDRN',\n", - " 'source': 'Real Thai Recipes',\n", - " 'title': 'Vegetarian Pad Thai » Real Thai Recipes » Authentic Thai recipes from Thailand',\n", - " 'link': 'https://www.realthairecipes.com/recipes/vegetarian-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.realthairecipes.com/wp-content/uploads/vegetarian-pad-thai1.jpg',\n", - " 'original_width': 440,\n", - " 'original_height': 261,\n", - " 'is_product': True},\n", - " {'position': 79,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQJulkx7A2HLYWmkLlETfrNWofaQ6XllHyzeg&usqp=CAU',\n", - " 'related_content_id': 'ajFCdDB5TkVRbzZDU01cIixcImZkNi15X05vNV9QV2pN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=ajFCdDB5TkVRbzZDU01cIixcImZkNi15X05vNV9QV2pN',\n", - " 'source': 'Choosing Chia',\n", - " 'title': 'Raw Pad Thai - Choosing Chia',\n", - " 'link': 'https://choosingchia.com/raw-vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://choosingchia.com/jessh-jessh/uploads/2021/06/raw-pad-thai-4.jpg',\n", - " 'original_width': 1360,\n", - " 'original_height': 2040,\n", - " 'is_product': True},\n", - " {'position': 80,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRf0Cju8qWUiOS3tuTGbs7-pXIIdVRzRLVJcQ&usqp=CAU',\n", - " 'related_content_id': 'TW5ZYmFSX29rWjJtYU1cIixcIldJcnR3T3otUkx3Y0NN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=TW5ZYmFSX29rWjJtYU1cIixcIldJcnR3T3otUkx3Y0NN',\n", - " 'source': \"Cook's Hideout\",\n", - " 'title': \"Vegan Pad Thai Noodles | Cook's Hideout\",\n", - " 'link': 'https://www.cookshideout.com/pad-thai-vegan-recipe',\n", - " 'tag': '0:51',\n", - " 'original': 'https://www.cookshideout.com/wp-content/uploads/2014/03/Vegan-Pad-Thai_4S.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1807,\n", - " 'is_product': True},\n", - " {'position': 81,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRq0f_iTXyVwmnFhPzttm7_lJp8ajUCmufkNQ&usqp=CAU',\n", - " 'related_content_id': 'SWhIZURaRmwydUMybU1cIixcIlNMcHpKV3pZY09nbXJN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=SWhIZURaRmwydUMybU1cIixcIlNMcHpKV3pZY09nbXJN',\n", - " 'source': \"Chang's\",\n", - " 'title': \"Rainbow Vegetarian Pad Thai with Crispy Noodles - Chang's Authentic Asian Cooking\",\n", - " 'link': 'https://www.changs.com/recipes/Rainbow-Vegetarian-Pad-Thai-with-Crispy-Noodles/',\n", - " 'original': 'https://ik.imagekit.io/webtactics/changs/tr:w-750,h-1000/cgblog/id298/Rainbow-Vegetarian-Pad-Thai-with-Crispy-Noodles.jpg',\n", - " 'original_width': 750,\n", - " 'original_height': 1000,\n", - " 'is_product': False},\n", - " {'position': 82,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTNxrIDPiE9qq8FTzKays6PAe4vKBNCSql2dw&usqp=CAU',\n", - " 'related_content_id': 'VzNub1k0aDF4M2Y5R01cIixcIkhvWUpOZVFZT2NiTGJN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=VzNub1k0aDF4M2Y5R01cIixcIkhvWUpOZVFZT2NiTGJN',\n", - " 'source': 'Connoisseurus Veg',\n", - " 'title': 'Vegan Pad Thai - Connoisseurus Veg',\n", - " 'link': 'https://www.connoisseurusveg.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.connoisseurusveg.com/wp-content/uploads/2021/04/vegan-pad-thai-r-8-of-10.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1800,\n", - " 'is_product': True},\n", - " {'position': 83,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQdkOE8fHkjIYt-VHnxHhCKT1Q4Ccu__Id64Q&usqp=CAU',\n", - " 'related_content_id': 'R0tyMmdLYjVENjlHZk1cIixcIjV3Y2xRb1FzM0RXYlhN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=R0tyMmdLYjVENjlHZk1cIixcIjV3Y2xRb1FzM0RXYlhN',\n", - " 'source': \"Madhu's Everyday Indian\",\n", - " 'title': \"Easy Vegan Pad Thai Recipe - Madhu's Everyday Indian\",\n", - " 'link': 'https://www.madhuseverydayindian.com/vegan-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.madhuseverydayindian.com/wp-content/uploads/2019/11/pad-thai-3.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1800,\n", - " 'is_product': True},\n", - " {'position': 84,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRRAqAWfnCA_xgZ33xmKJYH-GElMv8BR9SfEg&usqp=CAU',\n", - " 'related_content_id': 'YnBKLW9ueElrQ3I5VU1cIixcInREeldFQjEycnkzUmRN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=YnBKLW9ueElrQ3I5VU1cIixcInREeldFQjEycnkzUmRN',\n", - " 'source': 'Simply Recipes',\n", - " 'title': 'Vegetarian Pad Thai Recipe',\n", - " 'link': 'https://www.simplyrecipes.com/vegetarian-pad-thai-recipe-6824813',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://www.simplyrecipes.com/thmb/sNXRcU7H5YlFa9nto8PzROCcK6E=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/Simply-Recipes-Vegetarian-Pad-Thai-LEAD-7-f2309902236d45f38dd937e894d7a95f.jpg',\n", - " 'original_width': 1500,\n", - " 'original_height': 1000,\n", - " 'is_product': True},\n", - " {'position': 85,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSvt5v5lIPiITlJSSh6yiG-k8NDEdEaAvrUZg&usqp=CAU',\n", - " 'related_content_id': 'M3VjNTAtcU9IRGtRZ01cIixcIldsdUtpRjZvaGVrS2tN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=M3VjNTAtcU9IRGtRZ01cIixcIldsdUtpRjZvaGVrS2tN',\n", - " 'source': 'Ve Eat Cook Bake',\n", - " 'title': 'Vegan Tofu Pad Thai Recipe (easy, oil free) - Ve Eat Cook Bake',\n", - " 'link': 'https://veeatcookbake.com/vegan-pad-thai-sauce/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://veeatcookbake.com/wp-content/uploads/2020/01/vegan-tofu-pad-thai-3.jpg',\n", - " 'original_width': 720,\n", - " 'original_height': 1080,\n", - " 'is_product': True},\n", - " {'position': 86,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSmmjnFxGBdd4XrLb3_NV9S6DqDsrm8gCArrQ&usqp=CAU',\n", - " 'related_content_id': 'd3pzc0w3dTZxcnpfRU1cIixcInlqUFhDSS1KQ3ItWkRN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=d3pzc0w3dTZxcnpfRU1cIixcInlqUFhDSS1KQ3ItWkRN',\n", - " 'source': 'Pinterest',\n", - " 'title': 'Easy Vegan Pad Thai Recipe w/ Sauce - Choosing Chia | Recipe | Easy asian noodle recipes, Vegan pad thai, Easy asian noodles',\n", - " 'link': 'https://www.pinterest.com/pin/easy-vegan-pad-thai-recipe-w-sauce-choosing-chia--495044184044777788/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://i.pinimg.com/736x/20/05/d9/2005d9d549ea0aa25d2823c4bd47de66.jpg',\n", - " 'original_width': 735,\n", - " 'original_height': 1102,\n", - " 'is_product': True},\n", - " {'position': 87,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS-brimcB4Yy8KjKGPRL_XwmcMsukorzxhh7w&usqp=CAU',\n", - " 'related_content_id': 'bHloaW9JSmJ1VV9Qbk1cIixcIkQ1Y1NkRDludWxpWjNN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=bHloaW9JSmJ1VV9Qbk1cIixcIkQ1Y1NkRDludWxpWjNN',\n", - " 'source': 'Spice Cravings',\n", - " 'title': 'Vegan Pad Thai | Spice Cravings',\n", - " 'link': 'https://spicecravings.com/vegan-pad-thai',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://spicecravings.com/wp-content/uploads/2021/06/Vegan-pad-Thai-Featured.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 88,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTmLLjuIxWgB0eAVv4CpMkufWKkwP0OLh95rw&usqp=CAU',\n", - " 'related_content_id': 'QV9Kcng3Um9lbjZuSU1cIixcIktXVVQzZkJzVnd5YzJN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=QV9Kcng3Um9lbjZuSU1cIixcIktXVVQzZkJzVnd5YzJN',\n", - " 'source': 'Delish Knowledge',\n", - " 'title': '15-Minute Vegan Pad Thai - Delish Knowledge',\n", - " 'link': 'https://www.delishknowledge.com/15-minute-vegan-pad-thai/',\n", - " 'original': 'https://www.delishknowledge.com/wp-content/uploads/15-Minute-Vegan-Pad-Thai-Noodles2.jpeg',\n", - " 'original_width': 981,\n", - " 'original_height': 1471,\n", - " 'is_product': False},\n", - " {'position': 89,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQQBFHo9kgwduVWWgXYbjwx8oHmzkRq4eFx_w&usqp=CAU',\n", - " 'related_content_id': 'eWtpUVJZUlMxSFlMS01cIixcIkVYSjJpMTJNTGxJVkpN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=eWtpUVJZUlMxSFlMS01cIixcIkVYSjJpMTJNTGxJVkpN',\n", - " 'source': 'Nifty Recipes',\n", - " 'title': 'Easy Vegan Pad Thai from Tasty - recipe on Niftyrecipe.com',\n", - " 'link': 'https://niftyrecipe.com/video/1616/easy-vegan-pad-thai',\n", - " 'original': 'https://niftyrecipe.com/uploads/youtube/parse/gVXDvCI32N8.jpg',\n", - " 'original_width': 640,\n", - " 'original_height': 480,\n", - " 'is_product': False},\n", - " {'position': 90,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQDNoodvmhaxXBanZUWokpcjFLd1lBmPi6N9g&usqp=CAU',\n", - " 'related_content_id': 'UTQyU1VUa0lVWU80Vk1cIixcIjlIajF4Rkw1LV91cHZN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=UTQyU1VUa0lVWU80Vk1cIixcIjlIajF4Rkw1LV91cHZN',\n", - " 'source': 'Detoxinista',\n", - " 'title': 'Best Ever Vegan Pad Thai - Detoxinista',\n", - " 'link': 'https://detoxinista.com/vegan-pad-thai/',\n", - " 'original': 'https://detoxinista.com/wp-content/uploads/2021/01/vegan-pad-thai-recipe.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1513,\n", - " 'is_product': False},\n", - " {'position': 91,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTVHfWG0FG8Dlr4vAkRFB2CJEN1EUPWqp5dWQ&usqp=CAU',\n", - " 'related_content_id': 'S3pfN3d3NlZib0t4Nk1cIixcIjBVRW1Sejl4ZUxXeHdN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=S3pfN3d3NlZib0t4Nk1cIixcIjBVRW1Sejl4ZUxXeHdN',\n", - " 'source': 'Mom Always Finds Out',\n", - " 'title': 'Recipe} Vegetarian Pad Thai in Less than 15 Minutes - Mom Always Finds Out',\n", - " 'link': 'https://www.momalwaysfindsout.com/quick-pad-thai-recipe/',\n", - " 'original': 'http://momalwaysfindsout.com/wp-content/uploads/2013/08/easy-vegetarian-pad-thai-recipe.jpg',\n", - " 'original_width': 526,\n", - " 'original_height': 416,\n", - " 'is_product': False},\n", - " {'position': 92,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRhwBcrNUbTx9kzPKfcmWE0Ra7gapkAfRrcfw&usqp=CAU',\n", - " 'related_content_id': 'YS1RY05JbjBWUmVxTU1cIixcIm9kOFJZYkVBU0VoSTlN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=YS1RY05JbjBWUmVxTU1cIixcIm9kOFJZYkVBU0VoSTlN',\n", - " 'source': 'Nutriciously',\n", - " 'title': 'Colorful Raw Vegan Pad Thai Salad – Nutriciously',\n", - " 'link': 'https://nutriciously.com/raw-vegan-pad-thai-recipe/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://nutriciously.com/wp-content/uploads/Raw-Vegan-Pad-Thai-by-Nutriciously-3-735x1102.jpg',\n", - " 'original_width': 735,\n", - " 'original_height': 1102,\n", - " 'is_product': True},\n", - " {'position': 93,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTE247S-7oA7iBXdWKaWSVW76NBNMj9G1zMMA&usqp=CAU',\n", - " 'related_content_id': 'YlAyMGt1UWN0N3VLeU1cIixcInl4LTljQm5yNHV5TWFN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=YlAyMGt1UWN0N3VLeU1cIixcInl4LTljQm5yNHV5TWFN',\n", - " 'source': 'Jessica in the Kitchen',\n", - " 'title': 'Easy Vegan Pad Thai | Jessica in the Kitchen',\n", - " 'link': 'https://jessicainthekitchen.com/vegan-pad-thai/',\n", - " 'original': 'https://jessicainthekitchen.com/wp-content/uploads/2022/08/Vegan-Pad-Thai0046.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1800,\n", - " 'is_product': False},\n", - " {'position': 94,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTEICg4TzsYnpMi-FDoDIIiTxIEYlkJotNZJw&usqp=CAU',\n", - " 'related_content_id': 'Z2ZwSUIzMHNhelRlNU1cIixcIkJTaldiRDBqMnU0MWlN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Z2ZwSUIzMHNhelRlNU1cIixcIkJTaldiRDBqMnU0MWlN',\n", - " 'source': 'Feasting At Home',\n", - " 'title': 'Pad Thai (Video!) | Feasting at Home',\n", - " 'link': 'https://www.feastingathome.com/15-minute-pad-thai/',\n", - " 'original': 'https://www.feastingathome.com/wp-content/uploads/2016/04/easy-authentic-pad-thai-recipe-100-8.jpg',\n", - " 'original_width': 750,\n", - " 'original_height': 1125,\n", - " 'is_product': False},\n", - " {'position': 95,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRRaL2_fWqKRkIvDq4dn5kZqexIjDD5rIpb-Q&usqp=CAU',\n", - " 'related_content_id': 'aHgxT2JLVE1kMVliNk1cIixcIlNEUzJRZjdyVTkxU1FN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=aHgxT2JLVE1kMVliNk1cIixcIlNEUzJRZjdyVTkxU1FN',\n", - " 'source': 'a Veg Taste from A to Z',\n", - " 'title': 'Vegan Pad Thai with Cashews -',\n", - " 'link': 'https://avegtastefromatoz.com/vegan-pad-thai-cashews/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://avegtastefromatoz.com/wp-content/uploads/2020/09/pad-thai-5.jpg',\n", - " 'original_width': 2048,\n", - " 'original_height': 2048,\n", - " 'is_product': True},\n", - " {'position': 96,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQSQmbOr5bqa0rC0nX95VxH-6RasxkuymwUMg&usqp=CAU',\n", - " 'related_content_id': 'Q1dpaG83YTJNS0V2M01cIixcIkctdzFabWdrRE5OTGZN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Q1dpaG83YTJNS0V2M01cIixcIkctdzFabWdrRE5OTGZN',\n", - " 'source': 'Plant-Based on a Budget',\n", - " 'title': 'Vegan Vegetable Pad Thai - Plant-Based on a Budget',\n", - " 'link': 'https://plantbasedonabudget.com/avocado-basil-pad-thai/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://plantbasedonabudget.com/wp-content/uploads/2014/05/Vegan-Avocado-Basil-Pad-Thai-Plant-Based-on-a-Budget-1-2.jpg',\n", - " 'original_width': 1200,\n", - " 'original_height': 1200,\n", - " 'is_product': True},\n", - " {'position': 97,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQOF76mQo9LZPzWv_vzVAz-od1L271ioKWNVA&usqp=CAU',\n", - " 'related_content_id': 'Ri1IOHk0VkhoVmZxT01cIixcIk9jS3J6azl3RWFQTjNN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Ri1IOHk0VkhoVmZxT01cIixcIk9jS3J6azl3RWFQTjNN',\n", - " 'source': 'Full of Plants',\n", - " 'title': 'The Best Vegan Pad Thai - Full of Plants',\n", - " 'link': 'https://fullofplants.com/the-best-vegan-pad-thai/',\n", - " 'original': 'https://fullofplants.com/wp-content/uploads/2022/02/easy-vegan-pad-thai-noodle-dish-with-bean-sprouts-10-1400x2100.jpg',\n", - " 'original_width': 1400,\n", - " 'original_height': 2100,\n", - " 'is_product': False},\n", - " {'position': 98,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS-8yozAbc9Gpm97m_vt6sgcJ3mpTliabYGMQ&usqp=CAU',\n", - " 'related_content_id': 'bWtmOFRzYU5PSmlaSE1cIixcIkhsaC11Z195bUp2MmlN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=bWtmOFRzYU5PSmlaSE1cIixcIkhsaC11Z195bUp2MmlN',\n", - " 'source': \"It's All Good Vegan\",\n", - " 'title': \"Creamy Pad Thai Noodles - It's All Good Vegan\",\n", - " 'link': 'https://itsallgoodvegan.com/2020/02/19/creamy-pad-thai-noodles/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://itsallgoodvegan.com/wp-content/uploads/2020/02/img_2841.jpg',\n", - " 'original_width': 1638,\n", - " 'original_height': 2048,\n", - " 'is_product': True},\n", - " {'position': 99,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSa2HSMw-ypurNqm48DPPpuKZOFbmDO65klnA&usqp=CAU',\n", - " 'related_content_id': 'Z0FiQk9qbFpFZ2hyYk1cIixcImZNQ0FIZk4tZkJCeXNN',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Z0FiQk9qbFpFZ2hyYk1cIixcImZNQ0FIZk4tZkJCeXNN',\n", - " 'source': 'Veggiekins',\n", - " 'title': 'Vegan Pad Thai with Tofu (gluten free) (Gluten-Free) - Veggiekins Blog',\n", - " 'link': 'https://veggiekinsblog.com/2021/03/24/vegan-pad-thai-with-tofu/',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://veggiekinsblog.com/wp-content/uploads/2021/03/Vegan-Pad-Thai-with-Tofu-4-scaled.jpg',\n", - " 'original_width': 1708,\n", - " 'original_height': 2560,\n", - " 'is_product': True},\n", - " {'position': 100,\n", - " 'thumbnail': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQEZmnz4duD3odLwVNqQ_OfHJ1zPNaofthtXw&usqp=CAU',\n", - " 'related_content_id': 'Y1R0T2JXekVMS1YtTk1cIixcIi1Va1JxelIyZDZlcU1N',\n", - " 'serpapi_related_content_link': 'https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Vegan+pad+thai+recipes&related_content_id=Y1R0T2JXekVMS1YtTk1cIixcIi1Va1JxelIyZDZlcU1N',\n", - " 'source': 'Zucker&Jagdwurst',\n", - " 'title': 'Vegan Pad Thai with “chicken“ - Zucker&Jagdwurst',\n", - " 'link': 'https://www.zuckerjagdwurst.com/en/recipes/vegan-pad-thai-with-chicken',\n", - " 'tag': 'Recipe',\n", - " 'original': 'https://assets.zuckerjagdwurst.com/q9pjl6288ajpcx8s994gccncy1i1/1110/740/65/true/center/R435+Veganes+Pad+Thai+mit+%E2%80%9EHu%CC%88hnchen%E2%80%9C39.jpg?animated=false',\n", - " 'original_width': 1110,\n", - " 'original_height': 740,\n", - " 'is_product': True}]}" - ] - }, - "execution_count": null, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "params = {\n", " \"engine\": \"google_images\",\n", @@ -1691,8 +405,7 @@ "}\n", "\n", "search = GoogleSearch(params)\n", - "results = search.get_dict()\n", - "results" + "results = search.get_dict()" ] }, { @@ -1709,22 +422,10 @@ "metadata": {}, "output_type": "display_data" }, - { - "data": { - "text/html": [ - "" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, { "data": { "text/plain": [ - "'Rainbow Vegetarian Pad Thai with Peanuts and Basil Recipe - Pinch of Yum'" + "'https://minimalistbaker.com/easy-tofu-pad-thai/'" ] }, "metadata": {}, @@ -1733,7 +434,7 @@ { "data": { "text/html": [ - "" + "" ], "text/plain": [ "" @@ -1751,22 +452,10 @@ "metadata": {}, "output_type": "display_data" }, - { - "data": { - "text/html": [ - "" - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, { "data": { "text/plain": [ - "'The Best Vegan Pad Thai - Full of Plants'" + "'https://www.lazycatkitchen.com/healthier-vegan-pad-thai/'" ] }, "metadata": {}, @@ -1775,7 +464,7 @@ { "data": { "text/html": [ - "" + "" ], "text/plain": [ "" @@ -1787,19 +476,7 @@ { "data": { "text/plain": [ - "'Easy Vegan Pad Thai (Gluten-free) - Earth of Maria'" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "" - ], - "text/plain": [ - "" + "'The Best Vegan Pad Thai - Full of Plants'" ] }, "metadata": {}, @@ -1808,7 +485,7 @@ { "data": { "text/plain": [ - "'Easy Vegan Pad Thai - My Darling Vegan'" + "'https://fullofplants.com/the-best-vegan-pad-thai/'" ] }, "metadata": {}, @@ -1817,7 +494,7 @@ { "data": { "text/html": [ - "" + "" ], "text/plain": [ "" @@ -1829,7 +506,7 @@ { "data": { "text/plain": [ - "'Easy Vegetarian Pad Thai - Pinch Me Good'" + "'Easy Vegan Pad Thai - Oh My Veggies'" ] }, "metadata": {}, @@ -1837,11 +514,8 @@ }, { "data": { - "text/html": [ - "" - ], "text/plain": [ - "" + "'https://ohmyveggies.com/easy-vegan-pad-thai/'" ] }, "metadata": {}, @@ -1849,8 +523,11 @@ }, { "data": { + "text/html": [ + "" + ], "text/plain": [ - "'30-Minute Vegan Pad Thai - A Weeknight Winner! - Vegan Huggs'" + "" ] }, "metadata": {}, @@ -1858,11 +535,8 @@ }, { "data": { - "text/html": [ - "" - ], "text/plain": [ - "" + "'Easy Vegan Pad Thai - My Darling Vegan'" ] }, "metadata": {}, @@ -1871,7 +545,7 @@ { "data": { "text/plain": [ - "'Vegetarian Pad Thai - Easy Skillet Recipe - Ministry of Curry'" + "'https://www.mydarlingvegan.com/vegan-pad-thai/'" ] }, "metadata": {}, @@ -1880,7 +554,7 @@ { "data": { "text/html": [ - "" + "" ], "text/plain": [ "" @@ -1888,23 +562,110 @@ }, "metadata": {}, "output_type": "display_data" - }, + } + ], + "source": [ + "for r in results[\"images_results\"][0:5]:\n", + " display(r[\"title\"], r[\"link\"], Image(url=r[\"thumbnail\"]))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ { "data": { + "text/markdown": [ + "---\n", + "\n", + "### load_tools\n", + "\n", + "> load_tools (tool_names:List[str],\n", + "> llm:Optional[langchain.base_language.BaseLanguageModel]=None,\n", + "> callbacks:Union[List[langchain.callbacks.base.BaseCallbackHan\n", + "> dler],langchain.callbacks.base.BaseCallbackManager,NoneType]=\n", + "> None, **kwargs:Any)\n", + "\n", + "Load tools based on their name.\n", + "\n", + "Args:\n", + " tool_names: name of tools to load.\n", + " llm: Optional language model, may be needed to initialize certain tools.\n", + " callbacks: Optional callback manager or list of callback handlers.\n", + " If not provided, default global callback manager will be used.\n", + "\n", + "Returns:\n", + " List of tools." + ], "text/plain": [ - "'Vegan pad thai - Lazy Cat Kitchen'" + "---\n", + "\n", + "### load_tools\n", + "\n", + "> load_tools (tool_names:List[str],\n", + "> llm:Optional[langchain.base_language.BaseLanguageModel]=None,\n", + "> callbacks:Union[List[langchain.callbacks.base.BaseCallbackHan\n", + "> dler],langchain.callbacks.base.BaseCallbackManager,NoneType]=\n", + "> None, **kwargs:Any)\n", + "\n", + "Load tools based on their name.\n", + "\n", + "Args:\n", + " tool_names: name of tools to load.\n", + " llm: Optional language model, may be needed to initialize certain tools.\n", + " callbacks: Optional callback manager or list of callback handlers.\n", + " If not provided, default global callback manager will be used.\n", + "\n", + "Returns:\n", + " List of tools." ] }, + "execution_count": null, "metadata": {}, - "output_type": "display_data" - }, + "output_type": "execute_result" + } + ], + "source": [ + "show_doc(load_tools)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Here is the SerpAPIWrapper tool implementation" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from langchain.agents.load_tools import _get_serpapi" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ { "data": { - "text/html": [ - "" - ], "text/plain": [ - "" + "\u001b[0;31mSignature:\u001b[0m \u001b[0m_get_serpapi\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mAny\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m->\u001b[0m \u001b[0mlangchain\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtools\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbase\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mBaseTool\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mDocstring:\u001b[0m \n", + "\u001b[0;31mSource:\u001b[0m \n", + "\u001b[0;32mdef\u001b[0m \u001b[0m_get_serpapi\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mAny\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m->\u001b[0m \u001b[0mBaseTool\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mTool\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mname\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m\"Search\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mdescription\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m\"A search engine. Useful for when you need to answer questions about current events. Input should be a search query.\"\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mfunc\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mSerpAPIWrapper\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0mcoroutine\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mSerpAPIWrapper\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0marun\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\n", + "\u001b[0;34m\u001b[0m \u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mFile:\u001b[0m ~/AnimalEquality/lv-recipe-chatbot/env/lib/python3.10/site-packages/langchain/agents/load_tools.py\n", + "\u001b[0;31mType:\u001b[0m function" ] }, "metadata": {}, @@ -1912,8 +673,14 @@ } ], "source": [ - "for r in results[\"images_results\"][0:10]:\n", - " display(r[\"title\"], Image(url=r[\"thumbnail\"]))" + "??_get_serpapi" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Let's use that for inspiration for our recipe version of the tool" ] }, { @@ -1922,19 +689,100 @@ "metadata": {}, "outputs": [], "source": [ - "# You can create the tool to pass to an agent\n", + "params = {\n", + " \"location\": \"United States\",\n", + " \"hl\": \"en\",\n", + " \"gl\": \"us\",\n", + "}\n", + "search = RecipeSerpAPIWrapper(params=params)\n", "serpapi_recipe_tool = Tool(\n", - " name=\"\",\n", - " description=\"A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.\",\n", + " name=\"Vegan Recipe Search\",\n", + " description=\"A search engine. Useful for when you need to fetch existing vetted vegan recipes. Input should be a vegan recipe search query.\",\n", " func=search.run,\n", ")" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "@tool\n", + "def time(text: str) -> str:\n", + " \"\"\"Returns todays date, use this for any\n", + " questions related to knowing todays date.\n", + " The input should always be an empty string,\n", + " and this function will always return todays\n", + " date - any date mathmatics should occur\n", + " outside this function.\"\"\"\n", + " return str(date.today())" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "agent = initialize_agent(\n", + " [time],\n", + " llm,\n", + " agent=AgentType.CHAT_ZERO_SHOT_REACT_DESCRIPTION,\n", + " handle_parsing_errors=True,\n", + " verbose=True,\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "@tool\n", + "def vegan_recipe_search_serpapi(text: str) -> str:\n", + " \"\"\"Returns a JSON/Python list of dictionaries of recipe data with keys in format:\n", + " ```\n", + " 'title': str,\n", + " 'link': str,\n", + " 'source': str,\n", + " 'rating': int,\n", + " 'reviews': int,\n", + " 'total_time': str,\n", + " 'ingredients': [\n", + " str,\n", + " str,\n", + " ```\n", + " The input must be the name of a vegan recipe \\\n", + " or query parameters such as ingredients to include, prep time, cuisine region. \\\n", + " Only execute the search for vegan recipes and ingredients. \\\n", + " If the SerpAPI request errors or recipes are not found, \\\n", + " an explanation message will be returned instead of the recipe JSON.\"\"\"\n", + " params = {\n", + " \"q\": text,\n", + " \"location\": \"United States\",\n", + " \"hl\": \"en\",\n", + " \"gl\": \"us\",\n", + " \"api_key\": os.environ[\"SERPAPI_API_KEY\"],\n", + " }\n", + "\n", + " search = GoogleSearch(params)\n", + " results = search.get_dict()\n", + " if \"error\" in results.keys():\n", + " return f\"Received an error from SerpAPI: {results['error']}\\n Query: {text}\"\n", + "\n", + " if \"recipes_results\" in results.keys():\n", + " return str(results[\"recipes_results\"])\n", + "\n", + " return \"No recipes found for that query\"" + ] + }, { "cell_type": "markdown", "metadata": {}, "source": [ - "This doc should be corrected [LangChain serpapi doc could be updated](https://python.langchain.com/en/latest/modules/agents/tools/examples/serpapi.html)" + "Create an agent with the tool" ] }, { @@ -1942,7 +790,119 @@ "execution_count": null, "metadata": {}, "outputs": [], - "source": [] + "source": [ + "agent = initialize_agent(\n", + " tools=[vegan_recipe_serpapi_search],\n", + " llm=llm,\n", + " agent=AgentType.CHAT_ZERO_SHOT_REACT_DESCRIPTION,\n", + " handle_parsing_errors=True,\n", + " verbose=True,\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "\n", + "\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n", + "\u001b[32;1m\u001b[1;3mThought: I can use the `vegan_recipe_serpapi_search` tool to search for vegan pad thai recipes.\n", + "\n", + "Action:\n", + "```\n", + "{\n", + " \"action\": \"vegan_recipe_serpapi_search\",\n", + " \"action_input\": \"vegan pad thai\"\n", + "}\n", + "```\n", + "\n", + "\u001b[0m\n", + "Observation: \u001b[36;1m\u001b[1;3m[{'title': 'Vegan Pad Thai', 'link': 'https://www.noracooks.com/vegan-pad-thai/', 'source': 'Nora Cooks', 'rating': 5.0, 'reviews': 53, 'total_time': '30 min', 'ingredients': ['Stir fry rice', 'mung bean sprouts', 'soy sauce', 'maple syrup', 'sriracha hot sauce']}, {'title': 'Easy Tofu Pad Thai', 'link': 'https://minimalistbaker.com/easy-tofu-pad-thai/', 'source': 'Minimalist Baker', 'rating': 4.9, 'reviews': 117, 'total_time': '30 min', 'ingredients': ['Pad thai rice', 'peanut sauce', 'thai red', 'soy sauce', 'bean sprouts']}, {'title': 'Vegan Pad Thai', 'link': 'https://www.pickuplimes.com/recipe/speedy-vegan-pad-thai-116', 'source': 'Pick Up Limes', 'rating': 5.0, 'reviews': 34, 'total_time': '30 min', 'ingredients': ['Brown rice noodles', 'red hot', 'soy sauce', 'bean sprouts', 'sriracha hot sauce']}]\u001b[0m\n", + "Thought:\u001b[32;1m\u001b[1;3mCould not parse LLM output: The `vegan_recipe_serpapi_search` tool returned a list of three vegan pad thai recipes with their titles, links, sources, ratings, reviews, total time, and ingredients.\u001b[0m\n", + "Observation: Invalid or incomplete response\n", + "Thought:\u001b[32;1m\u001b[1;3mI will try running the `vegan_recipe_serpapi_search` tool again with the input \"vegan pad thai\".\n", + "\n", + "Action:\n", + "```\n", + "{\n", + " \"action\": \"vegan_recipe_serpapi_search\",\n", + " \"action_input\": \"vegan pad thai\"\n", + "}\n", + "```\n", + "\n", + "\n", + "\u001b[0m\n", + "Observation: \u001b[36;1m\u001b[1;3m[{'title': 'Vegan Pad Thai', 'link': 'https://www.noracooks.com/vegan-pad-thai/', 'source': 'Nora Cooks', 'rating': 5.0, 'reviews': 53, 'total_time': '30 min', 'ingredients': ['Stir fry rice', 'mung bean sprouts', 'soy sauce', 'maple syrup', 'sriracha hot sauce']}, {'title': 'Easy Tofu Pad Thai', 'link': 'https://minimalistbaker.com/easy-tofu-pad-thai/', 'source': 'Minimalist Baker', 'rating': 4.9, 'reviews': 117, 'total_time': '30 min', 'ingredients': ['Pad thai rice', 'peanut sauce', 'thai red', 'soy sauce', 'bean sprouts']}, {'title': 'Vegan Pad Thai', 'link': 'https://www.pickuplimes.com/recipe/speedy-vegan-pad-thai-116', 'source': 'Pick Up Limes', 'rating': 5.0, 'reviews': 34, 'total_time': '30 min', 'ingredients': ['Brown rice noodles', 'red hot', 'soy sauce', 'bean sprouts', 'sriracha hot sauce']}]\u001b[0m\n", + "Thought:\u001b[32;1m\u001b[1;3mCould not parse LLM output: The `vegan_recipe_serpapi_search` tool returned a list of three vegan pad thai recipes with their titles, links, sources, ratings, reviews, total time, and ingredients.\n", + "\u001b[0m\n", + "Observation: Invalid or incomplete response\n", + "Thought:\u001b[32;1m\u001b[1;3mI will try running the `vegan_recipe_serpapi_search` tool again with the input \"vegan pad thai recipes\".\n", + "\n", + "Action:\n", + "```\n", + "{\n", + " \"action\": \"vegan_recipe_serpapi_search\",\n", + " \"action_input\": \"vegan pad thai recipes\"\n", + "}\n", + "```\n", + "\n", + "\n", + "\u001b[0m\n", + "Observation: \u001b[36;1m\u001b[1;3m[{'title': 'Easy Tofu Pad Thai', 'link': 'https://minimalistbaker.com/easy-tofu-pad-thai/', 'source': 'Minimalist Baker', 'rating': 4.9, 'reviews': 117, 'total_time': '30 min', 'ingredients': ['Pad thai rice', 'peanut sauce', 'thai red', 'soy sauce', 'bean sprouts']}, {'title': 'Vegan Pad Thai', 'link': 'https://www.noracooks.com/vegan-pad-thai/', 'source': 'Nora Cooks', 'rating': 5.0, 'reviews': 53, 'total_time': '30 min', 'ingredients': ['Stir fry rice', 'mung bean sprouts', 'soy sauce', 'maple syrup', 'sriracha hot sauce']}, {'title': 'Vegan Pad Thai', 'link': 'https://www.pickuplimes.com/recipe/speedy-vegan-pad-thai-116', 'source': 'Pick Up Limes', 'rating': 5.0, 'reviews': 34, 'total_time': '30 min', 'ingredients': ['Brown rice noodles', 'red hot', 'soy sauce', 'bean sprouts', 'sriracha hot sauce']}]\u001b[0m\n", + "Thought:\u001b[32;1m\u001b[1;3mCould not parse LLM output: I have successfully used the `vegan_recipe_serpapi_search` tool to search for vegan pad thai recipes. The tool returned a list of three vegan pad thai recipes with their titles, links, sources, ratings, reviews, total time, and ingredients.\n", + "\n", + "\u001b[0m\n", + "Observation: Invalid or incomplete response\n", + "Thought:\u001b[32;1m\u001b[1;3mI will try running the `vegan_recipe_serpapi_search` tool again with the input \"vegan pad thai recipe\".\n", + "\n", + "Action:\n", + "```\n", + "{\n", + " \"action\": \"vegan_recipe_serpapi_search\",\n", + " \"action_input\": \"vegan pad thai recipe\"\n", + "}\n", + "```\n", + "\n", + "\n", + "\u001b[0m\n", + "Observation: \u001b[36;1m\u001b[1;3m[{'title': 'Easy Tofu Pad Thai', 'link': 'https://minimalistbaker.com/easy-tofu-pad-thai/', 'source': 'Minimalist Baker', 'rating': 4.9, 'reviews': 117, 'total_time': '30 min', 'ingredients': ['Pad thai rice', 'peanut sauce', 'thai red', 'soy sauce', 'bean sprouts']}, {'title': 'Vegan Pad Thai', 'link': 'https://www.noracooks.com/vegan-pad-thai/', 'source': 'Nora Cooks', 'rating': 5.0, 'reviews': 53, 'total_time': '30 min', 'ingredients': ['Stir fry rice', 'mung bean sprouts', 'soy sauce', 'maple syrup', 'sriracha hot sauce']}, {'title': 'Vegan Pad Thai', 'link': 'https://www.pickuplimes.com/recipe/speedy-vegan-pad-thai-116', 'source': 'Pick Up Limes', 'rating': 5.0, 'reviews': 34, 'total_time': '30 min', 'ingredients': ['Brown rice noodles', 'red hot', 'soy sauce', 'bean sprouts', 'sriracha hot sauce']}]\u001b[0m\n", + "Thought:\u001b[32;1m\u001b[1;3mCould not parse LLM output: I have successfully used the `vegan_recipe_serpapi_search` tool to search for vegan pad thai recipes. The tool returned a list of three vegan pad thai recipes with their titles, links, sources, ratings, reviews, total time, and ingredients. \n", + "\n", + "Final Answer: Here are three vegan pad thai recipes: \n", + "1. Easy Tofu Pad Thai from Minimalist Baker\n", + "2. Vegan Pad Thai from Nora Cooks\n", + "3. Vegan Pad Thai from Pick Up Limes.\u001b[0m\n", + "\n", + "\u001b[1m> Finished chain.\u001b[0m\n" + ] + }, + { + "data": { + "text/plain": [ + "'Here are three vegan pad thai recipes: \\n1. Easy Tofu Pad Thai from Minimalist Baker\\n2. Vegan Pad Thai from Nora Cooks\\n3. Vegan Pad Thai from Pick Up Limes.'" + ] + }, + "execution_count": null, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "agent.run(\"Search vegan pad thai recipes\")" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "This doc should be corrected [LangChain serpapi doc could be updated](https://python.langchain.com/en/latest/modules/agents/tools/examples/serpapi.html)" + ] }, { "cell_type": "code", @@ -1972,6 +932,13 @@ "\n", "nbdev.nbdev_export()" ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": {