跳到正文
Skillpedia
连接器(MCP)40k · #7058

arize-annotation

它能做什么

这个工具可以帮你组织和管理在 Arize 平台上人工评估数据的方式。你可以创建“标注配置”来定义评估的类型(比如从选项中选择、打分或写评论),还可以创建“标注队列”来安排由谁来完成这些评估。

适用场景

  • ✓当你想定义人们如何对数据提供反馈时。
  • ✓当你需要组织一组人来审核和评估数据时。
  • ✓当你想把人工评估结果应用到你的数据上时。

技能链接

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

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“创建一个标注配置,用来评估回答质量,分数范围为 0 到 10。”

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

工作原理

在内部,这个工具通过命令来创建和管理这些配置与队列。它支持定义问题类型(选择题、评分题、自由文本),还可以指定由谁来回答,并把这些回答应用到数据上。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Arize Annotation 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.

This skill covers annotation configs (the label schema) and annotation queues (human review workflows), as well as programmatically annotating project spans via the Python SDK.

Direction: Human labeling in Arize attaches values defined by configs to spans, dataset examples, experiment-related records, and queue items in the product UI. This skill covers: ax annotation-configs, ax annotation-queues, and bulk span updates with ArizeClient.spans.update_annotations.


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
  • 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.

Concepts

What is an Annotation Config?

An annotation config defines the schema for a single type of human feedback label. Before anyone can annotate a span, dataset record, experiment output, or queue item, a config must exist for that label in the space.

Field Description
Name Descriptive identifier (e.g. Correctness, Helpfulness). Must be unique within the space.
Type categorical (pick from a list), continuous (numeric range), or freeform (free text).
Values For categorical: array of {"label": str, "score": number} pairs.
Min/Max Score For continuous: numeric bounds.
Optimization Direction Whether higher scores are better (maximize) or worse (minimize). Used to render trends in the UI.

Where labels get applied (surfaces)

Surface Typical path
Project spans Python SDK spans.update_annotations (below) and/or the Arize UI
Dataset examples Arize UI (human labeling flows); configs must exist in the space
Experiment outputs Often reviewed alongside datasets or traces in the UI — see arize-experiment, arize-dataset
Annotation queue items ax annotation-queues CLI (below) and/or the Arize UI; configs must exist

Always ensure the relevant annotation config exists in the space before expecting labels to persist.


Basic CRUD: Annotation Configs

List

ax annotation-configs list --space SPACE
ax annotation-configs list --space SPACE -o json
ax annotation-configs list --space SPACE --limit 20

Create — Categorical

Categorical configs present a fixed set of labels for reviewers to choose from.

ax annotation-configs create \
  --name "Correctness" \
  --space SPACE \
  --type categorical \
  --value correct \
  --value incorrect \
  --optimization-direction maximize

Common binary label pairs:

  • correct / incorrect
  • helpful / unhelpful
  • safe / unsafe
  • relevant / irrelevant
  • pass / fail

Create — Continuous

Continuous configs let reviewers enter a numeric score within a defined range.

ax annotation-configs create \
  --name "Quality Score" \
  --space SPACE \
  --type continuous \
  --min-score 0 \
  --max-score 10 \
  --optimization-direction maximize

Create — Freeform

Freeform configs collect open-ended text feedback. No additional flags needed beyond name, space, and type.

ax annotation-configs create \
  --name "Reviewer Notes" \
  --space SPACE \
  --type freeform

Get

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

Delete

ax annotation-configs delete NAME_OR_ID

…
常见问题

什么是标注配置?

它是一套规则,用来定义人们应该如何评估某一项内容。比如,可以是一组选项(好/坏),也可以是一个分数范围(0 到 10),或者一个自由填写文本的字段。

什么是标注队列?

它是一个工作流,用来安排由谁来做评估,以及他们需要审核哪些数据。它把人和标注配置连接起来。

评估结果是如何应用到数据上的?

可以直接在 Arize 的界面中应用,也可以通过 Python SDK 编写代码,把标注结果发送到特定的数据点上。

详情

作者的原始描述

Creates and manages annotation configs (categorical, continuous, freeform label schemas) and annotation queues (human review workflows) on Arize. Applies human annotations to project spans via the Python SDK. Use when the user mentions annotation config, annotation queue, label schema, human feedback, bulk annotate spans, update_annotations, labeling queue, annotate record, or human review.

repo: github/awesome-copilot

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能