1.6.3使用ChatGPT和MCP伺服器縮放內容片段

IMPORTANT
若要完成此練習,您需要具有對使用中AEM Sites和Assets CS搭配EDS環境的存取權,並且需要為您使用的IMS組織啟用各種AEM代理程式。
如果您還沒有這樣的環境,請前往練習Adobe Experience Manager Cloud Service和Edge Delivery Services。 按照這裡的指示操作,您將可以存取這樣的環境。
IMPORTANT
如果您先前已使用AEM Sites和AEM CS環境設定Assets CS計畫,可能是您的AEM CS沙箱已休眠。 鑑於讓這樣的沙箱解除休眠需要10-15分鐘,最好現在開始解除休眠過程,這樣以後就不必等待了。

1.6.3.1建立內容片段模型

返回您的Adobe Experience Manager作者環境,前往​工具,然後前往​設定瀏覽器

AEM代理程式

按一下​建立

AEM代理程式

Content Fragments用於欄位​ 標題 ​和​名稱

請確定選項​ 內容片段模型 ​和​ GraphQL持續查詢 ​皆已啟用。

按一下​建立

AEM代理程式

返回您的Adobe Experience Manager作者環境,然後前往​內容片段

AEM代理程式

移至​內容片段模型,選取您的設定​內容片段,然後按一下​建立

AEM代理程式

使用名稱--aepUserLdap-- - CitiSignal CFM。 按一下​建立並開啟

AEM代理程式

您應該會看到此訊息。 將​ 單行文字 ​欄位拖放到畫布上。

AEM代理程式

將欄位​ 欄位標籤 ​變更為Header

AEM代理程式

返回​資料型別。 將​ 單行文字 ​欄位拖放到畫布上。

AEM代理程式

將欄位​ 欄位標籤 ​變更為Subheader

AEM代理程式

返回​資料型別。 將​ 多行文字 ​欄位拖放到畫布上。

AEM代理程式

將欄位​ 欄位標籤 ​變更為Detail Description

AEM代理程式

返回​資料型別。 將​ 單行文字 ​欄位拖放到畫布上。

AEM代理程式

將欄位​ 欄位標籤 ​變更為CTA Text

AEM代理程式

返回​資料型別。 將​ 單行文字 ​欄位拖放到畫布上。

AEM代理程式

將欄位​ 欄位標籤 ​變更為CTA Link。 按一下​儲存

AEM代理程式

您應該會看到此訊息。

AEM代理程式

選取您的內容片段模式,然後按一下​發佈

AEM代理程式

按一下​發佈

AEM代理程式

1.6.3.2建立內容片段

返回您的Adobe Experience Manager作者環境,然後前往​內容片段

AEM代理程式

您應該會看到此訊息。 按一下​建立,然後選取​資料夾

AEM代理程式

輸入標題: --aepUserLdap-- - CF。 按一下​建立

AEM代理程式

返回您的Adobe Experience Manager作者環境,然後前往​Assets

AEM代理程式

移至​檔案

AEM代理程式

選取您剛建立的資料夾(應該命名為--aepUserLdap-- - CF),然後按一下​內容

AEM代理程式

移至​雲端服務,然後按一下​ 資料夾 ​圖示。

AEM代理程式

選取您之前建立的雲端設定,應命名為​內容片段。 按一下​選取

AEM代理程式

然後您應該會看到此訊息。 按一下「儲存並關閉」。

AEM代理程式

返回您的Adobe Experience Manager作者環境,然後前往​內容片段

AEM代理程式

您應該會看到此訊息。 按一下​建立,然後選取​內容片段

AEM代理程式

選取您之前建立的​內容片段模式,其名稱應該是--aepUserLdap-- - CitiSignal CFM。 使用名稱--aepUserLdap-- CitiSignal Fiber Max

按一下​建立並開啟

AEM代理程式

您應該會看到此訊息。

AEM代理程式

填寫欄位,如下所示:

  • 標頭CitiSignal Fiber Max
  • 子標題Experience high speed internet now
  • 詳細描述
Experience the future of connectivity with CitiSignal Fiber Max, the ultimate solution for high-speed internet. Designed for homes and businesses that demand performance, Fiber Max delivers blazing-fast fiber speeds, ensuring seamless streaming, ultra-responsive gaming, and crystal-clear video calls.

Key Features:

Unmatched Speed: Enjoy lightning-fast downloads and uploads powered by cutting-edge fiber technology.
Reliable Performance: Consistent connectivity for work, entertainment, and everything in between.
Future-Ready: Built to handle the growing demands of smart homes and digital lifestyles.
Unlimited Potential: No data caps, no throttling—just pure speed.
Why Choose CitiSignal Fiber Max? Stay ahead with internet that works as hard as you do. Whether you’re powering a remote office or streaming in 4K, Fiber Max ensures you never miss a beat.

CTA文字Upgrade now by signing your new contract!
CTA連結https://techinsiders68.adobedemosystem.com/

按一下​發佈,然後選取​立即

AEM代理程式

按一下​發佈

AEM代理程式

1.6.3.3在ChatGPT中設定MCP伺服器

NOTE
在ChatGPT中使用Adobe Marketing Agent需要下列專案:
  • OpenAI的ChatGPT Enterprise付費版本
  • 使用ChatGPT Enterprise Web使用者端

移至https://chatgpt.com/並使用您的帳戶詳細資料登入。 登入後,您應該會看到此訊息。 按一下您的使用者名稱,然後選取​設定

ChatGPT

移至​應用程式,然後選取​進階設定

ChatGPT

開啟​開發人員模式,然後按一下​上一步

ChatGPT

按一下​建立應用程式

ChatGPT

填寫欄位,如下所示:

  • 名稱aem
  • MCP伺服器URLhttps://mcp.adobeaemcloud.com/adobe/mcp/content
  • 驗證OAuth

勾選​ 我瞭解並想要繼續 ​的核取方塊。

按一下​建立

ChatGPT

ChatGPT現在將嘗試連線至您的Adobe帳戶。 選取​允許存取,然後您必須使用您的Adobe帳戶登入。

成功登入後,您應該會看到Adobe Marketing Agent現在已成功連線。

ChatGPT

1.6.3.4在ChatGPT中使用AEM MCP伺服器

關閉此視窗。

Agent Orchestrator

您應該會看到此訊息。 按一下​ + ​圖示,移至​更多,然後選取​aem

Agent Orchestrator

輸入以下提示並按一下​傳送

I just created a new custom mcp server named 'aem'. what can I do with that?

Agent Orchestrator

您應該會看到類似這樣的內容。 輸入以下提示並按一下​傳送

use the author url https://author-pXXXXXX-eXXXXXXX.adobeaemcloud.com/ from now on

Agent Orchestrator

您應該會看到類似這樣的內容。 輸入以下提示並按一下​傳送

find the content fragment --aepUserLdap-- - CitiSignal Fiber Max and make a variation called --aepUserLdap-- - CitiSignal Fiber Max (FR), then translate all fields into french

Agent Orchestrator

按一下​CreateFragmentVariation

Agent Orchestrator

按一下​UpdateFragment

Agent Orchestrator

您應該會看到此訊息。 已成功建立您的片段變數。

Agent Orchestrator

您現在也可以在AEM UI中看到新的變數。

Agent Orchestrator

接下來,使用ChatGPT將您的內容片段翻譯成更多變化。 輸入以下提示並按一下​傳送

now do the same thing for the 5 top country's languages that CitiSignal does business with

Agent Orchestrator

確認您的語言選擇。

Agent Orchestrator

按一下​CreateFragmentVariation

Agent Orchestrator

按一下​UpdateFragment

Agent Orchestrator

為您選取的每種語言重複此程式。 完成後,您應該會看到類似這樣的內容。

Agent Orchestrator

返回AEM UI並重新整理畫面。 您現在可以在內容片段中看到新的變數。

Agent Orchestrator

後續步驟

返回AEM與代理程式

返回所有模組

recommendation-more-help
4bbf020c-24db-4a43-b239-88fab142f02d