# Product Metadata

To generate AI-curated metadata for products,

* Go to **Catalog > Products**.
* Create New Product or open any existing product in Edit mode.
* Navigate to the **Search Engine Optimization** option and expand it.
* Click on the **Generate AI Content** button for **Meta Title**, **Meta Keywords**, and **Meta Description**, respectively, and the content will be generated automatically using the OpenAI API.
* At last, click on **Save**.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2Fqv6zyaQ7foD2IV5w9DaT%2Fimage.png?alt=media&#x26;token=b9620c3a-354b-402c-8e76-a03efbc1a17b" alt=""><figcaption></figcaption></figure>

Every time the admin clicks on the Generate AI Content button, it generates a new content variant. Admin can even edit the content if necessary.

**Frontend Display of AI-Generated Product Metadata**

Go to the respective product page in frontend and Right Click > View Page Source or press Ctrl+U.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FGSp7p8g0MGIjSGRQHKep%2Fimage.png?alt=media&#x26;token=500dc05b-548e-4f9e-a411-51430a2e2def" alt=""><figcaption></figcaption></figure>

The AI-generated Meta Title, Meta Keywords, and Meta Description have been added to the product, which will help to increase the page visibility on search engines.

You can also check the meta title by mouse hovering on the product page tab in your browser.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FRkq2wgF0o6GlJSae0Aco%2Fimage.png?alt=media&#x26;token=e8a87c23-1d11-4ae0-b9bb-f275f1152910" alt=""><figcaption></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.magecomp.com/chatgpt-ai-pro-for-magento-2/product-metadata.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.
