Logo van Evaluators

Evaluators

OrganisatiePopulair
Arize-ai
evaluators

Maak of verfijn een Phoenix-evaluator — code of LLM-as-a-judge — die de uitvoer van een run beoordeelt. Activeer deze skill wanneer de gebruiker een nieuwe evaluator wil maken, de logica of beoordelingsrubriek van een bestaande evaluator wil verbeteren, labels wil kiezen of wil bepalen wat er op een dataset of experiment moet worden gemeten. Activeer deze skill NIET voor: (1) handmatig prompts opstellen (gebruik `playground`), (2) experimenten uitvoeren of vergelijken (gebruik `experiments`), (3) fouten in meerdere traces diagnosticeren zonder dat er een evaluator aan te pas komt (gebruik `phoenix-error-analysis`).

Add to TypingMind

Overzicht

UitgeverArize-ai
Repositoryphoenix
Skillnaamevaluators
Sterren
11.5K
Forks
1.1K
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door Arize-ai op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Evaluators in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Arize-ai/phoenix/tree/main/src/phoenix/server/agents/prompts/skills/evaluators
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Arize-ai/phoenix.git /tmp/phoenix
mkdir -p .claude/skills
cp -r /tmp/phoenix/src/phoenix/server/agents/prompts/skills/evaluators .claude/skills/evaluators
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Evaluators in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Evaluators automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Evaluators niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Evaluators

A Phoenix evaluator scores a run: it reads some subset of the run's input, output, reference, and metadata and returns named annotations — a label, a score, or both. The two artifact kinds — a code evaluator (a Python or TypeScript function) and an LLM evaluator (a judge prompt sent to a model) — share the loop and discipline below; judgment structure follows task need and environment capability, not artifact kind. The experiments skill reads the scores you design here; the explanations you enable are its evidence channel when comparing runs.

The Authoring Loop

  1. Derive the grading task from the stated purpose — a hypothesis and its evaluator are one design: the hypothesis names the failure mode, the evaluator scores it. Evidence comes from the stated purpose, the dataset's examples, and existing run outputs, not from interrogating the user.
  2. Inventory before creating. Read the dataset's existing evaluators and check input-shape compatibility — an evaluator fits when its declared inputs parse the experiment's output topology. Reuse or attach on a match; create on a gap. A question is warranted only when the stated purpose lacks the failure mode, target output field, or acceptable tradeoff.
  3. Decide the labels. Choose a small, mutually exclusive, collectively exhaustive set — often binary (correct/incorrect, pass/fail). Add labels only to distinguish failure modes that matter; every extra label adds boundary ambiguity.
  4. Locate the signal in the run's fields — a top-level key, a chat-style messages array, assistant content parts, tool_calls, or a function_call — by inspecting the actual shape.
  5. Write the judgment: a function that reads the field and returns the label or score, or a judge prompt whose rubric names each label and ties the decision to observable evidence in the fields. Align scores with the optimization direction and enable an explanation to justify the judgment and surface rubric ambiguity.
  6. Calibrate against several representative cases covering the named failure modes — one preview is not calibration. Shape each payload like a real run. When a case mislabels, change one thing — rubric, logic, labels, or case — and fix an unrepresentative case before blaming the logic.
  7. Iterate until the representative cases label correctly and the tradeoff is acceptable. Persistence is a separate save; do not claim the evaluator is created or updated until that save actually completes.

Reference Provenance

The first fork is reference-based versus reference-free: does the judgment compare the output against something stored with the example, or against the input and rubric criteria alone? When reference-based, triage what the reference actually is before trusting it as an answer key:

  • golden — a hand-labeled ideal output. Deviation is a defect; strict comparison is warranted.
  • baseline-snapshot — current-state outputs culled into the dataset as a comparison point, not ground truth. It anchors did-behavior-change judgments — Pairwise suits it — and losing to it is a signal, not a verdict.
  • reference-free — no stored answer key; judge the output against the input and a rubric.

Choosing The Judgment Structure

Discover the environment first: read the capability fingerprint of the sandbox the evaluator will run in — which model credentials its environment variables name, whether it has internet access, which packages are installed, and any restricted-language runtime notes. Choose by environment capability and task need, not artifact kind. The ladder, floor to heaviest:

  • deterministic primitives — exact-match, contains, regex-match, json-distance, embedding-distance, levenshtein-distance, scikit-learn metrics, and structural tool_calls checks. Prefer one whenever the judgment can be computed.
  • single LLM judge — one rubric, one model, for reading-comprehension or open-ended quality.
  • Composite — sub-checks (code or LLM) blended into one weighted score; per-axis breakdown in the explanation.
  • LLM Jury — one judgment polled across several models; weighted votes in the explanation.
  • Pairwise — a blind head-to-head of output against reference, returning a winner or tie.

A credentialed sandbox with LLM access subsumes the LLM-evaluator artifact: a code evaluator there can call models, so Composite, LLM Jury, and Pairwise become layered code evaluators recording steps and votes in explanation or metadata. Design a suite, not a single check: a deterministic floor of primitives plus judged dimensions for what the floor cannot settle.

Matching The Field Topology

  • At runtime, output is the new run's output; a dataset-backed evaluator receives the example's output as reference — data the run never saw, provenance triaged above. Don't conflate the two.
  • A playground-backed run's output always has the fixed LLM-span shape: a messages array (role, content, and tool_calls with function.name/function.arguments) plus a top-level available_tools; shape calibration cases accordingly. A dataset example's output keeps the user-defined dataset shape — evidence for where the signal lives, not a guarantee; inspect it rather than assuming a top-level key.
  • Declare only the fields the judgment needs; the simplest evaluator often reads just output. Add reference for relational checks against the example's expected, golden, or subset data.
  • Prefer reading fields directly and parsing nested or stringified JSON in the logic over a custom input mapping; in relational checks, normalize output and reference the same way before comparing, or matching values will spuriously diverge.

Things To Avoid

  • Don't edit an existing evaluator without reading its current draft; form a specific hypothesis and make the smallest edit that tests it.
  • Don't change the rubric, logic, labels, and cases all in one step; you lose attribution.
  • Don't reach for a judged structure when a deterministic primitive settles the judgment.
  • Don't claim the evaluator is created or updated; persistence is a separate save.

Veelgestelde vragen

Wat doet de AI-skill Evaluators?

Maak of verfijn een Phoenix-evaluator — code of LLM-as-a-judge — die de uitvoer van een run beoordeelt. Activeer deze skill wanneer de gebruiker een nieuwe evaluator wil maken, de logica of beoordelingsrubriek van een bestaande evaluator wil verbeteren, labels wil kiezen of wil bepalen wat er op een dataset of experiment moet worden gemeten. Activeer deze skill NIET voor: (1) handmatig prompts opstellen (gebruik `playground`), (2) experimenten uitvoeren of vergelijken (gebruik `experiments`), (3) fouten in meerdere traces diagnosticeren zonder dat er een evaluator aan te pas komt (gebruik `...

Waarom Evaluators gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Evaluators bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Evaluators in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Arize-ai/phoenix/tree/main/src/phoenix/server/agents/prompts/skills/evaluators. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Evaluators gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Evaluators gebruiken?

Zoveel als je wilt. Je kunt Evaluators gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Evaluators gratis?

Deze skill is door Arize-ai op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇