> ## 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.

# Evaluator Library

> Create and manage your organization's evaluators in the Evaluator Library, including Custom Judge and predefined evaluators shared across all projects.

The **Evaluator Library** (**Evaluators** in the sidebar) lists your organization's evaluators.
Evaluators are shared across all projects.
An [evaluator rule](https://docs.fiddler.ai/evaluate-and-test/evaluator-rules.md) applies one evaluator to an application's spans.

***

## Evaluator List

The evaluator list has these columns:

| Column | Description |
| - | - |
| **Name** | The evaluator's name |
| **Type** | The evaluator type |
| **Provider** | The LLM provider |
| **Model** | The model the evaluator uses |
| **Status** | **Active** or **Archived** |
| **Created** | Date the evaluator was created |

***

## Create an Evaluator

1. Select **+ Add Evaluator**.
2. Choose **Custom Judge** or a predefined evaluator.
3. Fill in **Configure**.
4. Check **Review**, then select **Save**.

You can also create an evaluator while adding a rule.
In the **Add Evaluator Rule** flow, select **Create New Evaluator**.
See [Evaluator Rules](https://docs.fiddler.ai/evaluate-and-test/evaluator-rules.md).

Every evaluator needs an **Evaluator Name**.
The name must be at least 6 characters and unique.

### Custom Judge

A **Custom Judge** is an LLM-as-a-Judge evaluator you configure.

* **Provider**, **Credential**, and **Model**: Come from the [LLM Gateway](https://docs.fiddler.ai/reference/administration/llm-gateway.md).
  Changing the **Provider** replaces **Credential** and **Model** with the new provider's first available options, or clears them if it has none.
* **Prompt Template (User)**: Required.
  It must contain at least one variable in double curly braces, such as `{{input}}`.
* **Prompt Template (System)**: Optional.
  To add it, choose **System** in the list next to **Add message**, then select **Add message**.
* **Outputs**: Select **+ Add Output** to add at least one output.
  Each output has a **Type** (**String**, **Numeric**, or **Categorical (enum)**) and a unique **Output Name**.
  A **Categorical (enum)** output also has **Values**.

You map each prompt variable to span data when you create a rule.

For a walkthrough, see [Building Custom Judge Evaluators](https://docs.fiddler.ai/developers/cookbooks/custom-judge-evaluators.md).

### Predefined Evaluators

For what each predefined evaluator measures and needs, see [Built-In Evaluators](https://docs.fiddler.ai/evaluate-and-test/built-in-evaluators.md).

| Evaluator | What you configure |
| - | - |
| **Answer Relevance**, **Coherence**, **Conciseness**, **Context Relevance**, **RAG Faithfulness** | **Provider**, **Credential**, and **Model** |
| **PII Detection** | The entities to detect and an allow list |
| **Topic Classification** | **Topics** (at least one) |
| **JSON Validation** | **Strict mode** and an optional **JSON Schema** |
| **Embedding**, **Token Count**, **Sentiment Analysis**, **Secret Detection**, **Prompt Safety**, **Response Faithfulness**, **Centor PII/PHI** | Name only |

***

## Manage Evaluators

Each row's menu has these options:

* **Edit**: Active evaluators only.
* **Archive**: Active evaluators only.
* **Duplicate**: The copy's name ends in "(copy)".

> [!WARNING]
>
> Archiving an evaluator deletes every rule that uses it, in every application, whether the rule is enabled or disabled.
> Deleting those rules also deletes the scores they generated and any alert rules that use them.
> This can't be undone.
> See [Delete a Rule](https://docs.fiddler.ai/evaluate-and-test/evaluator-rules.md#delete-a-rule) for everything a rule deletion removes.

You can't add or remove inputs, remove outputs, or change an output's type on a saved **Custom Judge**.
To make one of those changes, select **Duplicate** and make the change before you save the copy.

***

## Related

* [**Evaluator Rules**](https://docs.fiddler.ai/evaluate-and-test/evaluator-rules.md)
* [**Building Custom Judge Evaluators**](https://docs.fiddler.ai/developers/cookbooks/custom-judge-evaluators.md)
* [**LLM Gateway**](https://docs.fiddler.ai/reference/administration/llm-gateway.md)
* [**Choose Evaluators and Metrics**](https://docs.fiddler.ai/getting-started/evaluators-metrics-guide.md)
