> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fiddler.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Evaluators

> A model or function that classifies, scores, or assesses data generated by your GenAI application, in production monitoring and in Experiments.

An **evaluator** is a model or function that analyzes data generated by your GenAI application,
for example by classifying content, calculating metrics, or assessing quality.
In production monitoring, [Evaluator Rules](https://docs.fiddler.ai/evaluate-and-test/evaluator-rules.md) run evaluators on the spans that match each rule's filters.
In [Experiments](https://docs.fiddler.ai/glossary/experiments.md), evaluators score the outputs that your application produces for each item in a dataset.

## Types of Evaluators

* **Built-in evaluators**: Evaluators that Fiddler provides, such as Answer Relevance, Coherence, Conciseness, Context Relevance, RAG Faithfulness, PII Detection, and Sentiment Analysis.
  For these evaluators, the evaluation method and fields are predetermined.
* **Custom Judge evaluators**: LLM-as-a-Judge evaluators that you define with a name, a prompt template, and one or more outputs.
  Prompt templates reference input variables with double curly braces, such as `{{input}}` or `{{context}}`.
* **Evaluators written in code**: Python functions or classes that you write with the [Fiddler Evals SDK](https://docs.fiddler.ai/sdk-api/evals/evaluator.md), for checks such as an exact match against an expected output.

What else defines an evaluator depends on whether it runs on a large language model (LLM) from the [LLM Gateway](https://docs.fiddler.ai/reference/administration/llm-gateway.md):

* **LLM-as-a-Judge evaluators**, such as Answer Relevance, RAG Faithfulness, and Custom Judge evaluators, send a prompt to that LLM.
  Each one has a provider and a model, plus a credential when the provider requires one.
  All three come from the LLM Gateway, and that page lists the supported providers.
* **Other evaluators**, such as Sentiment Analysis, PII Detection, and Topic Classification, do not use the LLM Gateway, so they need no provider, model, or credential.
  Some have their own settings, such as the list of topics for Topic Classification.

## Evaluator Library

Evaluators that you save in Fiddler are defined at the organization level and shared across all projects in your organization.
You create and manage them in the **Evaluator Library**, separately from the rules that run them.
Evaluators that you define in code with the [Fiddler Evals SDK](https://docs.fiddler.ai/sdk-api/evals/evaluator.md) run in Experiments without being saved in Fiddler.

## Related Terms

* [Experiments](https://docs.fiddler.ai/glossary/experiments.md)
* [Fiddler Centor Models](https://docs.fiddler.ai/glossary/centor-models.md)
* [Enrichment](https://docs.fiddler.ai/glossary/enrichment.md) - The earlier name for the same concept

## Related Resources

* [Evaluator Rules](https://docs.fiddler.ai/evaluate-and-test/evaluator-rules.md)
* [LLM Gateway](https://docs.fiddler.ai/reference/administration/llm-gateway.md)
* [Fiddler Evals SDK: Evaluator](https://docs.fiddler.ai/sdk-api/evals/evaluator.md)
