tickets
收藏资源简介:
PropertyPilot租户维护工单数据集是一个合成的、用于物业管理领域自然语言处理任务的数据集。该数据集包含10,500条模拟的公寓维护工单,覆盖20栋住宅楼,时间跨度为2022年1月1日至2024年12月31日,语言为英文。数据使用Qwen2.5-7B-Instruct模型通过240个提示模板(10个类别 × 4个紧急级别 × 6种语气)生成,确保了99.9%的文本唯一性。每条工单记录包含20个字段,核心输入为租户的原始自由文本消息(`raw_text`),其他字段包括工单ID、建筑ID、单元号、维护类别(10类:管道、电气、暖通空调、电器、电梯、结构、害虫、公共区域、安全、噪音)、紧急程度(P1紧急到P4计划性维护)、租户语气(6类:礼貌正式、沮丧重复、恐慌大写、被动攻击、模糊困惑、多问题)、承包商ID、解决时长、解决说明、成本、创建时间戳、状态、建筑年龄(战前/新建)、复发标志以及多个承包商绩效指标(如平均解决时长、平均成本、成功率等)。数据集经过精心设计,类别和紧急程度分布均匀,无类别不平衡。它支持三个主要的下游AI任务:1) 工单分类(根据原始文本预测类别和紧急程度),2) 相似案例检索(使用嵌入模型和FAISS索引查找相似历史工单并推荐承包商),3) 工作订单生成(基于检索到的上下文由LLM起草工作订单和语气匹配的租户回复)。数据集经过了全面的探索性数据分析和质量审计,确认了其语义可分性和数据质量,但也存在已知限制,如数据完全合成、存在少量模板短语泄漏、承包商模型简化等。预计算的BGE嵌入和FAISS索引可在配套存储库中获取。
The PropertyPilot Tenant Maintenance Work Order Dataset is a synthetic dataset for natural language processing tasks in property management. It contains 10,500 simulated apartment maintenance work orders, covering 20 residential buildings, with a time span from January 1, 2022, to December 31, 2024, and is in English. The data was generated using the Qwen2.5-7B-Instruct model with 240 prompt templates (10 categories × 4 urgency levels × 6 tones), ensuring 99.9% text uniqueness. Each work order record includes 20 fields, with the core input being the tenants raw free-text message (`raw_text`). Other fields include work order ID, building ID, unit number, maintenance category (10 types: plumbing, electrical, HVAC, appliances, elevator, structural, pest, common areas, security, noise), urgency level (P1 urgent to P4 scheduled maintenance), tenant tone (6 types: polite formal, frustrated repetitive, panicked caps, passive aggressive, vague confused, multi-question), contractor ID, resolution time, resolution notes, cost, creation timestamp, status, building age (pre-war/new construction), recurrence flag, and multiple contractor performance metrics (e.g., average resolution time, average cost, success rate). The dataset is carefully designed with uniform distributions across categories and urgency levels, avoiding class imbalance. It supports three main downstream AI tasks: 1) work order classification (predicting category and urgency from raw text), 2) similar case retrieval (using embedding models and FAISS index to find similar historical work orders and recommend contractors), and 3) work order generation (drafting work orders and tone-matched tenant responses by LLM based on retrieved context). The dataset has undergone comprehensive exploratory data analysis and quality audits, confirming its semantic separability and data quality, but has known limitations, such as being entirely synthetic, having minor template phrase leakage, and simplified contractor modeling. Pre-computed BGE embeddings and FAISS index are available in the accompanying repository.
数据集概览
- 数据集名称:PropertyPilot Tenant Maintenance Tickets
- 许可证:MIT
- 语言:英语
- 数据集规模:10,500 条记录(介于 10K 和 100K 之间)
- 数据集类型:文本分类、文本生成、特征提取
- 数据来源:使用 Qwen2.5-7B-Instruct 模型通过 Hugging Face Inference API 合成生成
- 主要用途:支持三个下游 AI 任务:
- 工单分类(文本分类)
- 相似案例检索(嵌入 + FAISS)
- 工单生成(LLM 提示)
数据结构
数据集包含 20 个字段,涵盖工单内容、类别、紧急程度、租户语气、承包商信息、成本和时间等维度的信息。
核心字段示例:
| 字段名 | 类型 | 描述 |
|---|---|---|
raw_text |
字符串 | 租户的原始维修信息,作为模型输入 |
category |
字符串 | 10 个维修类别之一 |
urgency |
字符串 | 紧急程度标签(P1–P4) |
tenant_tone |
字符串 | 6 种沟通语气之一 |
contractor_id |
字符串 | 分配的承包商 ID |
resolution_hours |
浮点数 | 解决工单所需的小时数 |
cost_usd |
浮点数 | 维修成本(美元) |
status |
字符串 | 工单状态:open / closed / scheduled |
类别标签(10 类): Plumbing · Electrical · HVAC · Appliances · Elevator · Structural · Pests · Common Areas · Security · Noise
紧急程度(4 级):
| 级别 | SLA 目标 | 含义 |
|---|---|---|
| P1 | 4 小时 | 紧急 — 生命安全隐患 |
| P2 | 24 小时 | 紧急 — 影响居住 |
| P3 | 3–5 天 | 标准 — 生活质量 |
| P4 | 7–14 天 | 计划 — 预防性维护 |
租户语气(6 类): polite-formal · frustrated-repeat · panicked-caps · passive-aggressive · vague-confused · multi-issue
数据集特性与质量
- 文本唯一性:99.9% 的
raw_text是唯一的。 - 类别平衡:10 个类别各约 1,050 条,分布均匀。
- 紧急程度平衡:4 个级别各约 2,625 条。
- 数据质量审计:对 100 条样本进行人工审计,97–100% 通过了所有六项检查(无回退文本、无 AI 拒绝短语、长度在 20–800 字符之间、有效紧急代码、有效类别、语义匹配)。
- 已知限制:
- 数据集为纯合成数据,不能替代真实租户沟通。
- 约 5% 的工单存在模板短语泄漏(常见的 4-gram 短语),但未泄露模型元数据,影响较低。
- 约 3% 的工单存在类别不匹配(因多问题工单导致),属设计预期。
嵌入基准测试
在 200 个查询的评估集上对三个句子变换模型进行了基准测试(相关性定义为与查询共享相同类别和紧急程度):
| 模型 | Precision@3 | MRR | 延迟(10,500 向量) |
|---|---|---|---|
| BAAI/bge-small-en-v1.5 ✅ | 0.308 | 0.465 | 9.2 ms |
| sentence-transformers/all-MiniLM-L6-v2 | 0.300 | 0.450 | 8.8 ms |
| intfloat/e5-small-v2 | 0.282 | 0.428 | 9.5 ms |
获胜模型:BAAI/bge-small-en-v1.5
预计算嵌入和 FAISS 索引可在0tizm0/propertypilot-recommender获取。
适用任务
数据集专为 PropertyPilot 系统中的三个 AI 任务设计:
- 分类器:基于
raw_text预测category和urgency。 - 推荐系统:使用
BAAI/bge-small-en-v1.5嵌入和 FAISS 索引查找最相似的 3 个历史工单,并按绩效分数对承包商进行排序。 - 生成器:基于检索到的上下文,由 LLM 生成工单描述和语气匹配的租户回复。





