# Summary Relevance

**Objective:**&#x20;

Summary Relevance measures how much of the essential content from the original text is captured in the summary. This metric focuses on the inclusion of important topics, key points, or main ideas from the source, assessing whether the summary effectively represents the most critical parts of the content.

**Required Columns in Dataset:**

`LLM Summary`, `Expected Summary`, `Original Document`

**Interpretation:**

* **High values**: Indicate that the summary captures all the main points and relevant information from the source.
* **Low values**: Suggest that the summary omits important information or includes irrelevant details.

**Execution via UI:**

<figure><img src="https://1811327582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbIiNdp1QbG4avl7VShw%2Fuploads%2F8jFjvLhpveoHpdjb6lbi%2Fimage.png?alt=media&#x26;token=bde0a03a-26bf-4eeb-894c-4e4d308c027b" alt=""><figcaption></figcaption></figure>

**Execution via SDK:**

```python
metrics=[
    {"name": "Summary Relevance", "config": {"model": "gpt-4o-mini", "provider": "openai"}, "column_name": "your-text", "schema_mapping": schema_mapping}
]
```
