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

# Composite Metrics

> Combine metrics into one result.

Use a composite metric to roll several metrics into one score or label. For example, combine a clarity score and a Pass/Fail check into one Scheduling Quality score.

A composite metric reads results that the other metrics already produced, so it makes no LLM call. It can read only metrics that always run, so a conditional metric cannot be one of its inputs.

## Create a composite metric

**1. Open the form**

On the **Metrics** page, click **Create**, then **Create manually**, and set **Type** to **Composite**.

**2. Add the metrics**

Under **Metrics**, click **Add metric** for each metric to combine. A formula needs numbers, so for a Yes/No or Pass/Fail metric, set the number that each result counts as, for example 1 for yes and 0 for no.

**3. Set the output**

Set **Output** to one of these:

* **Numerical**: write a formula over the metrics. Start typing a metric name and pick it from the list. **Min value** and **Max value** cap the result.
* **Categorical**: add an option for each label, with the conditions that select it. Bluejay uses the first option whose conditions match. If none match, the result is not applicable.

![The Create Metric dialog with Type set to Composite, two metrics added, and a numerical formula that combines them](https://mintcdn.com/bluejay/j6DH1_huv9ADKCnk/images/metric-composite.png?fit=max\&auto=format\&n=j6DH1_huv9ADKCnk\&q=85\&s=ce4ecf5f3a06c9372d3dcca7e3cd6586)

In YAML, see the [composite metric example](https://docs.getbluejay.ai/bluejay-as-code/cookbook.md#composite-metrics).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.