本教學課程提供所有其他教學課程的必要條件和 Adobe Experience Platform 資 Data Science Workspace 產。 完成後,您和您的IMS組織成員將可使用零售銷售架構和資料集 Experience Platform。
開始本教學課程之前,您必須具備下列必要條件:
{ACCESS_TOKEN}
{API_KEY}
{IMS_ORG}
{CLIENT_SECRET}
{PRIVATE_KEY}
零售銷售方案和資料集是使用提供的引導指令碼自動建立的。 請依下列步驟進行:
在教學課 Experience Platform 程資源套件中,導覽至目錄 bootstrap
,然後使用 config.yaml
適當的文字編輯器開啟。
在區段 Enterprise
下輸入下列值:
Enterprise:
api_key: {API_KEY}
org_id: {IMS_ORG}
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"
便建立零售銷售方案和資料集。 值將僅 "False"
建立結構。build_recipe_artifacts
:在本教學課程中,請將此值設 "False"
定為防止指令碼產生Recipe對象。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 銷售示例資料導入。
要繼續使用收錄的資料: