跳到正文
Skillpedia
智能体40k · #7321

phoenix-evals

它能做什么

这个工具可以帮你测试和改进人工智能(AI)系统。你可以创建检查项,对照预期结果或人工评估来判断 AI 的表现是否良好。

适用场景

  • ✓当你想知道 AI 给出的回答是否正确时。
  • ✓用来比较 AI 的不同版本,看看哪个更好。
  • ✓确保 AI 的行为安全,并符合预期。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/phoenix-evals/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“我怎样才能测试我的客服聊天机器人是否正确回答了问题?”

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

工作原理

你可以定义规则,或者使用 AI 模型来评判应用的回答。然后运行大规模测试,分析结果,找出并修复错误。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Phoenix Evals

Build evaluators for AI/LLM applications. Code first, LLM for nuance, validate against humans.

Quick Reference

Task Files
Setup setup-python, setup-typescript
Decide what to evaluate evaluators-overview
Choose a judge model fundamentals-model-selection
Use pre-built evaluators evaluators-pre-built
Build code evaluator evaluators-code-python, evaluators-code-typescript
Build LLM evaluator evaluators-llm-python, evaluators-llm-typescript, evaluators-custom-templates
Batch evaluate DataFrame evaluate-dataframe-python
Understand experiments experiments-overview
Run experiment experiments-running-python, experiments-running-typescript
Create dataset experiments-datasets-python, experiments-datasets-typescript
Generate synthetic data experiments-synthetic-python, experiments-synthetic-typescript
Validate evaluator accuracy validation, validation-evaluators-python, validation-evaluators-typescript
Sample traces for review observe-sampling-python, observe-sampling-typescript
Analyze errors error-analysis, error-analysis-multi-turn, axial-coding
RAG evals evaluators-rag
Avoid common mistakes common-mistakes-python, fundamentals-anti-patterns
Production production-overview, production-guardrails, production-continuous

Workflows

Starting Fresh: observe-tracing-setup → error-analysis → axial-coding → evaluators-overview

Building Evaluator: fundamentals → common-mistakes-python → evaluators-{code|llm}-{python|typescript} → validation-evaluators-{python|typescript}

RAG Systems: evaluators-rag → evaluators-code-* (retrieval) → evaluators-llm-* (faithfulness)

Production: production-overview → production-guardrails → production-continuous

Reference Categories

Prefix Description
fundamentals-* Types, scores, anti-patterns
observe-* Tracing, sampling
error-analysis-* Finding failures
axial-coding-* Categorizing failures
evaluators-* Code, LLM, RAG evaluators
experiments-* Datasets, running experiments
validation-* Validating evaluator accuracy against human labels
production-* CI/CD, monitoring

Key Principles

Principle Action
Error analysis first Can't automate what you haven't observed
Custom > generic Build from your failures
Code first Deterministic before LLM
Validate judges >80% TPR/TNR
Binary > Likert Pass/fail, not 1-5
常见问题

什么是 'evaluators'?

它们是你创建的检查项,用来测试 AI 的某个方面,比如准确性、安全性或语言风格。

使用这个工具需要会编程吗?

会编程会有帮助,尤其是在创建更复杂的检查项时。不过这个工具也提供了适合不同技术水平的选项。

'validate against humans' 是什么意思?

意思是把自动测试的结果与真人的判断进行对比,以确保测试结果可靠。

详情

作者的原始描述

Build and run evaluators for AI/LLM applications using Phoenix.

repo: github/awesome-copilot

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能