[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD67BDN2Y10EGFK4PP4WCD":3,"skill-same:01M6AD67BDN2Y10EGFK4PP4WCD":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":66,"ownerHtmlUrl":67,"ownerBlogUrl":68,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6AD67BDN2Y10EGFK4PP4WCD","arize-dataset","Arize 数据集管理","Creates, manages, and queries Arize datasets and examples. Covers dataset CRUD, appending examples, exporting data, and file-based dataset creation using the ax CLI. Use when the user needs test data, evaluation examples, or mentions create dataset, list datasets, export dataset, append examples, dataset version, golden dataset, or test set.","创建、管理和查询 Arize 数据集及样例，涵盖数据集增删改查、追加样例、导出数据，以及使用 ax CLI 从文件创建数据集。当用户需要测试数据、评估样例，或提及创建数据集、列出数据集、导出数据集、追加样例、数据集版本、黄金数据集或测试集时使用。","github\u002Fawesome-copilot","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3PBDYPK7NVFJNJ66Y8RS",41162,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Farize-dataset\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BZTWSXAPNKVKA1N0JGMJK2","AI 模型评估与基准测试","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"dataset","arize dataset","Arize","crud","when","golden","ax","creation","export","version","use","append","list","cli","SET","data","Evaluation","examples","file","create","test","2026-11-10 10:12:30",false,"---\nname: arize-dataset\ndescription: Creates, manages, and queries Arize datasets and examples. Covers dataset CRUD, appending examples, exporting data, and file-based dataset creation using the ax CLI. Use when the user needs test data, evaluation examples, or mentions create dataset, list datasets, export dataset, append examples, dataset version, golden dataset, or test set.\nmetadata:\n  author: arize\n  version: \"1.0\"\ncompatibility: Requires the ax CLI and a configured Arize profile.\n---\n\n# Arize Dataset Skill\n\n> **`SPACE`** — All `--space` flags and the `ARIZE_SPACE` env var accept a space **name** (e.g., `my-workspace`) or a base64 space **ID** (e.g., `U3BhY2U6...`). Find yours with `ax spaces list`.\n\n## Concepts\n\n- **Dataset** = a versioned collection of examples used for evaluation and experimentation\n- **Dataset Version** = a snapshot of a dataset at a point in time; updates can be in-place or create a new version\n- **Example** = a single record in a dataset with arbitrary user-defined fields (e.g., `question`, `answer`, `context`)\n- **Space** = an organizational container; datasets belong to a space\n\nSystem-managed fields on examples (`id`, `created_at`, `updated_at`) are auto-generated by the server -- never include them in create or append payloads.\n\n## Prerequisites\n\nProceed directly with the task — run the `ax` command you need. Do NOT check versions, env vars, or profiles upfront.\n\nIf an `ax` command fails, troubleshoot based on the error:\n- `command not found` or version error → see references\u002Fax-setup.md\n- `401 Unauthorized` \u002F missing API key → run `ax profiles show` to inspect the current profile. If the profile is missing or the API key is wrong, follow references\u002Fax-profiles.md to create\u002Fupdate it. If the user doesn't have their key, direct them to https:\u002F\u002Fapp.arize.com\u002Fadmin > API Keys\n- Space unknown → run `ax spaces list` to pick by name, or ask the user\n- Project unclear → ask the user, or run `ax projects list -o json --limit 100` and present as selectable options\n- **Security:** Never read `.env` files or search the filesystem for credentials. Use `ax profiles` for Arize credentials and `ax ai-integrations` for LLM provider keys. If credentials are not available through these channels, ask the user.\n\n## List Datasets: `ax datasets list`\n\nBrowse datasets in a space. Output goes to stdout.\n\n```bash\nax datasets list\nax datasets list --space SPACE --limit 20\nax datasets list --cursor CURSOR_TOKEN\nax datasets list -o json\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `--space` | string | from profile | Filter by space |\n| `--limit, -l` | int | 15 | Max results (1-100) |\n| `--cursor` | string | none | Pagination cursor from previous response |\n| `-o, --output` | string | table | Output format: table, json, csv, parquet, or file path |\n| `-p, --profile` | string | default | Configuration profile |\n\n## Get Dataset: `ax datasets get`\n\nQuick metadata lookup -- returns dataset name, space, timestamps, and version list.\n\n```bash\nax datasets get NAME_OR_ID\nax datasets get NAME_OR_ID -o json\nax datasets get NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `-o, --output` | string | table | Output format |\n| `-p, --profile` | string | default | Configuration profile |\n\n### Response fields\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `id` | string | Dataset ID |\n| `name` | string | Dataset name |\n| `space_id` | string | Space this dataset belongs to |\n| `created_at` | datetime | When the dataset was created |\n| `updated_at` | datetime | Last modification time |\n| `versions` | array | List of dataset versions (id, name, dataset_id, created_at, updated_at) |\n\n## Export Dataset: `ax datasets export`\n\nDownload all examples to a file. Use `--all` for datasets larger than 500 examples (unlimited bulk export).\n\n```bash\nax datasets export NAME_OR_ID\n# -> dataset_abc123_20260305_141500\u002Fexamples.json\n\nax datasets export NAME_OR_ID --all\nax datasets export NAME_OR_ID --version-id VERSION_ID\nax datasets export NAME_OR_ID --output-dir .\u002Fdata\nax datasets export NAME_OR_ID --stdout\nax datasets export NAME_OR_ID --stdout | jq '.[0]'\nax datasets export NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `--version-id` | string | latest | Export a specific dataset version |\n| `--all` | bool | false | Unlimited bulk export (use for datasets > 500 examples) |\n| `--output-dir` | string | `.` | Output directory |\n| `--stdout` | bool | false | Print JSON to stdout instead of file |\n| `-p, --profile` | string | default | Configuration profile |\n\n**Agent auto-escalation rule:** If an export returns exactly 500 examples, the result is likely truncated — re-run with `--all` to get the full dataset.\n\n**Export completeness verification:** After exporting, confirm the row count matches what the server reports:\n```bash\n# Get the server-reported count from dataset metadata\nax datasets get DATASET_NAME --space SPACE -o json | jq '.versions[-1] | {version: .id, examples: .example_count}'\n\n# Compare to what was exported\njq 'length' dataset_*\u002Fexamples.json\n\n# If counts differ, re-export with --all\n```\n\nOutput is a JSON array of example objects. Each example has system fields (`id`, `created_at`, `updated_at`) plus all user-defined fields:\n\n```json\n[\n  {\n    \"id\": \"ex_001\",\n    \"created_at\": \"2026-01-15T10:00:00Z\",\n    \"updated_at\": \"2026-01-15T10:00:00Z\",\n    \"question\": \"What is 2+2?\",\n    \"answer\": \"4\",\n    \"topic\": \"math\"\n  }\n]\n```\n\n## Create Dataset: `ax datasets create`\n\nCreate a new dataset from a data file.\n\n```bash\nax datasets create --name \"My Dataset\" --space SPACE --file data.csv\nax datasets create --name \"My Dataset\" --space SPACE --file data.json\nax datasets create --name \"My Dataset\" --space SPACE --file data.jsonl\nax datasets create --name \"My Dataset\" --space SPACE --file data.parquet\n```\n\n### Flags\n\n| Flag | Type | Required | Description |\n|------|------|----------|-------------|\n| `--name, -n` | string | yes | Dataset name |\n| `--space` | string | yes | Space to create the dataset in |\n| `--file, -f` | path | yes | Data file: CSV, JSON, JSONL, or Parquet |\n| `-o, --output` | string | no | Output format for the returned dataset metadata |\n| `-p, --profile` | string | no | Configuration profile |\n\n### Passing data via stdin\n\nUse `--file -` to pipe data directly — no temp file needed:\n\n```bash\necho '[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]' | ax datasets create --name \"my-dataset\" --space SPACE --file -\n\n# Or with a heredoc\nax datasets create --name \"my-dataset\" --space SPACE --file - \u003C\u003C 'EOF'\n[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]\nEOF\n```\n\nTo add rows to an existing dataset, use `ax datasets append --json '[...]'` instead — no file needed.\n\n### Supported file formats\n\n| Format | Extension | Notes |\n|--------|-----------|-------|\n| CSV | `.csv` | Column headers become field names |\n| JSON | `.json` | Array of objects |\n| JSON Lines | `.jsonl` | One object per line (NOT a JSON array) |\n| Parquet | `.parquet` | Column names become field names; preserves types |\n\n**Format gotchas:**\n- **CSV**: Loses type information — dates become strings, `null` becomes empty string. Use JSON\u002FParquet to preserve types.\n- **JSONL**: Each line is a separate JSON object. A JSON array (`[{...}, {...}]`) in a `.jsonl` file will fail — use `.json` extension instead.\n- **Parquet**: Preserves column types. Requires `pandas`\u002F`pyarrow` to read locally: `pd.read_parquet(\"examples.parquet\")`.\n\n## Append Examples: `ax datasets append`\n\nAdd examples to an existing dataset. Two input modes -- use whichever fits.\n\n### Inline JSON (agent-friendly)\n\nGenerate the payload directly -- no temp files needed:\n\n```bash\nax datasets append DATASET_NAME --space SPACE --json '[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]'\n\nax datasets append DATASET_NAME --space SPACE --json '[\n  {\"question\": \"What is gravity?\", \"answer\": \"A fundamental force...\"},\n  {\"question\": \"What is light?\", \"answer\": \"Electromagnetic radiation...\"}\n]'\n```\n\n### From a file\n\n```bash\nax datasets append DATASET_NAME --space SPACE --file new_examples.csv\nax datasets append DATASET_NAME --space SPACE --file additions.json\n```\n\n### To a specific version\n\n```bash\nax datasets append DATASET_NAME --space SPACE --json '[{\"q\": \"...\"}]' --version-id VERSION_ID\n```\n\n### Flags\n\n| Flag | Type | Required | Description |\n|------|------|----------|-------------|\n| `NAME_OR_ID` | string | yes | Dataset name or ID (positional); add `--space` when using name |\n| `--space` | string | no | Space name or ID (required if using dataset name instead of ID) |\n| `--json` | string | mutex | JSON array of example objects |\n| `--file, -f` | path | mutex | Data file (CSV, JSON, JSONL, Parquet) |\n| `--version-id` | string | no | Append to a specific version (default: latest) |\n| `-o, --output` | string | no | Output format for the returned dataset metadata |\n| `-p, --profile` | string | no | Configuration profile |\n\nExactly one of `--json` or `--file` is required.\n\n### Validation\n\n- Each example must be a JSON object with at least one user-defined field\n- Maximum 100,000 examples per request\n\n**Schema validation before append:** If the dataset already has examples, inspect its schema before appending to avoid silent field mismatches:\n\n```bash\n# Check existing field names in the dataset\nax datasets export DATASET_NAME --space SPACE --stdout | jq '.[0] | keys'\n\n# Verify your new data has matching field names\necho '[{\"question\": \"...\"}]' | jq '.[0] | keys'\n\n# Both outputs should show the same user-defined fields\n```\n\nFields are free-form: extra fields in new examples are added, and missing fields become null. However, typos in field names (e.g., `queston` vs `question`) create new columns silently -- verify spelling before appending.\n\n## Delete Dataset: `ax datasets delete`\n\n```bash\nax datasets delete NAME_OR_ID\nax datasets delete NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\nax datasets delete NAME_OR_ID --force   # skip confirmation prompt\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `--force, -f` | bool | false | Skip confirmation prompt |\n| `-p, --profile` | string | default | Configuration profile |\n\n## Workflows\n\n### Find a dataset by name\n\nAll dataset commands accept a name or ID directly. You can pass a dataset name as the positional argument (add `--space SPACE` when not using an ID):\n\n```bash\n# Use name directly\nax datasets get \"eval-set-v1\" --space SPACE\nax datasets export \"eval-set-v1\" --space SPACE\n\n# Or resolve name to ID via list if you need the base64 ID\nax datasets list -o json | jq '.[] | select(.name == \"eval-set-v1\") | .id'\n```\n\n### Create a dataset from file for evaluation\n\n1. Prepare a CSV\u002FJSON\u002FParquet file with your evaluation columns (e.g., `input`, `expected_output`)\n   - If generating data inline, pipe it via stdin using `--file -` (see the Create Dataset section)\n2. `ax datasets create --name \"eval-set-v1\" --space SPACE --file eval_data.csv`\n3. Verify: `ax datasets get DATASET_NAME --space SPACE`\n4. Use the dataset name to run experiments\n\n### Add examples to an existing dataset\n\n```bash\n# Find the dataset\nax datasets list --space SPACE\n\n# Append inline or from a file using the dataset name (see Append Examples section for full syntax)\nax datasets append DATASET_NAME --space SPACE --json '[{\"question\": \"...\", \"answer\": \"...\"}]'\nax datasets append DATASET_NAME --space SPACE --file additional_examples.csv\n```\n\n### Download dataset for offline analysis\n\n1. `ax datasets list --space SPACE` -- find the dataset name\n2. `ax datasets export DATASET_NAME --space SPACE` -- download to file\n3. Parse the JSON: `jq '.[] | .question' dataset_*\u002Fexamples.json`\n\n### Export a specific version\n\n```bash\n# List versions\nax datasets get DATASET_NAME --space SPACE -o json | jq '.versions'\n\n# Export that version\nax datasets export DATASET_NAME --space SPACE --version-id VERSION_ID\n```\n\n### Iterate on a dataset\n\n1. Export current version: `ax datasets export DATASET_NAME --space SPACE`\n2. Modify the examples locally\n3. Append new rows: `ax datasets append DATASET_NAME --space SPACE --file new_rows.csv`\n4. Or create a fresh version: `ax datasets create --name \"eval-set-v2\" --space SPACE --file updated_data.json`\n\n### Pipe export to other tools\n\n```bash\n# Count examples\nax datasets export DATASET_NAME --space SPACE --stdout | jq 'length'\n\n# Extract a single field\nax datasets export DATASET_NAME --space SPACE --stdout | jq '.[].question'\n\n# Convert to CSV with jq\nax datasets export DATASET_NAME --space SPACE --stdout | jq -r '.[] | [.question, .answer] | @csv'\n```\n\n## Dataset Example Schema\n\nExamples are free-form JSON objects. There is no fixed schema -- columns are whatever fields you provide. System-managed fields are added by the server:\n\n| Field | Type | Managed by | Notes |\n|-------|------|-----------|-------|\n| `id` | string | server | Auto-generated UUID. Required on update, forbidden on create\u002Fappend |\n| `created_at` | datetime | server | Immutable creation timestamp |\n| `updated_at` | datetime | server | Auto-updated on modification |\n| *(any user field)* | any JSON type | user | String, number, boolean, null, nested object, array |\n\n\n## Related Skills\n\n- **arize-trace**: Export production spans to understand what data to put in datasets → use `arize-trace`\n- **arize-experiment**: Run evaluations against this dataset → next step is `arize-experiment`\n- **arize-prompt-optimization**: Use dataset + experiment results to improve prompts → use `arize-prompt-optimization`\n\n## Troubleshooting\n\n| Problem | Solution |\n|---------|----------|\n| `ax: command not found` | See references\u002Fax-setup.md |\n| `401 Unauthorized` | API key is wrong, expired, or doesn't have access to this space. Fix the profile using references\u002Fax-profiles.md. |\n| `No profile found` | No profile is configured. See references\u002Fax-profiles.md to create one. |\n| `Dataset not found` | Verify dataset ID with `ax datasets list` |\n| `File format error` | Supported: CSV, JSON, JSONL, Parquet. Use `--file -` to read from stdin. |\n| `platform-managed column` | Remove `id`, `created_at`, `updated_at` from create\u002Fappend payloads |\n| `reserved column` | Remove `time`, `count`, or any `source_record_*` field |\n| `Provide either --json or --file` | Append requires exactly one input source |\n| `Examples array is empty` | Ensure your JSON array or file contains at least one example |\n| `not a JSON object` | Each element in the `--json` array must be a `{...}` object, not a string or number |\n\n## Save Credentials for Future Use\n\nSee references\u002Fax-profiles.md § Save Credentials for Future Use.\n","# Arize Dataset Skill\n\n> **`SPACE`** — All `--space` flags and the `ARIZE_SPACE` env var accept a space **name** (e.g., `my-workspace`) or a base64 space **ID** (e.g., `U3BhY2U6...`). Find yours with `ax spaces list`.\n\n## Concepts\n\n- **Dataset** = a versioned collection of examples used for evaluation and experimentation\n- **Dataset Version** = a snapshot of a dataset at a point in time; updates can be in-place or create a new version\n- **Example** = a single record in a dataset with arbitrary user-defined fields (e.g., `question`, `answer`, `context`)\n- **Space** = an organizational container; datasets belong to a space\n\nSystem-managed fields on examples (`id`, `created_at`, `updated_at`) are auto-generated by the server -- never include them in create or append payloads.\n\n## Prerequisites\n\nProceed directly with the task — run the `ax` command you need. Do NOT check versions, env vars, or profiles upfront.\n\nIf an `ax` command fails, troubleshoot based on the error:\n- `command not found` or version error → see references\u002Fax-setup.md\n- `401 Unauthorized` \u002F missing API key → run `ax profiles show` to inspect the current profile. If the profile is missing or the API key is wrong, follow references\u002Fax-profiles.md to create\u002Fupdate it. If the user doesn't have their key, direct them to https:\u002F\u002Fapp.arize.com\u002Fadmin > API Keys\n- Space unknown → run `ax spaces list` to pick by name, or ask the user\n- Project unclear → ask the user, or run `ax projects list -o json --limit 100` and present as selectable options\n- **Security:** Never read `.env` files or search the filesystem for credentials. Use `ax profiles` for Arize credentials and `ax ai-integrations` for LLM provider keys. If credentials are not available through these channels, ask the user.\n\n## List Datasets: `ax datasets list`\n\nBrowse datasets in a space. Output goes to stdout.\n\n```bash\nax datasets list\nax datasets list --space SPACE --limit 20\nax datasets list --cursor CURSOR_TOKEN\nax datasets list -o json\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `--space` | string | from profile | Filter by space |\n| `--limit, -l` | int | 15 | Max results (1-100) |\n| `--cursor` | string | none | Pagination cursor from previous response |\n| `-o, --output` | string | table | Output format: table, json, csv, parquet, or file path |\n| `-p, --profile` | string | default | Configuration profile |\n\n## Get Dataset: `ax datasets get`\n\nQuick metadata lookup -- returns dataset name, space, timestamps, and version list.\n\n```bash\nax datasets get NAME_OR_ID\nax datasets get NAME_OR_ID -o json\nax datasets get NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `-o, --output` | string | table | Output format |\n| `-p, --profile` | string | default | Configuration profile |\n\n### Response fields\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `id` | string | Dataset ID |\n| `name` | string | Dataset name |\n| `space_id` | string | Space this dataset belongs to |\n| `created_at` | datetime | When the dataset was created |\n| `updated_at` | datetime | Last modification time |\n| `versions` | array | List of dataset versions (id, name, dataset_id, created_at, updated_at) |\n\n## Export Dataset: `ax datasets export`\n\nDownload all examples to a file. Use `--all` for datasets larger than 500 examples (unlimited bulk export).\n\n```bash\nax datasets export NAME_OR_ID\n# -> dataset_abc123_20260305_141500\u002Fexamples.json\n\nax datasets export NAME_OR_ID --all\nax datasets export NAME_OR_ID --version-id VERSION_ID\nax datasets export NAME_OR_ID --output-dir .\u002Fdata\nax datasets export NAME_OR_ID --stdout\nax datasets export NAME_OR_ID --stdout | jq '.[0]'\nax datasets export NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `--version-id` | string | latest | Export a specific dataset version |\n| `--all` | bool | false | Unlimited bulk export (use for datasets > 500 examples) |\n| `--output-dir` | string | `.` | Output directory |\n| `--stdout` | bool | false | Print JSON to stdout instead of file |\n| `-p, --profile` | string | default | Configuration profile |\n\n**Agent auto-escalation rule:** If an export returns exactly 500 examples, the result is likely truncated — re-run with `--all` to get the full dataset.\n\n**Export completeness verification:** After exporting, confirm the row count matches what the server reports:\n```bash\n# Get the server-reported count from dataset metadata\nax datasets get DATASET_NAME --space SPACE -o json | jq '.versions[-1] | {version: .id, examples: .example_count}'\n\n# Compare to what was exported\njq 'length' dataset_*\u002Fexamples.json\n\n# If counts differ, re-export with --all\n```\n\nOutput is a JSON array of example objects. Each example has system fields (`id`, `created_at`, `updated_at`) plus all user-defined fields:\n\n```json\n[\n  {\n    \"id\": \"ex_001\",\n    \"created_at\": \"2026-01-15T10:00:00Z\",\n    \"updated_at\": \"2026-01-15T10:00:00Z\",\n    \"question\": \"What is 2+2?\",\n    \"answer\": \"4\",\n    \"topic\": \"math\"\n  }\n]\n```\n\n## Create Dataset: `ax datasets create`\n\nCreate a new dataset from a data file.\n\n```bash\nax datasets create --name \"My Dataset\" --space SPACE --file data.csv\nax datasets create --name \"My Dataset\" --space SPACE --file data.json\nax datasets create --name \"My Dataset\" --space SPACE --file data.jsonl\nax datasets create --name \"My Dataset\" --space SPACE --file data.parquet\n```\n\n### Flags\n\n| Flag | Type | Required | Description |\n|------|------|----------|-------------|\n| `--name, -n` | string | yes | Dataset name |\n| `--space` | string | yes | Space to create the dataset in |\n| `--file, -f` | path | yes | Data file: CSV, JSON, JSONL, or Parquet |\n| `-o, --output` | string | no | Output format for the returned dataset metadata |\n| `-p, --profile` | string | no | Configuration profile |\n\n### Passing data via stdin\n\nUse `--file -` to pipe data directly — no temp file needed:\n\n```bash\necho '[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]' | ax datasets create --name \"my-dataset\" --space SPACE --file -\n\n# Or with a heredoc\nax datasets create --name \"my-dataset\" --space SPACE --file - \u003C\u003C 'EOF'\n[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]\nEOF\n```\n\nTo add rows to an existing dataset, use `ax datasets append --json '[...]'` instead — no file needed.\n\n### Supported file formats\n\n| Format | Extension | Notes |\n|--------|-----------|-------|\n| CSV | `.csv` | Column headers become field names |\n| JSON | `.json` | Array of objects |\n| JSON Lines | `.jsonl` | One object per line (NOT a JSON array) |\n| Parquet | `.parquet` | Column names become field names; preserves types |\n\n**Format gotchas:**\n- **CSV**: Loses type information — dates become strings, `null` becomes empty string. Use JSON\u002FParquet to preserve types.\n- **JSONL**: Each line is a separate JSON object. A JSON array (`[{...}, {...}]`) in a `.jsonl` file will fail — use `.json` extension instead.\n- **Parquet**: Preserves column types. Requires `pandas`\u002F`pyarrow` to read locally: `pd.read_parquet(\"examples.parquet\")`.\n\n## Append Examples: `ax datasets append`\n\nAdd examples to an existing dataset. Two input modes -- use whichever fits.\n\n### Inline JSON (agent-friendly)\n\nGenerate the payload directly -- no temp files needed:\n\n```bash\nax datasets append DATASET_NAME --space SPACE --json '[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]'\n\nax datasets append DATASET_NAME --space SPACE --json '[\n  {\"question\": \"What is gravity?\", \"answer\": \"A fundamental force...\"},\n  {\"question\": \"What is light?\", \"answer\": \"Electromagnetic radiation...\"}\n]'\n```\n\n### From a file\n\n```bash\nax datasets append DATASET_NAME --space SPACE --file new_examples.csv\nax datasets append DATASET_NAME --space SPACE --file additions.json\n```\n\n### To a specific version\n\n```bash\nax datasets append DATASET_NAME --space SPACE --json '[{\"q\": \"...\"}]' --version-id VERSION_ID\n```\n\n### Flags\n\n| Flag | Type | Required | Description |\n|------|------|----------|-------------|\n| `NAME_OR_ID` | string | yes | Dataset name or ID (positional); add `--space` when using name |\n| `--space` | string | no | Space name or ID (required if using dataset name instead of ID) |\n| `--json` | string | mutex | JSON array of example objects |\n| `--file, -f` | path | mutex | Data file (CSV, JSON, JSONL, Parquet) |\n| `--version-id` | string | no | Append to a specific version (default: latest) |\n| `-o, --output` | string | no | Output format for the returned dataset metadata |\n| `-p, --profile` | string | no | Configuration profile |\n\nExactly one of `--json` or `--file` is required.\n\n### Validation\n\n- Each example must be a JSON object with at least one user-defined field\n- Maximum 100,000 examples per request\n\n**Schema validation before append:** If the dataset already has examples, inspect its schema before appending to avoid silent field mismatches:\n\n```bash\n# Check existing field names in the dataset\nax datasets export DATASET_NAME --space SPACE --stdout | jq '.[0] | keys'\n\n# Verify your new data has matching field names\necho '[{\"question\": \"...\"}]' | jq '.[0] | keys'\n\n# Both outputs should show the same user-defined fields\n```\n\nFields are free-form: extra fields in new examples are added, and missing fields become null. However, typos in field names (e.g., `queston` vs `question`) create new columns silently -- verify spelling before appending.\n\n## Delete Dataset: `ax datasets delete`\n\n```bash\nax datasets delete NAME_OR_ID\nax datasets delete NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\nax datasets delete NAME_OR_ID --force   # skip confirmation prompt\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `--force, -f` | bool | false | Skip confirmation prompt |\n| `-p, --profile` | string | default | Configuration profile |\n\n## Workflows\n\n### Find a dataset by name\n\nAll dataset commands accept a name or ID directly. You can pass a dataset name as the positional argument (add `--space SPACE` when not using an ID):\n\n```bash\n# Use name directly\nax datasets get \"eval-set-v1\" --space SPACE\nax datasets export \"eval-set-v1\" --space SPACE\n\n# Or resolve name to ID via list if you need the base64 ID\nax datasets list -o json | jq '.[] | select(.name == \"eval-set-v1\") | .id'\n```\n\n### Create a dataset from file for evaluation\n\n1. Prepare a CSV\u002FJSON\u002FParquet file with your evaluation columns (e.g., `input`, `expected_output`)\n   - If generating data inline, pipe it via stdin using `--file -` (see the Create Dataset section)\n2. `ax datasets create --name \"eval-set-v1\" --space SPACE --file eval_data.csv`\n3. Verify: `ax datasets get DATASET_NAME --space SPACE`\n4. Use the dataset name to run experiments\n\n### Add examples to an existing dataset\n\n```bash\n# Find the dataset\nax datasets list --space SPACE\n\n# Append inline or from a file using the dataset name (see Append Examples section for full syntax)\nax datasets append DATASET_NAME --space SPACE --json '[{\"question\": \"...\", \"answer\": \"...\"}]'\nax datasets append DATASET_NAME --space SPACE --file additional_examples.csv\n```\n\n### Download dataset for offline analysis\n\n1. `ax datasets list --space SPACE` -- find the dataset name\n2. `ax datasets export DATASET_NAME --space SPACE` -- download to file\n3. Parse the JSON: `jq '.[] | .question' dataset_*\u002Fexamples.json`\n\n### Export a specific version\n\n```bash\n# List versions\nax datasets get DATASET_NAME --space SPACE -o json | jq '.versions'\n\n# Export that version\nax datasets export DATASET_NAME --space SPACE --version-id VERSION_ID\n```\n\n### Iterate on a dataset\n\n1. Export current version: `ax datasets export DATASET_NAME --space SPACE`\n2. Modify the examples locally\n3. Append new rows: `ax datasets append DATASET_NAME --space SPACE --file new_rows.csv`\n4. Or create a fresh version: `ax datasets create --name \"eval-set-v2\" --space SPACE --file updated_data.json`\n\n### Pipe export to other tools\n\n```bash\n# Count examples\nax datasets export DATASET_NAME --space SPACE --stdout | jq 'length'\n\n# Extract a single field\nax datasets export DATASET_NAME --space SPACE --stdout | jq '.[].question'\n\n# Convert to CSV with jq\nax datasets export DATASET_NAME --space SPACE --stdout | jq -r '.[] | [.question, .answer] | @csv'\n```\n\n## Dataset Example Schema\n\nExamples are free-form JSON objects. There is no fixed schema -- columns are whatever fields you provide. System-managed fields are added by the server:\n\n| Field | Type | Managed by | Notes |\n|-------|------|-----------|-------|\n| `id` | string | server | Auto-generated UUID. Required on update, forbidden on create\u002Fappend |\n| `created_at` | datetime | server | Immutable creation timestamp |\n| `updated_at` | datetime | server | Auto-updated on modification |\n| *(any user field)* | any JSON type | user | String, number, boolean, null, nested object, array |\n\n\n## Related Skills\n\n- **arize-trace**: Export production spans to understand what data to put in datasets → use `arize-trace`\n- **arize-experiment**: Run evaluations against this dataset → next step is `arize-experiment`\n- **arize-prompt-optimization**: Use dataset + experiment results to improve prompts → use `arize-prompt-optimization`\n\n## Troubleshooting\n\n| Problem | Solution |\n|---------|----------|\n| `ax: command not found` | See references\u002Fax-setup.md |\n| `401 Unauthorized` | API key is wrong, expired, or doesn't have access to this space. Fix the profile using references\u002Fax-profiles.md. |\n| `No profile found` | No profile is configured. See references\u002Fax-profiles.md to create one. |\n| `Dataset not found` | Verify dataset ID with `ax datasets list` |\n| `File format error` | Supported: CSV, JSON, JSONL, Parquet. Use `--file -` to read from stdin. |\n| `platform-managed column` | Remove `id`, `created_at`, `updated_at` from create\u002Fappend payloads |\n| `reserved column` | Remove `time`, `count`, or any `source_record_*` field |\n| `Provide either --json or --file` | Append requires exactly one input source |\n| `Examples array is empty` | Ensure your JSON array or file contains at least one example |\n| `not a JSON object` | Each element in the `--json` array must be a `{...}` object, not a string or number |\n\n## Save Credentials for Future Use\n\nSee references\u002Fax-profiles.md § Save Credentials for Future Use.\n",{"name":5,"metadata":57,"description":7,"compatibility":60},{"author":58,"version":59},"arize","1.0","Requires the ax CLI and a configured Arize profile.","main","5269f7ea2d6c3a9bfda5ed878b6726cf509121fd","skills\u002Farize-dataset",5360,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot","https:\u002F\u002Fawesome-copilot.github.com\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 04:42:30",{"source":9,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add github\u002Fawesome-copilot --skill arize-dataset",{"tool":77,"command":78},"bunx","bunx skills add github\u002Fawesome-copilot --skill arize-dataset",{"tool":80,"command":81},"pnpm","pnpm dlx skills add github\u002Fawesome-copilot --skill arize-dataset","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Farize-dataset\u002FSKILL.md",true,[85,91],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fax-profiles.md","REFERENCE","参考文档",4605,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Farize-dataset\u002Freferences\u002Fax-profiles.md",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fax-setup.md",1529,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Farize-dataset\u002Freferences\u002Fax-setup.md",[96,104,111,121,146,171],{"skillNo":97,"name":98,"nameZh":17,"description":99,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":103},"01M7B5D8BRA66G07045DF7WDYA","sap-cloud-integration","SAP Cloud Integration (CPI, part of SAP Integration Suite) runtime-specific guidance for building and troubleshooting iFlows. Use when writing or reviewing CPI Groovy scripts, choosing headers vs. exchange properties, designing exception subprocesses, JMS retry, idempotency or data store patterns, or diagnosing adapter errors (SFTP, HTTP\u002FOAuth, SOAP, IDoc, OData, AS2, Cloud Connector) from Message Processing Log (MPL) text. Not for SAP PI\u002FPO, ABAP development, or generic Java\u002FGroovy outside CPI.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsap-cloud-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":105,"name":106,"nameZh":17,"description":107,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":103},"01M7B5CYRGSG571NH7EJWT5066","on-device-delegate","Saves cloud-model context by briefing one bounded, read-heavy sub-task (more than about 25 KB of prose, or many files that no single command can answer) to the local-coding plugin's on-device worker, which runs on the local MAI Code 1.1 Flash model. Use for log and test triage, summarizing many files, or extracting facts from large inputs. When the user names this skill, call the skill tool in the same response as your first other tool call, never as a separate step.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fon-device-delegate\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":17,"description":114,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":115,"licenseFileUrl":116,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":120},"01M74CBQ0M3ZKGQH8XKQZ2FHB1","scout-issue","Use when a developer wants to find the best GitHub issues to contribute to in a repository. Invoke with \u002Fscout-issue or ask to find good first issues, beginner-friendly issues, or open source work. Asks about experience level, technical skills, time, and contribution type, then searches GitHub issues, scores them, and presents ranked recommendations with match analysis.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":122,"name":123,"nameZh":17,"description":124,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":52},"01M70KXZNX9ES38N2A8M58ZZMZ","supabase-rls-policies","Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user's rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches RLS, or when asked to prove user isolation with pgTAP tests that sign in as two users.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsupabase-rls-policies\u002FSKILL.md",[],[128,129,130,131,132,133,35,134,135,136,137,138,139,140,141,142,143,41,144,145],"supabase rls policies","supabase rls","supabase","rls","project","with","review","change","read","write","security","isolation","tables","as","tests","prove","users","functions",{"skillNo":147,"name":148,"nameZh":17,"description":149,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":52},"01M70KWA5YWXDV6V8DZ19E3T2Y","skill-distribution-audit","Audit a skill collection before release or investigate installer omissions, archived\u002Ftemplate leakage, duplicate identities, and manifest drift. Reconcile the intended public source set, distribution manifest, and actual discovery output for a specified consumer version. Includes a deterministic set-comparison helper.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fskill-distribution-audit\u002FSKILL.md",[],[153,154,155,156,157,158,159,160,161,162,45,163,164,165,166,167,168,169,40,170],"distribution","skill distribution audit","audit","output","reconcile","release","template","duplicate","investigate","drift","deterministic","installer","for","discovery","comparison","helper","manifest","collection",{"skillNo":172,"name":173,"nameZh":17,"description":174,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":175,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":52},"01M70KCJPFVW7PPQ49CC5R8JGK","logicapps-custom-code-net10-migration","Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project\u002Fpackage configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FSKILL.md",[],[179,180,181,182,183,184,185,165,132,186,187,188,189,190,191,192,41,193,194,195],"code","logicapps custom code net10 migration","migration","custom","Legacy","projects","standalone","deployment","applications","local","azure","worker","upgrades","package","apps","debugging","workflows"]