# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aisera.com/aisera-platform/tenant-setup/aisera-platform-configuration/tenant-configuration-settings/federation-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
