# Key Phrases Extraction

## Overview

This Drafter AI block allows you to extract key phrases from any text. It uses advanced algorithms and natural language processing techniques to identify the most important words and phrases in the text.&#x20;

This makes it an invaluable tool for anyone who needs to quickly and accurately identify the main themes and topics in a piece of writing.&#x20;

Whether you're a content creator, a marketer, or a researcher, Key Phrases Extraction can help you save time and improve the quality of your work.&#x20;

Input your text and let Key Phrases Extraction do the rest.

## How to Setup

Provide the next mandatory info:

1. Data input (text) - variables from other blocks or provided by a user as manual input
2. Data output - result variable, that the block produces. Change its name for ease of further use.

![](/files/lMbMsXXtqgE3jC9WjLOP)

## Inputs and Outputs

<table><thead><tr><th width="188">Input</th><th width="163.33333333333331">Output</th><th>Output Description</th></tr></thead><tbody><tr><td>Any Text (Text)</td><td>Key Phrases (Text)</td><td>Extract key phrases from the texts</td></tr></tbody></table>


---

# 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.drafter.ai/building-blocks/actions/key-phrases-extraction.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.
