Spaces:
Building
Building
File size: 53,881 Bytes
a1c8685 d053923 a1c8685 d053923 a1c8685 2ae29dd d053923 a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 d053923 a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 2ae29dd a1c8685 d053923 2ae29dd d053923 a1c8685 d053923 a1c8685 d053923 a1c8685 d053923 a1c8685 d053923 a1c8685 d053923 a1c8685 d053923 a1c8685 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 |
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "5223b1b7",
"metadata": {},
"outputs": [],
"source": [
"from web2json.preprocessor import *\n",
"from web2json.ai_extractor import *\n",
"from web2json.postprocessor import *\n",
"from web2json.pipeline import *"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "ae4e7f03",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"True"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import dotenv\n",
"dotenv.load_dotenv()"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "9e6b0eb9",
"metadata": {},
"outputs": [],
"source": [
"llm = NvidiaLLMClient(config={'api_key': os.getenv('NVIDIA_API_KEY'),'model_name': 'qwen/qwen2.5-7b-instruct'})\n",
"reranker = NvidiaRerankerClient(config={'api_key': os.getenv('NVIDIA_API_KEY'),'model_name': 'nv-rerank-qa-mistral-4b:1'})\n",
"# reranker = HFRerankerClient()"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "3bc223d0",
"metadata": {},
"outputs": [],
"source": [
"prompt_template = \"\"\"\n",
"You are a helpful assistant that extracts structured data from web pages.\n",
"You will be given a web page and you need to extract the following information:\n",
"{content}\n",
"\n",
"schema: {schema}\n",
"Please provide the extracted data in JSON format.\n",
"WITH ONLY THE FIELDS THAT ARE IN THE SCHEMA.\n",
"\"\"\""
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "475fccd2",
"metadata": {},
"outputs": [],
"source": [
"classification_prompt_template = \"\"\"\n",
"{\n",
" \"title\": {\"type\": \"string\", \"description\": \"Page title\"},\n",
" \"price\": {\"type\": \"number\", \"description\": \"Product price\"},\n",
" \"description\": {\"type\": \"string\", \"description\": \"Product description\"}\n",
"}\n",
"\"\"\""
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "974417de",
"metadata": {},
"outputs": [],
"source": [
"# classification_prompt_template = \"\"\"\n",
"# # HTML Chunk Relevance Classification Prompt\n",
"\n",
"# You are an HTML content classifier. Your task is to analyze an HTML chunk against a given schema and determine if the content is relevant.\n",
"\n",
"# ## Instructions:\n",
"# 1. Carefully examine the provided HTML chunk\n",
"# 2. Compare it against the given schema/criteria\n",
"# 3. Determine if the HTML chunk contains content that matches or is relevant to the schema\n",
"# 4. Respond with ONLY a JSON object containing a single field \"relevant\" with value 1 (relevant) or 0 (not relevant)\n",
"\n",
"# ## Input Format:\n",
"# **Schema/Criteria:**\n",
"# {schema}\n",
"\n",
"# **HTML Chunk:**\n",
"# ```html\n",
"# {content}\n",
"# ```\n",
"\n",
"# ## Output Format:\n",
"# Your response must be ONLY a valid JSON object with no additional text:\n",
"\n",
"# ```json\n",
"# {{\n",
"# \"relevant\": 1\n",
"# }}\n",
"# ```\n",
"\n",
"# OR\n",
"\n",
"# ```json\n",
"# {{\n",
"# \"relevant\": 0\n",
"# }}\n",
"# ```\n",
"\n",
"# ## Classification Rules:\n",
"# - Output 1 if the HTML chunk contains content that matches the schema criteria\n",
"# - Output 0 if the HTML chunk does not contain relevant content\n",
"# - Consider semantic meaning, not just exact keyword matches\n",
"# - Look at text content, attributes, structure, and context\n",
"# - Ignore purely structural HTML elements (like divs, spans) unless they contain relevant content\n",
"# - Be STRICT in your evaluation - only mark as relevant (1) if there is clear, meaningful content that directly relates to the schema\n",
"# - Empty elements, placeholder text, navigation menus, headers/footers, and generic UI components should typically be marked as not relevant (0)\n",
"# - The HTML chunk does not need to contain ALL schema information, but it must contain SUBSTANTIAL and SPECIFIC content related to the schema\n",
"\n",
"# CRITICAL: Your entire response MUST be exactly one JSON object. DO NOT include any explanations, reasoning, markdown formatting, code blocks, or additional text. Output ONLY the raw JSON object.\n",
"# \"\"\""
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "58436d65",
"metadata": {},
"outputs": [],
"source": [
"pre = BasicPreprocessor(config={'keep_tags':True})\n",
"# llm = GeminiLLMClient(config={'api_key': os.getenv('GEMINI_API_KEY'),})\n",
"# ai = AIExtractor(llm_client=llm ,prompt_template=prompt_template)\n",
"ai = LLMClassifierExtractor(reranker=reranker, llm_client=llm, prompt_template=prompt_template, classifier_prompt=classification_prompt_template)\n",
"post = PostProcessor()"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "c4e75e63",
"metadata": {},
"outputs": [],
"source": [
"html_chunks = [\n",
" \"\"\"\n",
" <div class=\"product-card\">\n",
" <h2 class=\"product-title\">Wireless Noise Cancelling Headphones</h2>\n",
" <p class=\"product-description\">Experience immersive sound with active noise cancellation and long battery life.</p>\n",
" <span class=\"price\">$299.99</span>\n",
" <button>Add to Cart</button>\n",
" </div>\n",
" \"\"\",\n",
"\n",
" \"\"\"\n",
" <section class=\"blog-post\">\n",
" <h1>Top 5 AI Tools to Try in 2025</h1>\n",
" <p>Artificial intelligence continues to evolve. Here are five tools you should explore in 2025:</p>\n",
" <ul>\n",
" <li>LangChain</li>\n",
" <li>AutoGen</li>\n",
" <li>OpenDevin</li>\n",
" <li>FastRAG</li>\n",
" <li>GPTScript</li>\n",
" </ul>\n",
" <footer>Published by <strong>TechToday</strong> on June 30, 2025</footer>\n",
" </section>\n",
" \"\"\",\n",
"\n",
" \"\"\"\n",
" <section class=\"blog-post\">\n",
" <h1>Top 5 AI Tools to Try in 2025</h1>\n",
" <p>Artificial intelligence continues to evolve. Here are five tools you should explore in 2025:</p>\n",
" <ul>\n",
" <li>LangChain</li>\n",
" <li>AutoGen</li>\n",
" <li>OpenDevin</li>\n",
" <li>FastRAG</li>\n",
" <li>GPTScript</li>\n",
" </ul>\n",
" <footer>Published by <strong>TechToday</strong> on June 30, 2025</footer>\n",
" </section>\n",
" \"\"\",\n",
"\n",
" \"\"\"\n",
" <div class=\"review\">\n",
" <h3>User Review: Amazing Performance!</h3>\n",
" <p>I’ve been using this laptop for a few months and it’s blazing fast. Great for deep learning workloads!</p>\n",
" <div class=\"rating\">Rating: ⭐⭐⭐⭐⭐</div>\n",
" <span class=\"user\">– Sarah M.</span>\n",
" </div>\n",
" \"\"\"\n",
"]\n"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "bb4edecf",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"4"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(html_chunks)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9927a78e",
"metadata": {},
"outputs": [],
"source": [
"output = reranker.rerank(query=classification_prompt_template,passages=html_chunks)"
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "b77015f3",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"page_content='\n",
" <div class=\"product-card\">\n",
" <h2 class=\"product-title\">Wireless Noise Cancelling Headphones</h2>\n",
" <p class=\"product-description\">Experience immersive sound with active noise cancellation and long battery life.</p>\n",
" <span class=\"price\">$299.99</span>\n",
" <button>Add to Cart</button>\n",
" </div>\n",
" ' metadata={'relevance_score': -11.25, 'softmax_score': 0.9546922134634852, 'minmax_score': 1.0}\n",
"--------------------------------------------------------------------------------\n",
"page_content='\n",
" <section class=\"blog-post\">\n",
" <h1>Top 5 AI Tools to Try in 2025</h1>\n",
" <p>Artificial intelligence continues to evolve. Here are five tools you should explore in 2025:</p>\n",
" <ul>\n",
" <li>LangChain</li>\n",
" <li>AutoGen</li>\n",
" <li>OpenDevin</li>\n",
" <li>FastRAG</li>\n",
" <li>GPTScript</li>\n",
" </ul>\n",
" <footer>Published by <strong>TechToday</strong> on June 30, 2025</footer>\n",
" </section>\n",
" ' metadata={'relevance_score': -15.2265625, 'softmax_score': 0.017900461577508887, 'minmax_score': 0.00888037271767236}\n",
"--------------------------------------------------------------------------------\n",
"page_content='\n",
" <section class=\"blog-post\">\n",
" <h1>Top 5 AI Tools to Try in 2025</h1>\n",
" <p>Artificial intelligence continues to evolve. Here are five tools you should explore in 2025:</p>\n",
" <ul>\n",
" <li>LangChain</li>\n",
" <li>AutoGen</li>\n",
" <li>OpenDevin</li>\n",
" <li>FastRAG</li>\n",
" <li>GPTScript</li>\n",
" </ul>\n",
" <footer>Published by <strong>TechToday</strong> on June 30, 2025</footer>\n",
" </section>\n",
" ' metadata={'relevance_score': -15.2265625, 'softmax_score': 0.017900461577508887, 'minmax_score': 0.00888037271767236}\n",
"--------------------------------------------------------------------------------\n",
"page_content='\n",
" <div class=\"review\">\n",
" <h3>User Review: Amazing Performance!</h3>\n",
" <p>I’ve been using this laptop for a few months and it’s blazing fast. Great for deep learning workloads!</p>\n",
" <div class=\"rating\">Rating: ⭐⭐⭐⭐⭐</div>\n",
" <span class=\"user\">– Sarah M.</span>\n",
" </div>\n",
" ' metadata={'relevance_score': -15.859375, 'softmax_score': 0.009506863381497203, 'minmax_score': 0.0}\n",
"--------------------------------------------------------------------------------\n"
]
}
],
"source": [
"for o in output:\n",
" print(o)\n",
" print('-'*80)"
]
},
{
"cell_type": "code",
"execution_count": 42,
"id": "bb3fa1b0",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"4"
]
},
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(output)"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "c1c43f7c",
"metadata": {},
"outputs": [],
"source": [
"# ai.extract(chunks=[\"the price is $1000\", \"the title is 'NVIDIA H100 SXM'\"])"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "9c78eec9",
"metadata": {},
"outputs": [],
"source": [
"pipe = Pipeline(preprocessor=pre, ai_extractor=ai, postprocessor=post)"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "0b324a01",
"metadata": {},
"outputs": [],
"source": [
"from pydantic import BaseModel, Field, constr, condecimal\n",
"\n",
"class ProductModel(BaseModel):\n",
" productTitle: constr(min_length=1, max_length=200) = Field(\n",
" ...,\n",
" title=\"Product Title\",\n",
" description=\"The full title of the product\"\n",
" )\n",
" price: condecimal(gt=0, decimal_places=2) = Field(\n",
" ...,\n",
" title=\"Product Price\",\n",
" description=\"Unit price (must be > 0, two decimal places).\"\n",
" )\n",
" manufacturer: constr(min_length=1, max_length=1000) = Field(\n",
" ...,\n",
" title=\"Manufacturer\",\n",
" description=\"Name of the product manufacturer.\"\n",
" )\n",
"\n",
" "
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "92a5fc23",
"metadata": {},
"outputs": [],
"source": [
"config = {\n",
" 'keep_tags': True,\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "d2cfb033",
"metadata": {},
"outputs": [],
"source": [
"url = \"https://www.amazon.com/Instant-Pot-Multi-Use-Programmable-Pressure/dp/B00FLYWNYQ?_encoding=UTF8&content-id=amzn1.sym.2f889ce0-246f-467a-a086-d9a721167240&dib=eyJ2IjoiMSJ9.2EzBddTDEktLY8ckTsraM_cZ6pzKuNkA6y_gLR0-Uz1ekttQU6tuQEcjb8PThy0PfhvxLqeYWh3N7pQrGgRxAWzapVklC_aU6xBzD-3Wwqx3qyQRHsmOhPRsSpeCOIIZqS3SKDowZEPYrGnCbRMt5vxnsYMW-fD-zBbgeoeGYmbsN2U6_HNhLjrpePKCbQPmnZBJ9UhgYE4fE3DVuYm8xlJe9l5GixDLVFtZUq4m5FE.Ol-jiuu9P6mQie0yXLJj-Ht5-TXmIXuRPije85p_YVo&dib_tag=se&keywords=cooker&pd_rd_r=2cede598-f3ae-49ca-8a46-e5945a9c2631&pd_rd_w=2HLSC&pd_rd_wg=ZyUUn&qid=1749508157&sr=8-3\"\n",
"schema = ProductModel # pydantic class\n",
"\n",
"# read html file \n",
"# with open(r'C:\\Users\\abdfa\\Desktop\\UNI STUFFING\\GRADUATION PROJECT\\Group Work\\MCP_WEB2JSON\\0000.htm', 'r', encoding='utf-8') as file:\n",
"# content = file.read()\n",
"\n",
"# with open(r'C:\\Users\\abdfa\\Desktop\\UNI STUFFING\\GRADUATION PROJECT\\Group Work\\MCP_WEB2JSON\\Amazon.com_ Instant Pot Duo 7-in-1 Electric Pressure Cooker, Slow Cooker, Rice Cooker, Steamer, Sauté, Yogurt Maker, Warmer & Sterilizer, Includes App With Over 800 Recipes, Stainless Steel, 6 Quart.htm', 'r', encoding='utf-8') as file:\n",
"# content = file.read()\n"
]
},
{
"cell_type": "code",
"execution_count": 16,
"id": "f07e1aca",
"metadata": {},
"outputs": [],
"source": [
"# import os\n",
"\n",
"# content = \"\"\"<html>\n",
"# <body>\n",
"# \"\"\"\n",
"\n",
"# from web2json.ai_extractor import HFRerankerClient, LLMClassifierExtractor, NvidiaLLMClient\n",
"\n",
"# hf_reranker = HFRerankerClient()\n",
"# llm_client = NvidiaLLMClient(config={\"api_key\": os.environ.get('NVIDIA_API_KEY')})\n",
"# extractor = LLMClassifierExtractor(\n",
"# reranker=hf_reranker,\n",
"# llm_client=llm_client,\n",
"# prompt_template=\"Extract from: {content} using schema: {schema}\",\n",
"# classifier_prompt=\"What is the price?\"\n",
"# )\n",
"\n",
"# # Run using HuggingFace reranker\n",
"# result = extractor.extract(content=content, schema=schema, hf=True)\n"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "79cf2321",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n",
"2\n",
"Content successfully chunked into 9.\n",
"Content successfully chunked: [\"<html><head>\\n<link/>\\n<link/>\\n<link/>\\n<meta/><title>Amazon.com: Instant Pot Duo 7-in-1 Electric Pressure Cooker, Slow Cooker, Rice Cooker, Steamer, Sauté, Yogurt Maker, Warmer & Sterilizer, Includes App With Over 800 Recipes, Stainless Steel, 6 Quart</title>\\n</head><body><div><nav>\\n<h2>Skip to</h2>\\n<ul>\\n<li>\\n Main content\\n</li>\\n<li>\\n About this item\\n</li>\\n<li>\\n About this item\\n</li>\\n<li>\\n About this item\\n</li>\\n<li>\\n Buying options\\n</li>\\n<li>\\n Compare with similar items\\n</li>\\n<li>\\n Videos\\n</li>\\n<li>\\n Reviews\\n</li>\\n</ul>\\n<h2>\\n Keyboard shortcuts\\n </h2>\\n<ul>\\n<li>\\nSearch\\nalt\\n+\\n/\\n</li>\\n<li>\\nCart\\nshift\\n+\\nalt\\n+\\nC\\n</li>\\n<li>\\nHome\\nshift\\n+\\nalt\\n+\\nH\\n</li>\\n<li>\\nOrders\\nshift\\n+\\nalt\\n+\\nO\\n</li>\\n<li>\\n<button>\\n<div>\\n<span>Add to cart</span>\\n<div>\\n<span>shift</span>\\n<span>+</span>\\n<span>alt</span>\\n<span>+</span>\\n<span>K</span>\\n</div>\\n</div>\\n</button>\\n</li>\\n<li>\\n<button>\\n<div>\\n<span>Show/Hide shortcuts</span>\\n<div>\\n<span>shift</span>\\n<span>+</span>\\n<span>alt</span>\\n<span>+</span>\\n<span>Z</span>\\n</div>\\n</div>\\n</button>\\n</li>\\n</ul>\\n<div>\\n<div>\\n<div>\\n<div>\\n<span>To move between items, use your keyboard's up or down arrows.</span>\\n</div>\\n</div>\\n</div>\\n</div>\\n</nav></div></body><body><div><div><div><div>\\n<div>\\n<div><div><div><ul><li><span>Home & Kitchen</span></li><li><span>›</span></li><li><span>Kitchen & Dining</span></li><li><span>›</span></li><li><span>Small Appliances</span></li><li><span>›</span></li><li><span>Rice Cookers</span></li></ul></div></div></div> </div>\\n</div></div></div></div></body></html>\", '<html><body><div><div><div><div><div><div><div><div><div><div><div><div><div><div> <div> <h5> <div>\\n<div> <span> Deal Price Regular Price </span> </div> </div>\\n</h5> <div>\\n<div>\\n<div>\\n<div>\\n<div>\\n<div> <div>\\n<div>\\n<span><span>$79.99</span><span><span>$</span><span>79<span>.</span></span><span>99</span></span></span> </div>\\n</div> </div> </div>\\n</div>\\n</div>\\n</div>\\n<div>\\n<div> <div> <div> <span> Ships from: </span> <span> Amazon.com </span> </div> </div> <div> <div> <span> Sold by: </span> <span> Amazon.com </span> </div> </div> </div> </div>\\n</div>\\n<div><form><input/></form></div><div><form><div><div><div>\\n<div>\\n<span> $235.34 Shipping & Import Fees Deposit to Egypt </span> <span> Details </span> <div> <h3>Shipping & Fee Details</h3>\\n<table> <tr> <td> <span> Price </span> </td> <td> <span> $99.95 </span> </td> </tr> <tr> <td> <span> AmazonGlobal Shipping </span> </td> <td> <span> $81.05 </span> </td> </tr> <tr> <td> <span> \\n Estimated Import Fees Deposit\\n</span> </td> <td> <span> $154.29 </span> </td> </tr> <tr> <td> <span>Total</span> </td> <td> <span> $335.29 </span> </td> </tr> </table> </div>\\n</div>\\n<div>\\n<div>\\n<div><div><div><span> Delivery <span>Sunday, July 13</span>. Order within <span>23 hrs 59 mins</span> </span></div></div></div> </div>\\n<div>\\n<span> \\nDeliver to\\xa0Egypt\\n </span> </div>\\n</div>\\n</div></div></div></form></div><div><form><div><div><div>\\n<div> <div> <span> In Stock </span> </div> </div> </div></div></div></form></div></div> <div>\\n<div>\\n<div> <div> <span> This deal is exclusively for Amazon Prime members. </span> </div>\\n<div> <div>\\n<span><span><input/><span> Join Prime </span></span></span> </div>\\n<div> <span>Cancel anytime</span> </div> </div> <div> <span> Already a member? </span> Sign in </div> </div> </div>\\n<div>\\n<div> <div> <div> <div>\\n<div>\\n<div>\\n<div>\\n<span>Ships from</span> </div>\\n</div>\\n<div>\\n<div>\\n<span>Amazon.com</span> </div>\\n<span> Amazon.com </span> <div> <div> <div> <span>Ships from</span> </div> <div> Amazon.com </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<span>Sold by</span> </div>\\n</div>\\n<div>\\n<div>\\n<span>Amazon.com</span> </div>\\n<span> Amazon.com </span> <div> <div> <div> <span>Sold by</span> </div> <div> Amazon.com </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<span>Returns</span> </div>\\n</div>\\n<div>\\n<span> 30-day refund/replacement </span> <div> <div> <div> <span>30-day refund/replacement</span> </div> <div> This item can be returned in its original condition for a full refund or replacement within 30 days of receipt. </div> <div> Read full return policy </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<span>Payment</span> </div>\\n</div>\\n<div>\\n<span> Secure transaction </span> <div> <div> <div> <span>Your transaction is secure</span> </div> <div> We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<span>Support</span> </div>\\n</div>\\n<div>\\n<span> Product support included </span> <div> <div> <div> <span>What\\'s Product Support?</span> </div> <div> In the event your product doesn\\'t work as expected or you need help using it, Amazon offers free product support options such as live phone/chat with an Amazon associate, manufacturer contact information, step-by-step troubleshooting guides, and help videos. \\nBy solving product issues, we help the planet by extending the life of products. Availability of support options differ by product and country. Learn more </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<span>Packaging</span> </div>\\n</div>\\n<div>\\n<span> Ships in product packaging </span> <div> <div> <div> <span>Ships in product packaging</span> </div> <div> <p>This item has been tested to certify it can ship safely in its original box or bag to avoid unnecessary packaging. Since 2015, we have reduced the weight of outbound packaging per shipment by 41% on average, that’s over 2 million tons of packaging material.</p><i>If you still require Amazon packaging for this item, choose \"Ship in Amazon packaging\" at checkout. </i> Learn more </div> </div> </div> </div> </div>\\n</div>\\n</div> <div> <div>See more</div> </div> </div> </div> </div>\\n</div> </div></div></div></div></div></div></div></div></div></div></div></div></div></div></body></html>', \"<html><body><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><form><div><div><div>\\n<div>\\n<div> <span> <div> <div>\\n<span><label>Quantity:</label><select> <option>1 </option> <option>2 </option> <option>3 </option> <option>4 </option> <option>5 </option> <option>6 </option> <option>7 </option> <option>8 </option> <option>9 </option> <option>10 </option> <option>11 </option> <option>12 </option> <option>13 </option> <option>14 </option> <option>15 </option> <option>16 </option> <option>17 </option> <option>18 </option> <option>19 </option> <option>20 </option> <option>21 </option> <option>22 </option> <option>23 </option> <option>24 </option> <option>25 </option> <option>26 </option> <option>27 </option> <option>28 </option> <option>29 </option> <option>30 </option> </select><span><span><span><span>Quantity:</span><span>1</span></span></span></span></span> </div> </div> <span><input/><span> Buy Now </span></span></span> <div><div> <span> Enhancements you chose aren't available for this seller. </span> <span> Details </span> <div> <div> <div> <div> <span> To add the following enhancements to your purchase, choose a different seller. </span> </div> <div> <span>%cardName%</span> </div> </div> </div> </div> </div></div></div> <span> <span><span><input/><span>Add to Cart</span></span></span> </span></div> <input/><div> <div> <span>$</span><span><span><span>$79.99</span><span><span>79<span>.</span></span><span>99</span></span></span></span> <span> \\n ()\\n </span> <span> Includes selected options. </span> <span> Includes initial monthly payment and selected options. </span> <span> <span> <span>\\n Details </span>\\n</span> <div> <div> <div> <div> <div><div> <div> <span>Price</span> <span> <span> <span> (</span><span>$</span><span>79<span>.</span></span><span>99</span><span>x)</span> </span> </span> </div> <div> <span> <span> <span>$</span><span>79<span>.</span></span><span>99</span> </span> </span> </div> </div></div> </div> <div> <div><div> <div> <span>Subtotal</span> </div> <div> <span> <span>$</span><span><span><span>$79.99</span><span><span>79<span>.</span></span><span>99</span></span></span></span> </span> </div> </div></div> <div><div> <div> <span>Subtotal</span> </div> </div></div> <div> <div> <span>Initial payment breakdown</span> </div> </div> <div> <span>Shipping cost, delivery date, and order total (including tax) shown at checkout.</span>\\n</div> </div> </div> </div> </div> </span> </div> </div></div></div></div></form></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></body></html>\", '<html><body><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><form><div><div><div>\\n<div> <div> <div> <div>\\n<div>\\n<div>\\n<div>\\n<span>Ships from</span> </div>\\n</div>\\n<div>\\n<div>\\n<span>Amazon.com</span> </div>\\n<span> Amazon.com </span> <div> <div> <div> <span>Ships from</span> </div> <div> Amazon.com </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<span>Sold by</span> </div>\\n</div>\\n<div>\\n<div>\\n<span>Amazon.com</span> </div>\\n<span> Amazon.com </span> <div> <div> <div> <span>Sold by</span> </div> <div> Amazon.com </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<span>Returns</span> </div>\\n</div>\\n<div>\\n<span> 30-day refund/replacement </span> <div> <div> <div> <span>30-day refund/replacement</span> </div> <div> This item can be returned in its original condition for a full refund or replacement within 30 days of receipt. </div> <div> Read full return policy </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<div>\\n<div>\\n<span>Packaging</span> </div>\\n</div>\\n<div>\\n<span> Ships in product packaging </span> <div> <div> <div> <span>Ships in product packaging</span> </div> <div> <p>This item has been tested to certify it can ship safely in its original box or bag to avoid unnecessary packaging. Since 2015, we have reduced the weight of outbound packaging per shipment by 41% on average, that’s over 2 million tons of packaging material.</p><i>If you still require Amazon packaging for this item, choose \"Ship in Amazon packaging\" at checkout. </i> Learn more </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<span>Payment</span> </div>\\n</div>\\n<div>\\n<span> Secure transaction </span> <div> <div> <div> <span>Your transaction is secure</span> </div> <div> We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more </div> </div> </div> </div> </div>\\n<div>\\n<div>\\n<div>\\n<span>Support</span> </div>\\n</div>\\n<div>\\n<span> Product support included </span> <div> <div> <div> <span>What\\'s Product Support?</span> </div> <div> In the event your product doesn\\'t work as expected or you need help using it, Amazon offers free product support options such as live phone/chat with an Amazon associate, manufacturer contact information, step-by-step troubleshooting guides, and help videos. \\nBy solving product issues, we help the planet by extending the life of products. Availability of support options differ by product and country. Learn more </div> </div> </div> </div> </div>\\n</div>\\n</div>\\n</div>\\n</div> <div> <div>See more</div> </div> </div> <label><input/><span>Add a gift receipt for easy returns</span></label></div> </div></div></div></form></div><span>Instant Pot Duo</span></div></div></div>\\n</div>\\n</div></div> \\xa0 Report an issue with this product or seller<h4>Product voltage: 120</h4></div> <span> <span>8K+ bought</span><span> in past month</span> </span>Brief content visible, double tap to read full content.</div> Visit the Instant Pot Store \\n <ul> <li><span> 7-IN-1 FUNCTIONALITY: Pressure cook, slow cook, rice cooker, yogurt maker, steamer, sauté pan and food warmer. </span></li> <li><span> QUICK ONE-TOUCH COOKING: 13 customizable Smart Programs for pressure cooking ribs, soups, beans, rice, poultry, yogurt, desserts and more. </span></li> <li><span> COOK FAST OR SLOW: Pressure cook delicious one-pot meals up to 70% faster than traditional cooking methods or slow cook your favorite traditional recipes – just like grandma used to make. </span></li> <li><span> QUICK AND EASY CLEAN UP: Finger-print resistant, stainless-steel sides and dishwasher-safe lid, inner pot, and accessories. </span></li> <li><span> SAFETY FEATURES: Includes over 10 safety features, plus overheat protection and safe-locking lid </span></li> <li><span> GREAT FOR GROWING FAMILIES: Cook for up to 6 people – perfect for growing families, or meal prepping and batch cooking for singles. </span></li> <li><span> VERSATILE INNER COOKING POT: We use food-grade stainless-steel, a tri-ply bottom for more even cooking and perfect for sautéing </span></li> <li><span> DISCOVER AMAZING RECIPES: Includes the free Instant Brands Connect App, where you can find new recipes to create quick favorites and prepare delicious meals, available for iOS and Android. </span></li> </ul><div> <span>›</span> See more product details </div> <div><div> <div> Instant Pot RIO, 7-in-1 Electric Multi-Cooker, PressureCooker, SlowCooker, RiceCooker, Steamer, Sauté, Yogurt Maker, & Warmer, Includes App With Over 800 Recipes, 6 Quart <span>$94.95</span> (2,374) <span>In Stock</span> </div> </div></div></div></div></div></div></div></div></div></body></html>', \"<html><body><div><div><div><div>\\n<div>\\n<div><div> <div><input/> <div><div><h2>Deals on related products</h2> <div> <div> <span> Sponsored </span> </div> </div> </div><div><span><span>Page <span>1</span> of <span>1</span></span><span>Start over</span></span></div></div> <div> <div><div><div>Previous page of related Sponsored Products</div><div><div><ol> <li> <div> <div> <div> <span> Feedback </span> </div> </div> <div> CHEF iQ Smart Pressure Cooker with WiFi and Built-in Scale - Easy-to-Use 10-in-1 Mu... </div> <div> 2,645 </div> With Prime <div> -30%$139.98$139.98List Price:$199.99$199.99 </div> </div> </li> <li> <div> <div> <div> <span> Feedback </span> </div> </div> <div> Nuwave Duet Air Fryer, Electric Pressure Cooker & Grill Combo, 540 IN 1 Multicooker... </div> <div> 378 </div> With Prime <div> -10%$146.10$146.10Typical price:$162.33$162.33 </div> </div> </li> <li> <div> <div> <div> <span> Feedback </span> </div> </div> <div> Hamilton Beach 3-in-1 Electric Egg Cooker for Hard Boiled Eggs, Poacher Eggs, Omele... </div> <div> 5,210 </div> <div> Amazon's\\xa0Choice </div> Ends in <div> -19%$16.98$16.98List:$20.95$20.95 </div> </div> </li> <li> <div> <div> <div> <span> Feedback </span> </div> </div> <div> CUCKOO CRP-ST1009FW 10-Cup (Uncooked) / 20-Cup (Cooked) Twin Pressure Rice Cooker &... </div> <div> 366 </div> <div> Amazon's\\xa0Choice </div> With Prime <div> -31%$239.99$239.99List Price:$349.99$349.99 </div> </div> </li> <li> <div> <div> <div> <span> Feedback </span> </div> </div> <div> WantJoin Pressure Cooker, 8 Quart Stainless Steel Pressure Canner, Induction Compat... </div> <div> 947 </div> <div> Amazon's\\xa0Choice </div> Limited time deal <div> -10%$80.89$80.89List:$89.99$89.99 </div> </div> </li> <li> <div> <div> <div> <span> Feedback </span> </div> </div> <div> Buffalo Classic Rice Cooker with Clad Stainless Steel Inner Pot - Electric Rice Coo... </div> <div> 479 </div> Ends in <div> -15%$126.65$126.65List Price$149.00$149.00 </div> </div> </li> <li> <div> <div> <div> <span> Feedback </span> </div> </div> <div> Pizza Oven Indoor, Countertop Electric Pizza Maker 12-inch, 2-minute Pizza, 6 Prese... </div> <div> 12 </div> Limited time deal <div> -15%$169.99$169.99List:$199.99$199.99 </div> </div> </li> </ol></div></div><div>Next page of related Sponsored Products</div></div></div> </div> <span>\\n<div>\\n<div><div><div><div><h2>Customer reviews</h2></div><div><div><div><i><span>4.6 out of 5 stars</span></i></div><div><div><span><span>4.6 out of 5</span></span></div></div></div></div><div><span>130,204 global ratings</span></div><div><div><div><ul><li><span>5 star4 star3 star2 star1 star5 star83%10%3%1%3%83%</span></li><li><span>5 star4 star3 star2 star1 star4 star83%10%3%1%3%10%</span></li><li><span>5 star4 star3 star2 star1 star3 star83%10%3%1%3%3%</span></li><li><span>5 star4 star3 star2 star1 star2 star83%10%3%1%3%1%</span></li><li><span>5 star4 star3 star2 star1 star1 star83%10%3%1%3%3%</span></li></ul></div></div></div><div><div><div><div>How customer reviews and ratings work<div><p>Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.</p><p>To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.</p>Learn more how customers reviews work on Amazon</div></div></div></div></div></div></div></div>\\n</div></span><div><h3>Review this product</h3><div>Share your thoughts with other customers</div><div><span><span>Write a customer review</span></span></div></div></div> </div></div>\\n</div></div></div></div></div></body></html>\", '<html><body><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><h3>Customers say</h3><div><div><div><div><h4>Select to learn more</h4></div><div>Works wellEase of useCook timeAppliance qualityCooking abilityEase of cleaningFlavorBuild quality</div></div></div></div><div><div><div><div><div><div><div><span>8,040 customers mention \"Works well\"</span><span>6,940 positive</span><span>1,100 negative</span></div></div></div><div><div><p>Customers find that the pressure cooker works well, with the sauté feature performing particularly effectively.</p></div></div><div><div><p>\"...This <b>works with new potatoes</b>, and regular potatoes! Happy Instant Potting!\" Read more</p></div></div><div><div><p>\"...<b>It was excellent</b>. I did 6 minutes per pound + 2 minutes. I also cook chicken thighs for dinner about once a week, which I had never cooked before....\" Read more</p></div></div><div><div><p>\"...Most <b>programs work just fine on full automatic</b>, but some small exceptions may demand more online flexibility....\" Read more</p></div></div><div><div><p>\"...occasional mishaps, the Instant Pot Duo has consistently <b>delivered incredible results</b>....\" Read more</p></div></div></div></div></div></div><div><div><div><div><div><div><div><span>7,651 customers mention \"Ease of use\"</span><span>6,651 positive</span><span>1,000 negative</span></div></div></div><div><div><p>Customers find the pressure cooker simple to use, with clear operating instructions in the booklet, making meal preparation a breeze.</p></div></div><div><div><p>\"...make in your Instant Pot that will change your life: <b>incredibly easy perfectly poached eggs</b> in 2-3 minutes, and baked potatoes in 12 minutes....\" Read more</p></div></div><div><div><p>\"...credit as most automatic settings work well, automating it for <b>ease of use</b> and safety. Cooking is part Science, but, I think, more Art than Science....\" Read more</p></div></div><div><div><p>\"...crockpot extensively over the past years and while I appreciate the <b>ease of use</b> and the ability to put a meal on the table soon after I got home in...\" Read more</p></div></div><div><div><p>\"...of pressure cookers anymore, the time , energy bills saved n <b>convenience is worth it</b>!...\" Read more</p></div></div></div></div></div></div><div><div><div><div><div><div><div><span>6,666 customers mention \"Cook time\"</span><span>6,260 positive</span><span>406 negative</span></div></div></div><div><div><p>Customers appreciate the pressure cooker\\'s quick cooking time, with one mentioning it can make rice in just 10 minutes, while another notes it cooks like a crockpot in 1/8th the time.</p></div></div><div><div><p>\"...incredibly easy perfectly poached eggs in 2-3 minutes, and <b>baked potatoes in 12 minutes</b>....\" Read more</p></div></div><div><div><p>\"...My kids love it. <b>8 minutes on manual with a natural release</b>. I just stir it with a fork and don\\'t even need to blend it....\" Read more</p></div></div><div><div><p>\"...steel liner (looks like chrome), along with the <b>delay and cooking timer auto-shutoff</b>. This sets it apart from old-time swisher type 1st Gen P.C.\\'s....\" Read more</p></div></div><div><div><p>\"...versatile appliance seamlessly transforms into a pressure cooker, <b>slow cooker</b>, rice cooker, steamer, sauté pan, yogurt maker, warmer, and even a...\" Read more</p></div></div></div></div></div></div><div><div><div><div><div><div><div><span>5,399 customers mention \"Appliance quality\"</span><span>5,399 positive</span><span>0 negative</span></div></div></div><div><div><p>Customers find the pressure cooker to be a fabulous kitchen appliance, with one customer noting its versatility as both a pressure cooker and crockpot.</p></div></div><div><div><p>\"...When you are ready for your potatoes, they will be <b>perfectly done</b> and waiting for you, even if you have abandoned them for hours!...\" Read more</p></div></div><div><div><p>\"...I have to use a rapid boil just to make tea. A <b>pressure cooker is the great equalizer</b>, a must at higher altitudes because 15 lbs is 15 lbs pressure...\" Read more</p></div></div><div><div><p>\"...This <b>versatile appliance seamlessly transforms into a pressure cooker</b>, slow cooker, rice cooker, steamer, sauté pan, yogurt maker, warmer, and even...\" Read more</p></div></div><div><div><p>\"...It\\'s just better insulated, but I\\'ve found that <b>meals are so good under pressure</b> that there\\'s no need to use the slow cooker function....\" Read more</p></div></div></div></div></div></div></div><p><span>Customers find the pressure cooker works well, particularly praising its sauté feature and accurate cooking times. They appreciate its ease of use, with one customer noting the intuitive controls, and consider it a great kitchen appliance that makes meal prep convenient. The appliance receives positive feedback for its cooking ability, with one customer highlighting its versatility in transforming into a pressure cooker, and customers find it easy to clean with a stainless steel pot that cleans well. Customers enjoy the complex flavors produced, though opinions on build quality are mixed, with some finding it well-made while others describe it as wimpy.</span></p><p><span>AI Generated from the text of customer reviews</span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></body></html>', '<html><body><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><span>4,396 customers mention \"Cooking ability\"3,065 customers mention \"Ease of cleaning\"2,827 customers mention \"Flavor\"2,273 customers mention \"Build quality\"</span><span>4,298 positive</span><span>98 negative</span>Amazon Customer<i><span>5 out of 5 stars</span></i>MoreHide</div><h5>This has changed the way we eat. It\\'s easier to use than I thought it would be.</h5></div></div><div><div><p>Customers praise the pressure cooker\\'s cooking ability, particularly its amazing recipes and rice cooking feature, with one customer noting it makes stir-fry dishes and another mentioning it\\'s easy to use on the dining room table.</p></div></div><div><div><p>\"...there in the morning, leave for the day, and come back to a <b>perfectly cooked whatever</b>, just waiting for you! Booyah!...\" Read more</p></div></div><div><div><p>\"...You could <b>very easily cook on the dining room table</b>, or a small adjacent table....\" Read more</p></div></div><div><div><p>\"...While the <b>free app provided great recipes</b> and guidance, a comprehensive manual would have been helpful for understanding all the features and...\" Read more</p></div></div><div><div><p>\"...This handy appliance has <b>transformed my summertime cooking</b>, allowing me to break away from our usual salads and grilled chicken rut....\" Read more</p></div></div></div>Sorry we couldn\\'t load the review</div><span><div><div><div>Thank you for your feedback</div><button>Close</button></div></div></span><span><div><div><div>Sorry, there was an error</div><button>Close</button></div></div></span></div><button><span>All photos</span></button></div></div><input/><div><div><div>Previous page</div><div>Next page</div></div></div></div>\\n View Image Gallery\\n</div></div></div><span><div><div><div><h3>\\n Top reviews from the United States\\n</h3></div></div></div></span><span><div><div><div><div><div><div><h4>There was a problem filtering reviews. Please reload the page.</h4></div></div></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div>Anne P. Mitchell</div></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div><h5>5.0 out of 5 stars\\nI LOVE My Instant Pot! But Here\\'s What I Wish I\\'d Known when I First Got It\\n</h5></div></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><span>Reviewed in the United States on April 16, 2016</span></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div><span>Size: 6 Quarts</span>Verified Purchase</div></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div><span><div><div><span><br/></span></div></div></span></div></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div><span><div><div>Read more</div></div></span></div></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div><span>\\n<div><span>30,253 people found this helpful</span></div>\\n<div>\\n<span><span>\\n Helpful\\n</span></span></div>\\n</span><span>\\n<span><span>Report</span></span></span>\\n</div></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div>Aundrea</div></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div><h5>5.0 out of 5 stars\\nThis has changed the way we eat. It\\'s easier to use than I thought it would be.\\n</h5></div></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><span>Reviewed in the United States on August 18, 2016</span></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div><div><div><div>\\n<div>\\nAundrea\\n</div>\\n<i><span>5.0 out of 5 stars</span></i>\\n<h5>\\n This has changed the way we eat. It\\'s easier to use than I thought it would be.\\n </h5>\\n<span>\\n Reviewed in the United States on August 18, 2016\\n </span>\\n</div></div></div></div></div></div></span></li></ul></div></div></div></div></span><span><div><div><div><div><ul><li><span><div><div><div><div><div><span><br/></span></div></div></div></div></div></span></li></ul></div></div></div></div></span></div></div></div></div></div></div></div></div></div></div></div></body></html>', \"<html><body><div><div><div><div><div><div><div><div><div><div><div><span><div><div><div><div><ul><li><span><div><div><div><div><div><div>\\n<h6>\\n Images in this review\\n </h6>\\n</div></div></div><span>\\n<div><span>5,558 people found this helpful</span></div>\\n<div>\\n<span><span>\\n Helpful\\n</span></span></div>\\n</span>\\n</div></div></div></span></li></ul>See more reviews</div></div></div></div><span><div>\\n<h3>\\n Top reviews from other countries\\n </h3>\\n<div>\\n<div><span><span><span>Translate all reviews to English</span></span></span>\\n</div>\\n</div>\\n</div></span><span><div><div><ul><li><span>\\n<div><div>\\n<div><div><div><span>Alheny</span></div></div></div><div><h5><i><span>5.0 out of 5 stars</span></i><span>\\n<span>Excelente</span>\\n</span></h5></div><span>Reviewed in Mexico on June 4, 2025</span><div><span>Size: 6 Quarts</span>Verified Purchase</div><div><span>\\n<div><div>\\n<span>Excelente producto, la recomiendo totalmente, facilita el trabajo en la cocina</span>\\n</div><div>Read more</div></div></span></div><div><span>\\n<span><span>Report</span></span></span>\\n<div><span>Translate review to English</span></div></div></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div><div><div><div><span>NeuroEmergent</span></div></div></div></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div><div><h5><i><span>5.0 out of 5 stars</span></i><span>\\n<span>A truly Canadian innovation - Instant Pot is the best item in my kitchen, hands down</span>\\n</span></h5></div></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div><span>Reviewed in Canada on November 23, 2017</span></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div><div><span>Size: 6 Quarts</span>Verified Purchase</div></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div><div><span><div><div>Read more</div></div></span></div></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div><div><div><div><div>\\n<div>\\n<div><div><span>NeuroEmergent</span></div></div>\\n</div>\\n<i><span>5.0 out of 5 stars</span></i>\\n<h5>\\n A truly Canadian innovation - Instant Pot is the best item in my kitchen, hands down\\n </h5>\\n<span>\\n Reviewed in Canada on November 23, 2017\\n </span>\\n</div></div></div></div></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div><div><div><div><span><br/></span></div></div></div></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div><div><div><div><div>\\n<h6>\\n Images in this review\\n </h6>\\n</div></div></div></div></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div><div><span>\\n<span><span>Report</span></span></span>\\n</div></div></div></span></li></ul></div></div></span><span><div><div><ul><li><span><div><div>\\n<div><div><div><span>MV</span></div></div></div><div><h5><i><span>5.0 out of 5 stars</span></i><span>\\n<span>3 Qt Instant Pot. LOVE IT!!!</span>\\n</span></h5></div><span>Reviewed in Canada on December 25, 2024</span><div><span>Size: 3 Quarts</span>Verified Purchase</div><div><span><div><div>\\n<span>My main cooking appliance. Uses only 675 watts max to build pressure, then mostly 0 watts under pressure but occasionally spiking back to 675 watts to keep the pressure. 3 Qts is a great size for 1 or 2 people, or even more depending on what you are cooking. Takes some practice, reading the manual and recipe guide and trial and error to tweak preferred times. It will even boil a pot of water like a kettle, which I tried as a test but forgot to time it. Fantastic appliance for off grid energy efficiency and used far more than the induction hot plate. So far nothing it hasn't cooked. Also extremely safe with the On Off and delay timers and turns off if it were to boil dry, unlike a gas stove which could burn down your house. Can't tell you how I know that. Fantastic for seniors for safety if they can get over all the preset buttons which are not needed anyway and just learn to use the few buttons and functions required to cook almost anything. Highly Recommended.</span>\\n</div><div>Read more</div></div></span></div><div><span>\\n<span><span>Report</span></span></span>\\n</div></div></div></span></li></ul></div></div></span></span></div></div></div></div></div></div></div></div></div></div></div></body></html>\", '<html><body><div><div><div><div><div><div><div><div><div><div><div><span><span><div><div><ul><li><span>\\n<div><div>\\n<div><div><div><span>Laissan sayab perez</span></div></div></div><div><h5><i><span>5.0 out of 5 stars</span></i><span>\\n<span>Gran inversión para la cocina</span>\\n</span></h5></div><span>Reviewed in Mexico on March 30, 2025</span><div><span>Size: 3 Quarts</span>Verified Purchase</div><div><span><div><div>\\n<span>Gran inversión para la cocina, soy una persona muy ocupada y me gusta cuidar de mi salud me cocino, pero en los guisos y cocciones de frijoles se consume mucho gas , opté por esta olla que vi, ya hice mi primer caldo de res con verduras quedó la carne muy suave en poco tiempo ⏱️ me encantó, tiene muy buena seguridad para la presión.Lo que me encanta:✔️ Cocina mucho más rápido que una olla convencional.✔️ Tiene varias funciones, desde cocción a presión hasta salteado.✔️ Es segura y fácil de limpiar.Lo que podría mejorar:🔹 La curva de aprendizaje puede ser un poco alta al inicio, pero una vez que entiendes los tiempos y funciones, todo es sencillo.En general, es una excelente compra si quieres ahorrar tiempo en la cocina y hacer recetas deliciosas sin complicaciones. ¡La recomiendo totalmente!</span>\\n</div><div>Read more</div></div></span></div><div>\\n<div>\\n<div>\\n<div>\\n<div>\\n<div><div><span>Laissan </span></div></div>\\n</div>\\n<i><span>5.0 out of 5 stars</span></i>\\n<h5>\\n Gran inversión para la cocina\\n </h5>\\n<span>\\n Reviewed in Mexico on March 30, 2025\\n </span>\\n</div>\\n<span>\\n Gran inversión para la cocina, soy una persona muy ocupada y me gusta cuidar de mi salud me cocino, pero en los guisos y cocciones de frijoles se consume mucho gas , opté por esta olla que vi, ya hice mi primer caldo de res con verduras quedó la carne muy suave en poco tiempo ⏱️ me encantó, tiene muy buena seguridad para la presión.<br/>Lo que me encanta:✔️ Cocina mucho más rápido que una olla convencional.✔️ Tiene varias funciones, desde cocción a presión hasta salteado.✔️ Es segura y fácil de limpiar.Lo que podría mejorar:🔹 La curva de aprendizaje puede ser un poco alta al inicio, pero una vez que entiendes los tiempos y funciones, todo es sencillo.En general, es una excelente compra si quieres ahorrar tiempo en la cocina y hacer recetas deliciosas sin complicaciones. ¡La recomiendo totalmente!\\n</span>\\n<div>\\n<h6>\\n Images in this review\\n </h6>\\n</div>\\n</div>\\n</div>\\n</div>\\n<div><span>\\n<span><span>Report</span></span></span>\\n<div><span>Translate review to English</span></div></div></div></div></span></li><div>See more reviews</div></ul></div></div></span></span></div></div></div></div></div></div>Get to Know Us</div></div></div> <div> <div> <div> Your recently viewed items and featured recommendations </div> <div> <div> <div> <div> › </div> <div> View or edit your browsing history </div> </div> <span> After viewing product detail pages, look here to find an easy way to navigate back to pages you are interested in. </span> </div> </div> </div> </div></div></div></body></html>']\n",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n",
"Final output: {'productTitle': 'Instant Pot RIO, 7-in-1 Electric Multi-Cooker, PressureCooker, SlowCooker, RiceCooker, Steamer, Sauté, Yogurt Maker, & Warmer, Includes App With Over 800 Recipes, 6 Quart', 'price': 79.99, 'manufacturer': 'Amazon.com'}\n",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
]
},
{
"data": {
"text/plain": [
"{'productTitle': 'Instant Pot RIO, 7-in-1 Electric Multi-Cooker, PressureCooker, SlowCooker, RiceCooker, Steamer, Sauté, Yogurt Maker, & Warmer, Includes App With Over 800 Recipes, 6 Quart',\n",
" 'price': 79.99,\n",
" 'manufacturer': 'Amazon.com'}"
]
},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"pipe.run(content=url,is_url=True, schema=schema, hf=False)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "371f7a17",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.9"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
|