---
title: Summarize using Gen AI
description: Use Generative AI to summarize text content from a selected column in your dataset.
category: AI
tags: [genai, summarization, AI, text processing, transform]
---

# Summarize using Gen AI

## Description

The **Summarize using Gen AI** activity leverages Generative AI to create concise summaries from detailed text data in a selected column. It allows you to configure a custom prompt to guide the summarization and stores the results in a new column for easier interpretation or downstream analysis.

This activity is ideal for shortening product descriptions, summarizing customer feedback, condensing long notes, or producing headline-style insights from verbose content.

> **Use case**:  
> You have long product descriptions and want a short version for display in a catalog or dashboard. This activity summarizes each entry using a custom prompt and stores the output in a new column, enabling you to show both full and concise versions of your content.

## Input

| **Field** | **Required** | **Description**                                      |
| --------- | ------------ | ---------------------------------------------------- |
| Data      | Yes          | Tabular data containing the column to be summarized. |

## Output

| Output Type | Format  | Description                                |
| ----------- | ------- | ------------------------------------------ |
| **Data**    | Tabular | Original data with an added summary column |

## Configuration Fields

| Field Name          | Description                                                                       |
| ------------------- | --------------------------------------------------------------------------------- |
| **Column Name**     | The column containing text to be summarized.                                      |
| **Prompt**          | Custom prompt that defines the summarization style or context.                    |
| **New Column Name** | Name of the column to store the AI-generated summaries.                           |
| **Select All Rows** | If enabled, applies summarization to all rows.                                    |
| **Limit**           | Optional. Maximum number of rows to summarize when `Select All Rows` is disabled. |

---

## Sample Input

| ID  | Product_Description                                                                                |
| --- | -------------------------------------------------------------------------------------------------- |
| 1   | This smartphone features a 6.5-inch display, a high-resolution camera, and a long-lasting battery. |
| 2   | The laptop has a powerful processor, lightweight design, and extended battery life.                |
| 3   | A smartwatch with fitness tracking, heart rate monitoring, and sleep analysis.                     |

---

## Sample Configuration

| Field           | Value                                                  |
| --------------- | ------------------------------------------------------ |
| Column Name     | Product_Description                                    |
| Prompt          | Summarize this product description in one sentence.    |
| New Column Name | Summary                                                |
| Select All Rows | true                                                   |
| Limit           | _(Optional, not used when Select All Rows is enabled)_ |

---

## Sample Output

| ID  | Product_Description                                                                                | Summary                                                                 |
| --- | -------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| 1   | This smartphone features a 6.5-inch display, a high-resolution camera, and a long-lasting battery. | A smartphone with a large display, great camera, and long battery life. |
| 2   | The laptop has a powerful processor, lightweight design, and extended battery life.                | A lightweight laptop with a powerful processor and long battery life.   |
| 3   | A smartwatch with fitness tracking, heart rate monitoring, and sleep analysis.                     | A smartwatch with health and fitness tracking features.                 |
