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

# Custom Evaluation

Murnitur AI provides robust tools for evaluating datasets through both function evaluations and custom AI evaluations. This documentation will guide you through setting up and running these evaluations.

<iframe width="650" height="400" src="https://www.loom.com/embed/cae731e06eac43948029ffc2da7bf585?sid=51e194d7-df3e-4b14-a668-6f958453dccb" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />

## Function Evaluations

Function evaluations allow you to evaluate your dataset without the need to query an LLM. These are predefined functions that can be used to validate specific aspects of your data.

### Steps to Run Function Evaluations

1. **Navigate to Evaluation Dataset**:

   * Go to the **Evaluation Dataset** section from the main menu.
   * Select the dataset you want to evaluate.

2. **Choose an Evaluation**:
   * Click on "Evaluate".
   * Click on "New Evaluation"
   * Choose from the available function evaluations (e.g., `"Contains Email"`).
   * Click on the `function` to configure and apply the selected evaluation to your dataset.

<img style={{ borderRadius: "0.5rem" }} src="https://mintcdn.com/murnitur/H5Gxz8F5bfRiPNQG/images/add-custom-eval.png?fit=max&auto=format&n=H5Gxz8F5bfRiPNQG&q=85&s=d7a3cd04e2ac4ddb2d3d874ea0af2472" width="3360" height="1880" data-path="images/add-custom-eval.png" />

3. **Run the Evaluation**:
   * After selecting and configuring the evaluations, click on "Run Evaluation" to run the evaluations on your dataset.
   * The results will be displayed in the dataset table.

<img style={{ borderRadius: "0.5rem" }} src="https://mintcdn.com/murnitur/H5Gxz8F5bfRiPNQG/images/eval-result.png?fit=max&auto=format&n=H5Gxz8F5bfRiPNQG&q=85&s=a9368bace00d21a1cf4107454ee9abfb" width="3360" height="1880" data-path="images/eval-result.png" />

## Custom AI Evaluations

For more advanced evaluations, you can use custom AI evaluations. These allow you to run evaluations based on your own templates using any LLM of your choice.

### Steps to Run Custom AI Evaluations

1. **Navigate to Custom AI Evals**:

   * Go to the **Custom AI Evals** section from the main menu.

2. **Create or Select a Template**:

   * You can create a new evaluation template or select an existing one.
   * Define the criteria and logic for your custom evaluation.

3. **Configure and Run**:
   * Configure the evaluation with the necessary parameters.
   * Select the LLM you want to use for the evaluation.
   * Run the evaluation and review the results.
