Skip to content
Sign in
EvalsDataset tableMenu

Dataset tablePro

An eval dataset edited in place, with tags, splits and import.

ProInputs, expected outputs, tags and splits, edited in place.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/dataset-table

Usage

tsx
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

PropTypeNotes
rows, onRowsChangeDatasetRow[]{ id, input, expected, tags, split }
onImport(file) => voidJSONL or CSV

Accessibility

  • Each cell field is named by its column and row number.