> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/chatgpt-ai-pro-for-magento-2/product-metadata.md).

# 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="/files/9oFPEcjmC7V2Gwx01IVj" 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="/files/vDcb12allKH66YsM7txX" 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="/files/qNHoMYumKQqQADNbm59b" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.magecomp.com/chatgpt-ai-pro-for-magento-2/product-metadata.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
