# Example of commands

### Create a long product description

To create a long product description, I have made a command that uses all available product data, applies the tone I specify, and structures the text according to my instructions. It uses specific HTML tags for headlines and ensures no other HTML tags are included.

<figure><img src="/files/ZsN0ZD88UIgkm1eLN3ji" alt=""><figcaption><p>Setting up AI assistant to generate detailed product descriptions.</p></figcaption></figure>

I select my command, the system confirms that I want to use the available data, and then it asks if I want to fine-tune the content.

<figure><img src="/files/BZ7D0XvT8Px4Y42GzLSE" alt=""><figcaption><p>AI assistant extracting Lenovo Ideapad 330 technical details.</p></figcaption></figure>

It generates the preferred text, which I can either insert directly or copy to the clipboard. A third option allows me to type additional instructions if I want changes to the output.

<figure><img src="/files/gzjV36ikYwepwesUdKKg" alt=""><figcaption><p>AI assistant producing a structured long description for Lenovo Ideapad 330.</p></figcaption></figure>

### Create a short product description

To create a short description, I ask it to summarize the long description, providing instructions on the desired format, specifying a tone, and setting a maximum length.

<figure><img src="/files/RMu4HX5m2VUW7EvSEdCq" alt=""><figcaption><p>Creating AI command to summarize long descriptions into a short description .</p></figcaption></figure>

I use the command I created, which displays the data it has. After confirming it is correct, it generates a summarized description from the "Long Description" attribute.

<figure><img src="/files/kKJaWBOJtnGfS6hQY9Qd" alt=""><figcaption><p>AI assistant generating a concise short description for Lenovo Ideapad 330.</p></figcaption></figure>

### SEO-Friendly product description

The command here focuses on creating an SEO-friendly product description using all available product data. I ensure the description is written to my specific requirements and make it clear that it must be optimized for search engines.

<figure><img src="/files/aT7nvpgArv6tUdv5u3pG" alt=""><figcaption><p>Setting up AI assistant for SEO-optimized product descriptions.</p></figcaption></figure>

I use the command, it displays all the data provided, and I confirm that no changes are needed.

<figure><img src="/files/L5cLUQV53d6eDtvMHDnJ" alt=""><figcaption><p>AI assistant displaying product data before creating an SEO-focused product description.</p></figcaption></figure>

It generates an SEO-friendly product description, ready to be inserted or copied to the clipboard.

<figure><img src="/files/GeDpMdl1d18uhiYIKoMP" alt=""><figcaption><p>AI assistant delivering an SEO-friendly description of Lenovo Ideapad 330.</p></figcaption></figure>

### Marketing blurb

Here, I create a command for a marketing blurb, providing it with all the data from Master Data. I specify the key points it should focus on and set restrictions, such as a maximum character length.

<figure><img src="/files/653mRZd7M9m53UuuAhV1" alt=""><figcaption><p>Creating AI command for short, attention-grabbing marketing blurbs.</p></figcaption></figure>

Here, I use the command, and it checks whether I want to make any changes to the data provided by the command.

<figure><img src="/files/FpTFZmVi1bjH887Bed0J" alt=""><figcaption><p>AI assistant displaying product data before creating a marketing blurb.</p></figcaption></figure>

It generates a marketing blurb for my product, which I can either insert directly into its field or copy to the clipboard.

<figure><img src="/files/46LESiw7opXbm1z8HSX6" alt=""><figcaption><p>AI assistant producing a marketing blurb for Lenovo Ideapad 330.</p></figcaption></figure>


---

# 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.struct.com/tutorials/guides/how-to-use-ai-generated-text/example-of-commands.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.
