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

# Summarization

> Retrieve important information from your audio files

<Badge color="blue" size="lg" icon="file-audio">
  Pre-recorded
</Badge>

<Badge color="green" icon="tower-broadcast" size="lg">
  Live
</Badge>

The **Summarization** model generates a summary of your transcript.

You can choose one of our summary types to customize the summarization based on your preference.

**3 summarization types** are available:

* `general` : A regular summary of the transcription
* `concise` : A shorter summary for quick overview
* `bullet_points` : Retrieve the key points in a list

If no `summarization_config` is provided, `general` type will be used by default.

### Notes on options

* **general**: Balanced summary for most use cases; good readability and coverage.
* **concise**: Shorter output for quick overviews or previews; fewer details.
* **bullet\_points**: Lists key takeaways; ideal for action items, meeting notes, or highlights.

## Usage

To enable summarization simply set the `"summarization"` parameter to true

<CodeGroup>
  ```json Pre-recorded theme={"system"}
  {
    "summarization": true,
    "summarization_config": {
      "type": "concise"
    }
  }
  ```

  ```json Live theme={"system"}
  {
    "post_processing": {
      "summarization": true,
      "summarization_config": {
        "type": "concise"
      }
    },
    "messages_config": {
      "receive_post_processing_events": true
    }
  }
  ```
</CodeGroup>

## Result

The transcription result will contain a `"summarization"` key with the output of the model:

<CodeGroup>
  ```json Pre-recorded theme={"system"}
  {
    "transcription": {...},
    "summarization": {
      "success": true,
      "is_empty": false,
      "results": "This transcription suggests that...",
      "exec_time": 1.5126123428344727,
      "error": null
    }
  }
  ```
</CodeGroup>

You'll find the summarization of your audio under the `results` key.
