File size: 3,191 Bytes
271df69
dc7d204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271df69
dc7d204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
language:
- en
license: other
task_categories:
- text-classification
- conversational
task_ids:
- intent-classification
- sentiment-classification
tags:
- ecommerce
- customer-service
- synthetic
- intent
- sentiment
- chatbot
- dialogue
- jsonl
size_categories:
- 1K<n<10K
---

# EcommerceAI Dataset — English E-commerce Customer Service

## Dataset Description

A high-quality **synthetic** English-language dataset of e-commerce 
customer service conversations with full intent and sentiment annotations.

> ⚠️ **Transparency Notice:** This is a synthetic dataset. All conversations 
> are programmatically generated. No real customer data is included. 
> Every record is labeled `"data_type": "SYNTHETIC"` in metadata.

---

## Dataset Stats

| Metric | Value |
|--------|-------|
| Conversations | 5,000 |
| Dialogue Turns | 47,028 |
| Avg Turns/Conversation | 9.4 |
| Language | English |
| Issue Categories | 5 |
| Product Categories | 10 |
| Intent Classes | 12 |

---

## Issue Categories

| Category | Count |
|----------|-------|
| Late Delivery | 1,000 |
| Wrong Item Received | 1,000 |
| Refund Request | 1,000 |
| Damaged Item | 1,000 |
| Product Inquiry | 1,000 |

---

## Data Schema

```json
{
  "id": "uuid-v4",
  "metadata": {
    "domain": "ecommerce_customer_service",
    "issue_type": "late_delivery",
    "product_category": "electronics",
    "language": "en",
    "data_type": "SYNTHETIC",
    "quality_tier": "enterprise",
    "turns_count": 10
  },
  "conversation": [
    {
      "role": "user",
      "content": "My order hasn't arrived in 7 days.",
      "intent": "late_delivery",
      "sentiment": "negative"
    },
    {
      "role": "agent",
      "content": "I'm sorry to hear that. Let me check your order.",
      "intent": "acknowledge",
      "sentiment": "positive"
    }
  ]
}
```

---

## Quick Load

```python
# Option 1 — HuggingFace Datasets
from datasets import load_dataset
ds = load_dataset("YOUR_USERNAME/ecommerce-cs-dataset")

# Option 2 — Pure Python
import json
conversations = []
with open('ecommerce_cs_en_synthetic.jsonl') as f:
    for line in f:
        conversations.append(json.loads(line))

# Filter by issue type
refunds = [c for c in conversations 
           if c['metadata']['issue_type'] == 'refund_request']
```

---

## Use Cases

- ✅ Fine-tuning LLMs for customer service chatbots
- ✅ Training intent classifiers (12 classes)
- ✅ Training sentiment analysis models
- ✅ Dialogue state tracking research
- ✅ Augmenting real-world datasets
- ✅ Testing chatbot pipelines

---

## 🔒 Full Dataset (Commercial License)

This repository contains a **free sample of 500 conversations.**

The full dataset **(5,000 conversations, 47K+ turns)** with commercial 
license is available here:

👉 **[Get Full Dataset on Sellix → YOUR_SELLIX_LINK]**

Includes:
- Full 5,000 conversation JSONL
- Complete JSON array format
- Data card & documentation
- Commercial use license

---

## License

Sample (this repo): CC BY-NC 4.0 — free for research & personal use.  
Full dataset: Commercial license — see Sellix listing for terms.

---

## Citation

If you use this dataset in research, please cite: