跳到正文
Skillpedia
机器学习40k · #7059

arize-dataset

它能做什么

这个工具可以帮你管理用于测试和评估 AI 模型的数据集。你可以创建、查看、导出数据集,也可以向数据集中添加示例。

适用场景

  • ✓当你需要数据来测试 AI 模型时。
  • ✓当你想整理示例以便进行评估时。
  • ✓当你需要从已有数据集中导出数据时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/arize-dataset/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/arize-dataset/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“根据文件 data.csv 创建一个名为“my tests”的新数据集。”

每周 5 个新技能,1 分钟读完。

工作原理

你使用特定的命令告诉工具要做什么,比如“创建数据集”或“导出数据集”。然后工具会与 Arize 系统通信,完成相应的操作。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Arize Dataset Skill

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.

Concepts

  • Dataset = a versioned collection of examples used for evaluation and experimentation
  • Dataset Version = a snapshot of a dataset at a point in time; updates can be in-place or create a new version
  • Example = a single record in a dataset with arbitrary user-defined fields (e.g., question, answer, context)
  • Space = an organizational container; datasets belong to a space

System-managed fields on examples (id, created_at, updated_at) are auto-generated by the server -- never include them in create or append payloads.

Prerequisites

Proceed directly with the task — run the ax command you need. Do NOT check versions, env vars, or profiles upfront.

If an ax command fails, troubleshoot based on the error:

  • command not found or version error → see references/ax-setup.md
  • 401 Unauthorized / 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/ax-profiles.md to create/update it. If the user doesn't have their key, direct them to https://app.arize.com/admin > API Keys
  • Space unknown → run ax spaces list to pick by name, or ask the user
  • Project unclear → ask the user, or run ax projects list -o json --limit 100 and present as selectable options
  • 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.

List Datasets: ax datasets list

Browse datasets in a space. Output goes to stdout.

ax datasets list
ax datasets list --space SPACE --limit 20
ax datasets list --cursor CURSOR_TOKEN
ax datasets list -o json

Flags

Flag Type Default Description
--space string from profile Filter by space
--limit, -l int 15 Max results (1-100)
--cursor string none Pagination cursor from previous response
-o, --output string table Output format: table, json, csv, parquet, or file path
-p, --profile string default Configuration profile

Get Dataset: ax datasets get

Quick metadata lookup -- returns dataset name, space, timestamps, and version list.

ax datasets get NAME_OR_ID
ax datasets get NAME_OR_ID -o json
ax datasets get NAME_OR_ID --space SPACE   # required when using dataset name instead of ID

Flags

Flag Type Default Description
NAME_OR_ID string required Dataset name or ID (positional)
--space string none Space name or ID (required if using dataset name instead of ID)
-o, --output string table Output format
-p, --profile string default Configuration profile

Response fields

Field Type Description
id string Dataset ID
name string Dataset name
space_id string Space this dataset belongs to
created_at datetime When the dataset was created
updated_at datetime Last modification time
versions array List of dataset versions (id, name, dataset_id, created_at, updated_at)

Export Dataset: ax datasets export

Download all examples to a file. Use --all for datasets larger than 500 examples (unlimited bulk export).

ax datasets export NAME_OR_ID
# -> dataset_abc123_20260305_141500/examples.json

ax datasets export NAME_OR_ID --all
ax datasets export NAME_OR_ID --version-id VERSION_ID
ax datasets export NAME_OR_ID --output-dir ./data
ax datasets export NAME_OR_ID --stdout
ax datasets export NAME_OR_ID --stdout | jq '.[0]'
ax datasets export NAME_OR_ID --space SPACE   # required when using dataset name instead of ID

Flags

Flag Type Default Description
NAME_OR_ID string required Dataset name or ID (positional)
--space string none Space name or ID (required if using dataset name instead of ID)
--version-id string latest Export a specific dataset version
--all bool false Unlimited bulk export (use for datasets > 500 examples)

…

常见问题

什么是“数据集”?

它是一组示例(比如问题和答案),你可以用它来测试或评估你的 AI 模型。

什么是“示例”?

它是数据集中的一条记录,包含问题、答案或其他你自定义的数据。

数据集是如何存储的?

数据集存放在一个“space”中,你可以把它理解为一个文件夹,用来在 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.

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7059
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能