> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://www.comet.com/docs/opik/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://www.comet.com/docs/opik/_mcp/server.

# Evaluation

The TypeScript SDK provides a streamlined approach to evaluating your LLM applications with the `evaluate` function that handles various evaluation scenarios.

```mermaid
flowchart LR
    A[Dataset item] --> B[Evaluation Task]
    B --> C[Data Processing]
    C --> D[Metrics Scoring]
    D --> E[Evaluation Results]

    style A fill:#f9f9f9,stroke:#333,stroke-width:2px
    style B fill:#e1f5fe,stroke:#333,stroke-width:2px
    style C fill:#e8f5e9,stroke:#333,stroke-width:2px
    style D fill:#e3f2fd,stroke:#333,stroke-width:2px
    style E fill:#fff3e0,stroke:#333,stroke-width:2px
```

## Structure

The TypeScript SDK evaluation documentation covers:

* **[Quick Start](/reference/typescript-sdk/evaluation/quick-start)**: Get up and running with basic evaluations
* **[Datasets](/reference/typescript-sdk/evaluation/datasets)**: Working with evaluation datasets
* **[Evaluate Function](/reference/typescript-sdk/evaluation/evaluate_function)**: Using the evaluate function
* **[Evaluation Metrics](/reference/typescript-sdk/evaluation/metrics)**: Available metrics and creating custom metrics
* **[Experiments](/reference/typescript-sdk/evaluation/experiments)**: Creating and managing evaluation experiments
* **[Test Suites](/reference/typescript-sdk/evaluation/test_suites)**: Regression testing with assertions and execution policies