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

arize-evaluator

它能做什么

这个工具可以帮你设置并运行语言模型(AI)的自动评估,让另一个 AI 充当“裁判”。你可以定义这个 AI 裁判应该如何评判回答,比如检查回答是否真实、是否切题,然后对你的数据运行这项评估。

适用场景

  • ✓当你想检查 AI 是否在“编造”信息(即幻觉)时。
  • ✓当你想确保 AI 的回答正确且切题时。
  • ✓当你想对比不同版本的 AI 模型,看看哪个更好时。

技能链接

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

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“设置一个评估器,检查 AI 的回答是否忠实于提供的上下文。”

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

工作原理

你需要定义 AI 裁判要关注什么(即“评估器”),以及它应该如何检查数据(即“列映射”)。然后运行一个“任务”,把这个评估器应用到你的数据上,生成分数和解释。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Arize Evaluator 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 designing, creating, and running LLM-as-judge evaluators on Arize. An evaluator defines the judge; a task is how you run it against real data.


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
  • LLM provider call fails (missing OPENAI_API_KEY / ANTHROPIC_API_KEY) → run ax ai-integrations list --space SPACE to check for platform-managed credentials. If none exist, ask the user to provide the key or create an integration via the arize-ai-provider-integration skill
  • 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.
  • CRITICAL — Never fabricate evaluation results: If an evaluation task fails, is cancelled, or produces no scores, report the failure clearly and explain what went wrong. Do NOT perform a "manual evaluation," invent quality scores, estimate percentages, or present any agent-generated analysis as if it came from the Arize evaluation system. Instead suggest: (1) fix the identified issue and retry, (2) try running from the Arize UI, (3) verify integration credentials with ax ai-integrations list, (4) contact support at https://arize.com/support

Concepts

What is an Evaluator?

An evaluator is an LLM-as-judge definition. It contains:

Field Description
Template The judge prompt. Uses {variable} placeholders (e.g. {input}, {output}, {context}) that get filled in at run time via a task's column mappings.
Classification choices The set of allowed output labels (e.g. factual / hallucinated). Binary is the default and most common. Each choice can optionally carry a numeric score.
AI Integration Stored LLM provider credentials (OpenAI, Anthropic, Bedrock, etc.) the evaluator uses to call the judge model.
Model The specific judge model (e.g. gpt-4o, claude-sonnet-4-5).
Invocation params Optional JSON of model settings like {"temperature": 0}. Low temperature is recommended for reproducibility.
Optimization direction Whether higher scores are better (maximize) or worse (minimize). Sets how the UI renders trends.
Data granularity Whether the evaluator runs at the span, trace, or session level. Most evaluators run at the span level.

Evaluators are versioned — every prompt or model change creates a new immutable version. The most recent version is active.

What is a Task?

A task is how you run one or more evaluators against real data. Tasks are attached to a project (live traces/spans) or a dataset (experiment runs). A task contains:

Field Description
Evaluators List of evaluators to run. You can run multiple in one task.
Column mappings Maps each evaluator's template variables to actual field paths on spans or experiment runs (e.g. "input" → "attributes.input.value"). This is what makes evaluators portable across projects and experiments.
Query filter SQL-style expression to select which spans/runs to evaluate (e.g. "span_kind = 'LLM'"). Optional but important for precision.
Continuous For project tasks: whether to automatically score new spans as they arrive.
Sampling rate For continuous project tasks: fraction of new spans to evaluate (0–1).

Data Granularity

…

常见问题

什么是“评估器”?

它是 AI 评判另一个 AI 回答的配置方式,包括给 AI 裁判的“提示词”(指令)、可能的结论(比如“正确”“错误”),以及使用哪个 AI 模型。

什么是“任务”?

它是对你的数据运行一个或多个评估器的操作。任务会定义使用哪些评估器、如何把数据中的信息对应到评估器的指令中,以及要评估哪些具体数据。

如果评估出错或结果缺失,工具会怎么处理?

如果评估失败,工具会清楚地报告问题,不会编造结果。它会建议你修复问题、尝试通过 Arize 网页界面操作、检查凭证,或联系支持人员。

详情

作者的原始描述

Handles LLM-as-judge evaluation workflows on Arize including creating/updating evaluators, running evaluations on spans or experiments, managing tasks, trigger-run operations, column mapping, and continuous monitoring. Use when the user mentions create evaluator, LLM judge, hallucination, faithfulness, correctness, relevance, run eval, score spans, score experiment, trigger-run, column mapping, co

repo: github/awesome-copilot

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能