amazon-scrape-4-llm / README.md
TIMΛƧHΛN
Create README.md
563b3ab
|
raw
history blame
681 Bytes
metadata
license: mit
task_categories:
  - text-classification
language:
  - en
tags:
  - amazon
  - products
  - binary
  - text
pretty_name: Amazon Scrape 4 llm
size_categories:
  - 1K<n<10K

Amazon Scrape 4 llm

Purpose?

Feed an LLM raw html to identify products from an ecommerce platform.
These datasets contain the extracted innerTexts of all HTML nodes from different ecommerce product pages.
The cleaning process significantly reduces the token size from ex: 450k -> 6k

JS snippet

const allowedTags = sanitizeHtml.defaults.allowedTags;
allowedTags.splice(allowedTags.indexOf("a"), 1);
convert(sanitizeHtml(document.body.innerHTML, { allowedTags }));