arize-experiment
它能做什么
这个工具可以帮你比较不同 AI 模型的表现。你可以创建、运行和分析实验,看看哪个模型最适合你的数据。
适用场景
- ✓当你想测试哪个 AI 模型更准确时。
- ✓当你要对比两个或多个模型,从中选出最好的一个时。
- ✓当你想理解 AI 测试结果时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/arize-experiment/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我对比一下各个 AI 模型,看看哪个准确率最高。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具使用名为 'ax' 的系统来组织和运行测试。它会把你的数据发送给 AI 模型,再收集结果,方便你进行比较。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Arize Experiment 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
- Experiment = a named evaluation run against a specific dataset version, containing one run per example
- Experiment Run = the result of processing one dataset example -- includes the model output, optional evaluations, and optional metadata
- Dataset = a versioned collection of examples; every experiment is tied to a dataset and a specific dataset version
- Evaluation = a named metric attached to a run (e.g.,
correctness,relevance), with optional label, score, and explanation
The typical flow: export a dataset → process each example → collect outputs and evaluations → create an experiment with the runs.
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. - CRITICAL — Never fabricate outputs: When running an experiment, you MUST call the real model API specified by the user for every dataset example. Never fabricate, simulate, or hardcode model outputs, latencies, or evaluation scores. If you cannot call the API (missing SDK, missing credentials, network error), stop and tell the user what is needed before proceeding.
List Experiments: ax experiments list
Browse experiments, optionally filtered by dataset. Output goes to stdout.
ax experiments list
ax experiments list --dataset DATASET_NAME --space SPACE --limit 20 # DATASET_NAME: name or ID (name preferred)
ax experiments list --cursor CURSOR_TOKEN
ax experiments list -o json
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--dataset |
string | none | Filter by dataset |
--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 Experiment: ax experiments get
Quick metadata lookup -- returns experiment name, linked dataset/version, and timestamps.
ax experiments get NAME_OR_ID
ax experiments get NAME_OR_ID -o json
ax experiments get NAME_OR_ID --dataset DATASET_NAME --space SPACE # required when using experiment name instead of ID
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
NAME_OR_ID |
string | required | Experiment name or ID (positional) |
--dataset |
string | none | Dataset name or ID (required if using experiment name instead of ID) |
--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 | Experiment ID |
name |
string | Experiment name |
dataset_id |
string | Linked dataset ID |
dataset_version_id |
string | Specific dataset version used |
experiment_traces_project_id |
string | Project where experiment traces are stored |
created_at |
datetime | When the experiment was created |
updated_at |
datetime | Last modification time |
Export Experiment: ax experiments export
Download all runs to a file. By default uses the REST API; pass --all to use Arrow Flight for bulk transfer.
…
常见问题
什么是“实验”?
实验是一次有组织的测试,用来比较不同 AI 模型在你的某组特定数据上的表现。
什么是“运行结果”(runs)?
runs 是每次 AI 模型在实验中处理一个示例时产生的单独结果。
我怎么知道哪个模型更好?
工具会展示每个模型的指标和结果,你可以根据自己设定的标准,看出哪个表现最好。
详情
作者的原始描述
Creates, runs, and analyzes Arize experiments for evaluating and comparing model performance. Covers experiment CRUD, exporting runs, comparing results, and evaluation workflows using the ax CLI. Use when the user mentions create experiment, run experiment, compare models, model performance, evaluate AI, experiment results, benchmark, A/B test models, or measure accuracy.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7061
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。