View a markdown version of this page

設定敏感資料設定 - Amazon Bedrock

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

設定敏感資料設定

您可以在 Amazon Bedrock Data Automation (BDA) 專案中設定敏感資料設定。如需建立專案的詳細資訊,請參閱 Bedrock Data Automation 專案

在 中指定專案的敏感資料設定overrideConfiguration,為每種模式提供自訂設定。下列範例會啟用音訊和文件模態的 PII、在沒有 PII 偵測的情況下啟用視訊處理,以及完全停用影像處理。將值取代為您自己的組態。

"overrideConfiguration": { "audio": { "sensitiveDataConfiguration": { "detectionMode": "DETECTION_AND_REDACTION", "detectionScope": ["STANDARD", "CUSTOM"], "piiEntitiesConfiguration": { "piiEntityTypes": ["ALL"], "redactionMaskMode": "ENTITY_TYPE" } } }, "video": { "modalityProcessing": { "state": "ENABLED" } }, "image": { "modalityProcessing": { "state": "DISABLED" } }, "document": { "modalityProcessing": { "state": "ENABLED" }, "sensitiveDataConfiguration": { "detectionMode": "DETECTION", "detectionScope": ["STANDARD"], "piiEntitiesConfiguration": { "piiEntityTypes": ["NAME", "ADDRESS", "EMAIL"] } } } }