本教程為您提供所有其他元件所需的必備元件和資產 Adobe Experience Platform Data Science Workspace 教程。 完成後,您和IMS組織的成員將可以使用零售銷售模式和資料集 Experience Platform。
在啟動本教程之前,您必須具備以下先決條件:
{ACCESS_TOKEN}
{API_KEY}
{ORG_ID}
{CLIENT_SECRET}
{PRIVATE_KEY}
Retail Sales架構和資料集是使用提供的引導指令碼自動建立的。 按順序執行以下步驟:
在 Experience Platform 教程資源包,導航到目錄 bootstrap
,開啟 config.yaml
使用適當的文本編輯器。
在 Enterprise
,輸入以下值:
Enterprise:
api_key: {API_KEY}
org_id: {ORG_ID}
tech_acct: {technical_account_id}
client_secret: {CLIENT_SECRET}
priv_key_filename: {PRIVATE_KEY}
編輯在 Platform
部分,示例如下:
Platform:
platform_gateway: https://platform.adobe.io
ims_token: {ACCESS_TOKEN}
ingest_data: "True"
build_recipe_artifacts: "False"
kernel_type: Python
platform_gateway
:API調用的基路徑。 不要修改此值。ims_token
:您 {ACCESS_TOKEN}
到這裡。ingest_data
:在本教程中,將此值設定為 "True"
以建立Retail Sales架構和資料集。 值 "False"
將僅建立架構。build_recipe_artifacts
:在本教程中,將此值設定為 "False"
來防止指令碼生成處方對象。kernel_type
:處方對象的執行類型。 將此值保留為 Python
如果 build_recipe_artifacts
設定為 "False"
,否則指定正確的執行類型。在 Titles
部分,為零售銷售示例資料提供相應的以下資訊,在編輯到位後保存並關閉檔案。 下面所示的示例:
Titles:
input_class_title: retail_sales_input_class
input_mixin_title: retail_sales_input_mixin
input_mixin_definition_title: retail_sales_input_mixin_definition
input_schema_title: retail_sales_input_schema
input_dataset_title: retail_sales_input_dataset
file_replace_tenant_id: DSWRetailSalesForXDM0.9.9.9.json
file_with_tenant_id: DSWRetailSales_with_tenant_id.json
is_output_schema_different: "True"
output_mixin_title: retail_sales_output_mixin
output_mixin_definition_title: retail_sales_output_mixin_definition
output_schema_title: retail_sales_output_title
output_dataset_title: retail_sales_output_dataset
開啟您的終端應用程式並導航到 Experience Platform 教程資源目錄。
設定 bootstrap
目錄作為當前工作路徑並運行 bootstrap.py
Python 指令碼:
python bootstrap.py
指令碼可能需要幾分鐘才能完成。
成功完成引導指令碼後,可以在上查看零售銷售的輸入和輸出架構以及資料集 Experience Platform。 查看 預覽架構資料教程
的子菜單。
您還成功地將零售銷售示例資料 Experience Platform 使用提供的引導指令碼。
要繼續處理所攝取的資料: