> For the complete documentation index, see [llms.txt](https://docs.aisera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisera.com/aisera-platform/tenant-setup/aisera-platform-configuration/tenant-configuration-settings/federation-service.md).

# Federation Service

The **Settings > Configuration > Federation Service** configurations control how the **Federation Service** aggregates and ranks responses from connected bots in a Universal bot deployment. These are tenant-level settings that apply to all Universal bots in your Aisera tenant.

## Result ranking and filtering

### Number of results to be returned

| **Type**    | Integer |
| ----------- | ------- |
| **Default** | 5       |

Sets the maximum number of results the **Federation Service** returns after aggregating and ranking responses from all connected bots. The **Federation Service** sorts results by confidence score and applies this limit to the combined pool after filtering by **Result Threshold**. Increase this value when your deployment uses many federated bots and you want the system to consider more candidates before selecting a response; decrease it to reduce noise when precision matters more.

See also: [Result Threshold](#result-threshold)

#### Result Threshold

|             |         |
| ----------- | ------- |
| **Type**    | Decimal |
| **Default** | 0.8     |

Sets the minimum confidence score a result must strictly exceed to be included in the **Federation Service** response. The **Federation Service** discards results at or below this value before ranking and applies the **Number of results to be returned** cap. Increase this value to filter out low-confidence matches. Decrease it if the system is consistently excluding valid matches.

{% hint style="info" %}
The threshold comparison is strict. A result scoring exactly equal to the threshold is excluded. For example, a result with a confidence score of `0.8` is discarded when the threshold is set to `0.8`.
{% endhint %}

See also: Number of results to be returned

## Deprecated configurations

### Collision Deviation

| **Type**    | Decimal |
| ----------- | ------- |
| **Default** | 0.05    |

This configuration is deprecated and has no effect.

### Collision Policy

| **Type**    | Text field |
| ----------- | ---------- |
| **Default** | highest    |

This configuration is deprecated and has no effect.
