Datasets:
query_id int64 217 116k | query stringlengths 4 60 | enriched_query stringlengths 17 79 |
|---|---|---|
217 | +crunchy peanuts not butter | Can you show me crunchy peanuts, not peanut butter? |
218 | +dark +chocolate +peanuts not milk | Do you have dark chocolate with peanuts but no milk? |
219 | +dark chocolate peanuts covered not milk | Do you have peanuts covered in dark chocolate, not milk chocolate? |
319 | . iced tea without sucralose without aspartame | Do you have iced tea without sucralose or aspartame? |
396 | 0 cal water inhancer without sugar | Do you have sugar‑free, zero‑calorie water enhancers? |
693 | 1 can of pumpkin for dogs without sugar | Do you sell a single can of sugar‑free pumpkin for dogs? |
751 | 1 herb-ox beef granules bouillon without msg 7.9 0z. | Do you have Herb‑Ox beef bouillon granules without MSG in the 7.9 oz size? |
756 | 1 huba buba origanal not exspencive | Show me an inexpensive pack of original Hubba Bubba gum. |
831 | 1 morton sea salt without iodine | Do you have Morton sea salt without iodine? |
1,244 | 10 lb bag of candy | Do you have a 10‑pound bag of candy? |
1,383 | 100 count kcups | Do you have 100‑count K‑Cup coffee pods? |
1,446 | 100% arabica coffee without additives | Do you have pure 100% Arabica coffee without additives? |
1,458 | 100% cranberry juice not from concentrate | Do you have 100% cranberry juice that’s not from concentrate? |
1,466 | 100% montmorency tart cherry juice without added sugar | Do you have 100% Montmorency tart cherry juice with no added sugar? |
1,860 | 12 pack bang energy drink | Do you have Bang Energy drinks in a 12‑pack? |
2,727 | 2% lactose free milk | Do you have 2% lactose‑free milk? |
2,898 | 21 cupcake toppers | Do you have cupcake toppers in a 21‑count set? |
3,009 | 24 pack water | Do you have a 24‑pack of bottled water? |
3,416 | 3 pounds of gum | Do you sell 3‑pound bags of chewing gum? |
3,791 | 365 decaf coffee | Do you have 365 decaf coffee? |
3,792 | 365 everyday value | What 365 Everyday Value products do you have? |
3,793 | 365 fruit bars | Do you sell 365 brand fruit bars? |
4,177 | 40 pound bag of lucky charms marshmallows | Do you sell a 40‑pound bag of Lucky Charms marshmallows? |
4,521 | 5 hour energy green tea 24 pack | Do you have a 24‑pack of 5‑Hour Energy in green tea flavor? |
5,277 | 8 oclock dark italian roast coffee k cup | Do you have 8 O'Clock Dark Italian Roast coffee K‑Cups? |
5,957 | a2 cow ghee organic | Do you have organic A2 cow ghee? |
6,178 | acai puree | Where can I find acai puree? |
6,492 | acv shots | Do you have apple cider vinegar shots? |
7,458 | airheads | Do you have Airheads candy? |
7,666 | ajus sauce | Do you have au jus sauce? |
7,803 | alcohol free wine | Do you have any alcohol‑free wines? |
8,192 | allulose sweetener | Do you have any allulose sweeteners? |
8,230 | almond chips | Do you have almond chips? |
8,231 | almond flour | Do you have almond flour? |
8,232 | almond flour cracker | Do you have almond flour crackers? |
8,233 | almond flour keto | Which almond flours are keto-friendly? |
8,234 | almond flour non gmo | Do you have non-GMO almond flour? |
8,236 | almond milk | Do you have almond milk? |
8,237 | almond milk prime pantry | What almond milk options are available in Prime Pantry? |
8,238 | almond milk unsweetened vanilla | Do you have unsweetened vanilla almond milk? |
8,239 | almond milk without carrageenan | Do you have almond milk without carrageenan? |
8,242 | almonds | Do you have almonds available? |
8,359 | alter eco brown butter chocolate | Do you have Alter Eco Brown Butter chocolate? |
8,360 | alter eco dark chocolate | Do you have Alter Eco dark chocolate? |
8,563 | amazon fresh light roast coffee | Do you have Amazon Fresh light roast coffee? |
8,997 | anchovy paste | Do you have anchovy paste? |
9,076 | andy capps cheddar fries | Do you have Andy Capp's Cheddar Fries? |
9,241 | anise extract | Do you have anise extract? |
9,335 | annie chun noodle bowl | Do you have Annie Chun's noodle bowls? |
10,164 | archway gingerbread man cookies | Do you have Archway Gingerbread Man cookies? |
10,171 | arcor fruit filled candy | Do you have Arcor fruit‑filled candy? |
10,449 | arrowhead water | Do you have Arrowhead bottled water? |
10,569 | artificial sweetner splenda bag | Do you carry Splenda artificial sweetener in bag form? |
10,600 | arugula | Do you have fresh arugula? |
10,657 | asian snacks | What Asian snacks do you have? |
10,706 | asparagus fresh | Do you have fresh asparagus? |
10,973 | atlanta braves cake decorations | Do you have Atlanta Braves cake decorations? |
11,118 | augar free syrup | Do you have sugar‑free syrup? |
12,274 | baby water without fluoride | Do you have fluoride‑free baby water? |
12,339 | bacardi rum | Do you have Bacardi rum? |
12,515 | bacon seasoning | Do you have any bacon-flavored seasonings? |
12,592 | bagels | What bagels do you have? |
12,663 | baking soda | Do you have baking soda? |
12,664 | baking soda bulk | Do you have baking soda in bulk? |
12,908 | banana chips | Do you have banana chips? |
12,910 | banana extract | Do you have banana extract? |
12,914 | banana peanut butter | Do you have banana peanut butter? |
12,920 | bananas fresh | Do you have fresh bananas? |
13,119 | barbaras honest os | Do you have Barbara’s Honest O’s cereal? |
13,201 | bare bones broth sticks | Do you have Bare Bones broth sticks? |
13,253 | barnies santas white christmas coffee | Do you have Barnie’s Santa’s White Christmas coffee? |
13,293 | barrel aged balsamic vinegar thick | Do you have thick, barrel‑aged balsamic vinegar? |
13,347 | base culture keto bread | Do you have Base Culture keto bread? |
13,426 | basket gift with champagne | Do you have gift baskets that include champagne? |
14,077 | bbq rub | Do you have any BBQ rubs? |
14,269 | beans | What kinds of beans do you have? |
14,648 | beef boulion | Do you sell beef bouillon? |
14,654 | beef jerky for dad | What are the best beef jerky options for my dad? |
14,684 | beer mustard | Do you have beer mustard? |
14,877 | ben & jerrys | Do you have Ben & Jerry’s ice cream? |
15,243 | better than bouillon vegan | Do you carry vegan Better Than Bouillon? |
15,254 | betty mills products | What Betty Mills products do you have? |
15,269 | beverages | What beverages do you have? |
15,589 | big blue drink | Do you carry Big Blue soda? |
15,680 | big red zero soda | Do you have Big Red Zero soda available? |
15,707 | big train chai tea | Do you carry Big Train chai tea? |
16,049 | bird seed | Do you have bird seed? |
16,101 | birthday cookies for delivery prime | Which birthday cookies are available for Prime delivery? |
16,132 | birthday in a box care package | Do you have birthday care package boxes? |
16,208 | bitters for old fashioned | Which bitters are best for making an Old Fashioned? |
16,449 | black cumin seed powder | Do you have black cumin seed powder? |
16,677 | black mustard seeds | Do you have black mustard seeds? |
16,690 | black olives snack pack | Do you have snack packs of black olives? |
16,723 | black peppercorns with grinder | Do you have black peppercorns with a grinder included? |
16,763 | black rifle coffe ground | Do you have Black Rifle ground coffee? |
16,855 | black tea | Do you have black tea? |
16,879 | black truffle butter | Do you have black truffle butter? |
16,920 | black wild rice | Do you sell black wild rice? |
17,258 | bloves smackalicious sauce | Where can I buy Bloves Smackalicious Sauce? |
17,348 | blue candy for candy buffet | Do you have blue candies for a candy buffet? |
ESCI Enriched Queries
Conversational rewrites of 1,061 shopping queries from the Amazon Shopping Queries Dataset (ESCI), with the relevance labels and the 3,121-product catalog they were evaluated on. Together, the three configs form a ready-to-use product retrieval benchmark with natural-language queries.
Why
ESCI queries are short keywords, often with typos ("johnnys chicken and pork seasoning"). Conversational recommender systems receive natural-language questions instead. Each query was rewritten as a short question a customer would ask a shop assistant ("Do you have Johnny's Chicken & Pork Seasoning?"), with the same intent and product requirements.
Configs
| Config | Split | Rows | Content |
|---|---|---|---|
queries (default) |
test |
1,061 | Original and enriched queries |
qrels |
test |
3,527 | Relevance labels (query, product) |
corpus |
corpus |
3,121 | Product catalog searched by the retriever |
Each config is in two files with the same rows: a Parquet file (loaded by the dataset viewer and
load_dataset) and a JSON Lines file (one JSON object per line, for use without pandas).
queries
| Column | Type | Description |
|---|---|---|
query_id |
int64 | Query id in ESCI (shopping_queries_dataset_examples) |
query |
string | Original ESCI query, verbatim (typos included) |
enriched_query |
string | Conversational rewrite generated by OpenAI o3 |
| query_id | query | enriched_query |
|---|---|---|
| 396 | 0 cal water inhancer without sugar | Do you have sugar‑free, zero‑calorie water enhancers? |
| 756 | 1 huba buba origanal not exspencive | Show me an inexpensive pack of original Hubba Bubba gum. |
| 56184 | johnnys chicken and pork seasoning | Do you have Johnny’s Chicken & Pork Seasoning? |
qrels
| Column | Type | Description |
|---|---|---|
query_id |
int64 | Query id, as in queries |
product_id |
string | Product ASIN, as in corpus |
esci_label |
string | ESCI label: E (Exact), S (Substitute) or C (Complement) |
gain |
float64 | Graded relevance used for nDCG: E = 1.0, S = 0.1, C = 0.01 |
The labels are the original ESCI annotations: 2,489 Exact, 1,010 Substitute and 28 Complement.
Irrelevant (I) pairs are not included; a product with no row for a query has gain 0. Every query
has 2 to 19 labeled products.
corpus
| Column | Type | Description |
|---|---|---|
product_id |
string | Product ASIN (ESCI product_id, ESCI-S asin) |
title |
string | Product title from ESCI-S |
description |
string | Product description from ESCI-S, 1,500 to 2,000 characters |
bullets |
list of string | Product bullet points from ESCI-S |
643 of the 3,121 products have no label for any query. They are part of the catalog the retriever
searches, so the corpus cannot be rebuilt from qrels alone.
The text fields are copied verbatim from ESCI-S: 2,976 descriptions begin with the literal header "Product Description", and 4 products have no bullets.
Source subset
The data is the evaluation set of the master's dissertation cited below:
- ESCI,
uslocale, "Grocery & Gourmet Food" category (from the ESCI-S metadata). - Products with descriptions of 1,500 to 2,000 characters: 3,121 products.
- Queries with 2 to 20 Exact, Substitute or Complement products in that set: 1,061 queries.
- Origin in ESCI: 814 queries from the
trainsplit and 247 from thetestsplit. All of them are published in a singletestsplit, because they were used only for evaluation.
Generation of the enriched queries
One request to OpenAI o3 per query, with this prompt:
Query: {query}
Rewrite the query as a natural and concise question that a user might ask a conversational recommender system to search for products in an e-commerce platform.
Ensure the question is short, clear, relevant, and conversational.
Respond only with the reformulated question, without adding any extra text or explanations.
The answers were kept verbatim, with no manual editing:
- Average length: 3.1 words (original) and 6.6 words (enriched).
- Five rewrites are imperatives ("Show me cocoa powder.") instead of questions.
- 15 queries share 6 rewrites, because the model normalizes spelling variants: "stroop waffle" and "stroopwafel" both become "Do you have stroopwafels?". Each query keeps its own labels.
- 185 rewrites contain typographic Unicode characters, mostly the non-breaking hyphen (U+2011), the right single quotation mark (U+2019) and the no-break space (U+00A0). Normalize them if your pipeline expects ASCII.
Usage
from datasets import load_dataset
repo = "daniloxvalle/esci-enriched-queries"
queries = load_dataset(repo, "queries", split="test")
qrels = load_dataset(repo, "qrels", split="test")
corpus = load_dataset(repo, "corpus", split="corpus")
# Text indexed for each product in the dissertation: title, description and bullets
docs = {p["product_id"]: " ".join([p["title"], p["description"], *p["bullets"]]) for p in corpus}
# Graded relevance for nDCG: {query_id: {product_id: gain}}
relevance = {}
for r in qrels:
relevance.setdefault(r["query_id"], {})[r["product_id"]] = r["gain"]
Search docs with enriched_query (or with the original query, for comparison) and score the
ranking against relevance. The query_id and product_id columns also join with the full ESCI
and ESCI-S data (images, prices, other locales and labels).
Intended use
- Evaluating retrieval and RAG pipelines for product search with natural-language queries.
- Comparing keyword queries with conversational queries on the same relevance labels.
Limitations
- The rewrites were generated by an LLM; they are not real customer messages.
- Single-turn questions, with no conversation history.
- One product category (Grocery & Gourmet Food) and English only.
- A small catalog (3,121 products), much smaller than the full ESCI-S.
License
Apache 2.0, the same license as Amazon ESCI and ESCI-S.
Citation
@mastersthesis{valle2026design,
title = {Design and Evaluation of a {RAG}-Based Approach for Product Recommendation in E-Commerce},
author = {Valle, Danilo Xavier},
school = {Instituto Federal do Esp{\'i}rito Santo (IFES)},
address = {Serra, ES, Brazil},
type = {Master's dissertation},
year = {2026}
}
@inproceedings{valle2025enhancing,
title = {Enhancing E-Commerce with a {RAG}-Powered Conversational Recommender System},
author = {Valle, Danilo Xavier and Oliveira, Hil{\'a}rio Tomaz Alves de},
booktitle = {Anais do XXII Encontro Nacional de Intelig{\^e}ncia Artificial e Computacional (ENIAC 2025)},
publisher = {Sociedade Brasileira de Computa{\c{c}}{\~a}o (SBC)},
address = {Fortaleza, CE, Brazil},
pages = {129--140},
year = {2025},
doi = {10.5753/eniac.2025.11835}
}
@misc{reddy2022shopping,
title = {Shopping Queries Dataset: A Large-Scale {ESCI} Benchmark for Improving Product Search},
author = {Reddy, Chandan K. and M{\`a}rquez, Llu{\'i}s and Valero, Fran and Rao, Nikhil and
Zaragoza, Hugo and Bandyopadhyay, Sambaran and Biswas, Arnab and Xing, Anlu and
Subbian, Karthik},
year = {2022},
howpublished = {arXiv preprint arXiv:2206.06588}
}
- Downloads last month
- -