Dataset Viewer
Auto-converted to Parquet Duplicate
dataset_info
dict
conversations
list
{ "domain": "e-commerce", "total_conversations": 100, "turns_per_conversation": 11, "customer_types": [ "frustrated user", "confused beginner", "impatient executive", "elderly user", "tech-savvy user", "calm and patient user" ], "version": "1.0" }
[ { "id": 1, "domain": "e-commerce", "problem": "address update not applied", "customer_type": "frustrated user", "dialogue": [ { "role": "customer", "text": "Hi there. I've been dealing with address update not applied and need it resolved." }, { "role": "...

YAML Metadata Warning: empty or missing yaml metadata in repo card

Check out the documentation for more information.

E-commerce Conversations Dataset

This dataset contains 100 realistic e-commerce customer support conversations between customers and agents. Each dialogue is 11 turns long and covers common online shopping issues such as wrong items received, coupon code problems, delivery delays, returns, and payment issues. It is ideal for training AI assistants, chatbots, and customer support models for online retail.

Dataset Structure

Each conversation is stored as a JSON object with the following fields:

  • id: Unique identifier for the conversation.
  • domain: Always "e-commerce" for this dataset.
  • problem: Short description of the customer's issue.
  • customer_type: Customer persona (e.g., "frustrated user", "confused beginner").
  • dialogue: List of alternating customer/agent messages. Each message has:
    • role: "customer" or "agent".
    • text: The message content.
  • resolution: One-sentence summary of how the issue was resolved.

Example Conversation

{
  "id": 1,
  "domain": "e-commerce",
  "problem": "wrong item received",
  "customer_type": "frustrated user",
  "dialogue": [
    {
      "role": "customer",
      "text": "I ordered a blue jacket size L and received a red one in size S. This is really disappointing."
    },
    {
      "role": "agent",
      "text": "I'm so sorry about that — that's absolutely not acceptable. Can I have your order number to get this fixed right away?"
    },
    {
      "role": "customer",
      "text": "Order number is #EC-88421. This was a birthday gift."
    },
    {
      "role": "agent",
      "text": "I found your order and I can confirm the picking error on our end. I'm processing a replacement — blue, size L — with express shipping at no extra cost."
    },
    {
      "role": "customer",
      "text": "How long will express shipping take? The birthday is in 3 days."
    },
    {
      "role": "agent",
      "text": "Express delivery is 1 to 2 business days. I'm also emailing you a prepaid return label for the incorrect item — no need to go anywhere, just hand it to the courier."
    },
    {
      "role": "customer",
      "text": "Okay. Will I get a tracking number for the replacement?"
    },
    {
      "role": "agent",
      "text": "Yes — a tracking link will arrive by email within 2 hours. I've also added a 20% discount to your next order as an apology."
    },
    {
      "role": "customer",
      "text": "I received the tracking email. It shows estimated delivery tomorrow. That works!"
    },
    {
      "role": "agent",
      "text": "Wonderful! I'm glad we can make the birthday work. Is there anything else I can help with?"
    },
    {
      "role": "customer",
      "text": "No, that's all. Thank you for the quick fix!"
    }
  ],
  "resolution": "Replacement item dispatched with express shipping and tracking link sent within 2 hours. Prepaid return label issued. 20% discount applied."
}

How to Use
Load with Python
python

import json

# Si tu archivo se llama "dataset_e-commerce.json", usa ese nombre
with open("ecommerce.json", "r", encoding="utf-8") as f:
    data = json.load(f)
    conversations = data["conversations"]

for conv in conversations:
    print(conv["problem"])

Load with Hugging Face Datasets
python

from datasets import load_dataset

dataset = load_dataset("ai-training-datasets/ecommerce", split="train")
print(dataset[0])

Customer Personas Included

    frustrated user

    confused beginner

    impatient executive

    elderly user

    tech-savvy user

    calm and patient user

License

This dataset is released under the MIT License. You are free to use, modify, and distribute it for both research and commercial purposes.
Citation

If you use this dataset, please cite:
text

@dataset{ai_training_datasets_2026,
  title     = {AI Training Datasets: E-commerce Conversations},
  author    = {AI Training Datasets},
  year      = {2026},
  version   = {1.0},
  publisher = {Hugging Face}
}


## 💼 Commercial licensing

This dataset is available for free under the MIT License for non-commercial use.  
If you need a commercial license, custom datasets, or the full version with all 600 conversations, contact me at:

📧 cybernovasg@gmail.com
Downloads last month
8