arize-dataset
它能做什么
这个工具可以帮你管理用于测试和评估 AI 模型的数据集。你可以创建、查看、导出数据集,也可以向数据集中添加示例。
适用场景
- ✓当你需要数据来测试 AI 模型时。
- ✓当你想整理示例以便进行评估时。
- ✓当你需要从已有数据集中导出数据时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/arize-dataset/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“根据文件 data.csv 创建一个名为“my tests”的新数据集。”
每周 5 个新技能,1 分钟读完。
工作原理
你使用特定的命令告诉工具要做什么,比如“创建数据集”或“导出数据集”。然后工具会与 Arize 系统通信,完成相应的操作。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Arize Dataset Skill
SPACE— All--spaceflags and theARIZE_SPACEenv var accept a space name (e.g.,my-workspace) or a base64 space ID (e.g.,U3BhY2U6...). Find yours withax 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 foundor version error → see references/ax-setup.md401 Unauthorized/ missing API key → runax profiles showto 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 listto pick by name, or ask the user - Project unclear → ask the user, or run
ax projects list -o json --limit 100and present as selectable options - Security: Never read
.envfiles or search the filesystem for credentials. Useax profilesfor Arize credentials andax ai-integrationsfor 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
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。