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

# Set Up Human Annotation on Logs

> Set up human evaluation to assess log quality and improve your AI applications. Automated evaluators provide baseline signals, while human evaluation adds qualitative insights, detailed feedback, and improved rewritten outputs.

## Why Human Evaluation Matters

Automated evaluators are useful for consistent, large-scale assessments, but they often miss nuance, such as context, intent, tone, and human judgment. Human evaluation complements automation by adding:

* Qualitative feedback and detailed comments
* Context-aware judgments
* Rewritten outputs that demonstrate better responses

Human evaluators configured for logs are the same evaluators used in test runs, ensuring consistency across your evaluation workflow.

***

## Ways to Annotate Logs

Maxim supports two approaches to human annotation:

### Internal annotation (in-app)

Team members annotate logs directly within the Maxim UI after human evaluators are configured on a log repository.

### External annotation (via email)

Invite external raters (outside your organization) to annotate selected logs through an email-based workflow.

<Note>
  ### Before you start

  * Ensure logging is set up to capture interactions between your LLM and users.\
    Integrate the [Maxim SDK](/tracing/tracing-via-sdk/traces) into your application.

  * Make sure at least one **Human Evaluator** exists in your workspace.\
    Create one from the **Evaluators** (<Icon icon="square-check" className="w-5 h-5 inline" />) tab in the sidebar.
</Note>

***

## Setting Up Self Annotation

<Steps>
  <Step title="Navigate to the repository">
    Open the log repository where you want to enable human evaluation.
  </Step>

  <Step title="Open evaluation configuration">
    Click **Configure evaluation** in the top-right corner of the page. This opens the evaluation configuration sheet.
  </Step>

  <Step title="Select human evaluators">
    In the **Human evaluation** section, choose the evaluators you want to enable:

    * **Session evaluators** – For multi-turn interactions
    * **Trace evaluators** – For single-response evaluations

    Select evaluators from the dropdown. The same evaluators used in test runs are available here.
  </Step>

  <Step title="Save the configuration">
    Click **Save configurations** at the bottom of the sheet.
  </Step>
</Steps>

Once configured, the logs table automatically adds a column for each human evaluator. Team members can start annotating logs immediately.

***

## Annotating Logs

You can annotate logs from two locations.

### From the logs table

When human evaluators are enabled, corresponding columns appear in the logs table:

1. Click a cell in a human evaluator column
2. Provide a rating in the annotation form
3. Optionally add comments or a rewritten output
4. Click **Save**

The column displays the average score across all annotations for that log.

<img src="https://mintcdn.com/maximai/y92afBWNkXmlC79c/images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/human-annotation-logs-table.png?fit=max&auto=format&n=y92afBWNkXmlC79c&q=85&s=8d81271fce25f8b157728e6e1e118ef9" alt="Screenshot of the logs table with human evaluator columns" width="2818" height="1250" data-path="images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/human-annotation-logs-table.png" />

### From trace details

1. Open a trace from the logs table
2. Click **Annotate** in the top-right corner of the trace details panel
3. Provide ratings for all configured evaluators
4. Optionally add comments or rewritten outputs
5. Save your annotations

<img src="https://mintcdn.com/maximai/y92afBWNkXmlC79c/images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/human-annotation-trace-details.png?fit=max&auto=format&n=y92afBWNkXmlC79c&q=85&s=804c82d9e55b1ab0f81eb593d3a0ed32" alt="Screenshot of the trace details sheet with the annotate button highlighted" width="2412" height="1720" data-path="images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/human-annotation-trace-details.png" />

***

## Using Saved Views as Annotation Queues

Saved views help organize annotation work by creating filtered queues of logs:

1. Apply filters (e.g. unannotated logs, time ranges, specific attributes)
2. Save the filtered view
3. Share the view with raters to work through annotations systematically

This ensures evaluators focus on the most relevant logs and keeps annotation workflows organized.

***

## Inviting External Raters

<Steps>
  <Step title="Navigate to the repository">
    Open the log repository where you want to trigger external human evaluation.
  </Step>

  <Step title="Select traces or sessions">
    Select one or more traces or sessions from the table, then use the floating action panel to click **Add evaluators**.

    Tips:

    * Select individual logs using row checkboxes
    * Use the top checkbox to select all logs within the current filters and time range

          <img src="https://mintcdn.com/maximai/jOQ6TSXPcYrsP-CX/images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/select-traces-for-annotation.png?fit=max&auto=format&n=jOQ6TSXPcYrsP-CX&q=85&s=fe3c02c6986628bccdfb14ba7dd73c5c" alt="Screenshot of the select traces for annotation" width="3024" height="1722" data-path="images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/select-traces-for-annotation.png" />
  </Step>

  <Step title="Choose evaluators">
    Select one or more **Human Evaluators** from the dropdown.

    Optionally, include other evaluators if you want to retroactively evaluate existing logs.

    <img src="https://mintcdn.com/maximai/jOQ6TSXPcYrsP-CX/images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/add-evaluators-button.png?fit=max&auto=format&n=jOQ6TSXPcYrsP-CX&q=85&s=ad384b52e1fe6b0af8251497c4db6ed3" alt="Screenshot of the add evaluators button" width="3024" height="1722" data-path="images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/add-evaluators-button.png" />
  </Step>

  <Step title="Invite external raters via email">
    Click **Trigger** to open the **Human Evaluation** dialog.

    In the dialog:

    * Enter external rater email addresses
    * Add instructions for raters
    * Choose what data they can access

    Visibility options:

    * **Only trace-level data** (input, output, tags, metadata)
    * **Entire trace tree**, including nested steps

    Click **Add evaluators** to send invitations.

    <img src="https://mintcdn.com/maximai/jOQ6TSXPcYrsP-CX/images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/human-evaluation-dialog.png?fit=max&auto=format&n=jOQ6TSXPcYrsP-CX&q=85&s=f51850eb48f993d1a1790bece6a80dfd" alt="Screenshot of the human evaluation dialog" width="3024" height="1724" data-path="images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/human-evaluation-dialog.png" />
  </Step>

  <Step title="Start annotation">
    Invited external raters receive an email with a link to the annotation dashboard.

    <img src="https://mintcdn.com/maximai/jOQ6TSXPcYrsP-CX/images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/email-with-link.png?fit=max&auto=format&n=jOQ6TSXPcYrsP-CX&q=85&s=c837f1f6b3fb1c2dc621e9059a19cc4f" alt="Screenshot of the email with the link to the annotation dashboard" width="2390" height="904" data-path="images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/email-with-link.png" />
  </Step>

  <Step title="Annotation dashboard">
    External raters use the dashboard to review data and submit annotations.

    <img src="https://mintcdn.com/maximai/jOQ6TSXPcYrsP-CX/images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/annotation-dashboard.png?fit=max&auto=format&n=jOQ6TSXPcYrsP-CX&q=85&s=ea8102601d370ee85ed837187440a3b8" alt="Screenshot of the annotation dashboard" width="3024" height="1724" data-path="images/docs/online-evals/via-ui/set-up-human-annotation-on-logs/external/annotation-dashboard.png" />
  </Step>
</Steps>

***

## Viewing Annotations

Annotations are visible in two places.

### Logs table

* Human evaluator scores appear as columns
* Scores are averaged across all annotators
* Click any cell to add or edit an annotation

Internal and external annotations are treated identically; the only difference is the annotation source.

### Trace details (Evaluation tab)

The **Evaluation** tab shows:

* **Average scores** per evaluator
* **Individual annotations**, including scores, comments, and rewritten outputs
* **Pass/fail status**, based on evaluator criteria

***

## Understanding Annotation Scores

* **Average scores** – Mean score across all annotators for a log
* **Individual breakdown** – View each annotator’s scores, comments, and rewrites
* **Pass/fail evaluation** – Determined by evaluator configuration
* **Rewritten outputs** – Multiple rewritten versions may exist and are all preserved

Human annotation provides insights that automated systems cannot capture, enabling continuous improvement of your AI applications based on real-world usage.
