Dataset tablePro
An eval dataset edited in place, with tags, splits and import.
On this page
ProInputs, expected outputs, tags and splits, edited in place.
Installation
Usage
import { DatasetTable } from "@/components/ui/chatcn/pro/dataset-table"
<DatasetTable rows={rows} onRowsChange={setRows} onImport={importFile} />Cells are fields that look like text until focused. The split filter shows counts, so the balance between train, test and holdout stays visible.
Examples
States
ProNo examples yet.
Props
| Prop | Type | Notes |
|---|---|---|
rows, onRowsChange | DatasetRow[] | { id, input, expected, tags, split } |
onImport | (file) => void | JSONL or CSV |
Accessibility
- Each cell field is named by its column and row number.