Logo di Evaluators

Evaluators

OrganizzazionePopolare
Arize-ai
evaluators

Crea o perfeziona un valutatore Phoenix, basato su codice o su un LLM-as-a-judge, che assegna un punteggio all’output di un’esecuzione. Attivala quando l’utente vuole creare un nuovo valutatore, migliorare la logica o i criteri di valutazione di uno esistente, scegliere le etichette o decidere cosa misurare su un dataset o un esperimento. NON attivarla per: (1) scrivere manualmente un prompt (usa `playground`), (2) eseguire o confrontare gli esperimenti (usa `experiments`), (3) diagnosticare problemi tra più trace senza un valutatore in questione (usa `phoenix-error-analysis`).

Add to TypingMind

Panoramica

Pubblicato daArize-ai
Repositoryphoenix
Nome della skillevaluators
Stelle
11.5K
Fork
1.1K
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da Arize-ai su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Evaluators in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Arize-ai/phoenix/tree/main/src/phoenix/server/agents/prompts/skills/evaluators
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Evaluators in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Evaluators non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Evaluators non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Evaluators?

Crea o perfeziona un valutatore Phoenix, basato su codice o su un LLM-as-a-judge, che assegna un punteggio all’output di un’esecuzione. Attivala quando l’utente vuole creare un nuovo valutatore, migliorare la logica o i criteri di valutazione di uno esistente, scegliere le etichette o decidere cosa misurare su un dataset o un esperimento. NON attivarla per: (1) scrivere manualmente un prompt (usa `playground`), (2) eseguire o confrontare gli esperimenti (usa `experiments`), (3) diagnosticare problemi tra più trace senza un valutatore in questione (usa `phoenix-error-analysis`).

Perché usare Evaluators su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Evaluators è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Evaluators in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Arize-ai/phoenix/tree/main/src/phoenix/server/agents/prompts/skills/evaluators. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Evaluators?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Evaluators?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Evaluators: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Evaluators è gratuita?

È pubblicata su GitHub da Arize-ai. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇