Documentation
Everything you need to integrate TASKPEDIA
Quick Start
Installation
# Using pip
pip install datasets
# Or clone for CLI
git clone https://github.com/anthropics/taskpedia
cd taskpedia && uv pip install -e .Load Dataset
from datasets import load_dataset
dataset = load_dataset("Sentient-x/taskpedia")
# Explore
for task in dataset["train"]:
print(f"{task['name']} - {task['node_type']}")Node Types
DOMAIN
Top-level categories
e.g., work_healthcare, life_household
TASK
High-level tasks
e.g., patient_care, cooking
SUBTASK
Intermediate steps
e.g., take_vitals, prepare_ingredients
ATOMIC
Robot-executable actions
e.g., grasp, move_to, release
CLI Commands
# View statistics
taskpedia show stats
# Browse tree
taskpedia show tree -d 4
# Search
taskpedia show search "grasp"
# Export
taskpedia export -f jsonl
# Generate more
taskpedia generate -n 100000Data Schema
{
"id": "work_healthcare/nursing/take_vitals",
"name": "take patient vitals",
"node_type": "SUBTASK",
"parent_id": "work_healthcare/nursing",
"children_ids": [
"work_healthcare/nursing/take_vitals/grasp_thermometer",
"work_healthcare/nursing/take_vitals/measure_temperature"
]
}