

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# 機密データの検出と秘匿化のサンプル出力

次の例は、標準出力の機密データの検出と秘匿化の抜粋を示しています。完全なレスポンス形式については、 API [InvokeDataAutomationAsync](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_InvokeDataAutomationAsync.html)」を参照してください。

## ドキュメント
<a name="bda-sensitive-data-sample-document"></a>

次の例は、ドキュメントの編集済み標準出力を示しています。

```
{
    "id": "5e9cc636-73be-4264-9284-e178da9d094a",
    "text": "- Full Name: [PII]",
    "confidence": 0.0099853515625,
    "reading_order": 2,
    "page_index": 0,
    "locations": [
        {
            "page_index": 0,
            "bounding_box": {
                "left": 0.08195127630357191,
                "top": 0.11714535522460938,
                "width": 0.28159839146295634,
                "height": 0.012292622884114576
            }
        }
    ]
},
{
    "id": "b84ee8f7-6081-45ff-a5a6-da61db7928a5",
    "text": "- Social Security Number: [PII]",
    "confidence": 0.0099853515625,
    "reading_order": 3,
    "page_index": 0,
    "locations": [
        {
            "page_index": 0,
            "bounding_box": {
                "left": 0.08195658199122695,
                "top": 0.13631119791666665,
                "width": 0.33843516892045605,
                "height": 0.015145751953125008
            }
        }
    ]
},
```

## 音声
<a name="bda-sensitive-data-sample-audio"></a>

次の例は、検出されたエンティティが識別された、秘匿化前の標準出力を示しています。

```
"audio_segments": [{
    "start_timestamp_millis": 133190,
    "end_timestamp_millis": 136410,
    "segment_index": 7,
    "type": "TRANSCRIPT",
    "text": "Hi, my name is Mary Major.",
    "audio_item_indices": [389, 390, 391, 392, 393, 394, 395, 396],
    "language": "EN",
    "sensitive_data_detection": [{
        "index": 0,
        "entity_type": "NAME",
        "content": "Mary Major",
        "audio_item_indices": [394, 395],
        "start_timestamp_millis": 135540,
        "end_timestamp_millis": 136380,
        "start_character_offset": 15,
        "end_character_offset": 25
    }]
}]
```

次の例は、編集後の同じ標準出力を示しています。

```
"audio_segments": [{
    "start_timestamp_millis": 133190,
    "end_timestamp_millis": 136410,
    "segment_index": 7,
    "type": "TRANSCRIPT",
    "text": "Hi, my name is [NAME].",
    "audio_item_indices": [389, 390, 391, 392, 393, 394, 395, 396],
    "language": "EN",
    "sensitive_data_detection": [{
        "index": 0,
        "entity_type": "NAME",
        "content": "[NAME]",
        "audio_item_indices": [394, 395],
        "start_timestamp_millis": 135540,
        "end_timestamp_millis": 136380,
        "start_character_offset": 15,
        "end_character_offset": 21
    }]
}]
```

## 画像
<a name="bda-sensitive-data-sample-image"></a>

次の例は、イメージの編集済み標準出力を示しています。

```
"image": {
    "summary": "This image shows an illustration of two individuals engaged in a conversation. [NAME], wearing an orange shirt, is gesturing with her hand while speaking. [NAME], dressed in a blue shirt, is listening to her.",
    "sensitive_data_detection": {
        "image": {
            "summary": [{
                "id": 0,
                "sensitive_data_type": "PII",
                "entity_type": "NAME",
                "content": "[NAME]",
                "start_character_offset": 79,
                "end_character_offset": 85
            }, {
                "id": 1,
                "sensitive_data_type": "PII",
                "entity_type": "NAME",
                "content": "[NAME]",
                "start_character_offset": 155,
                "end_character_offset": 161
            }],
            "text_words": [],
            "text_lines": []
        }
    }
}
```

次の例は、カスタム出力の機密データの検出と秘匿化を示しています。

## カスタム出力
<a name="bda-sensitive-data-sample-custom"></a>

次の例は、検出されたエンティティが識別された、秘匿化前のカスタム出力を示しています。

```
"blueprint_sensitive_data_detection": {
    "call_summary": {
        "value": "This is a podcast episode featuring Mary Major and John Stiles discussing various topics including Turkish soap operas, childhood lies, and John's career. No specific caller-agent interaction is present.",
        "sensitive_data_detection": [{
            "index": 0,
            "entity_type": "NAME",
            "content": "Mary Major",
            "start_character_offset": 36,
            "end_character_offset": 46
        }, {
            "index": 1,
            "entity_type": "NAME",
            "content": "John Stiles",
            "start_character_offset": 51,
            "end_character_offset": 62
        }, {
            "index": 2,
            "entity_type": "NAME",
            "content": "John",
            "start_character_offset": 140,
            "end_character_offset": 144
        }]
    }
}
```

次の例は、編集後の同じカスタム出力を示しています。

```
"blueprint_sensitive_data_detection": {
    "call_summary": {
        "value": "This is a podcast episode featuring [NAME] and [NAME] discussing various topics including Turkish soap operas, childhood lies, and [NAME]'s career. No specific caller-agent interaction is present.",
        "sensitive_data_detection": [{
            "index": 0,
            "entity_type": "NAME",
            "content": "[NAME]",
            "start_character_offset": 36,
            "end_character_offset": 42
        }, {
            "index": 1,
            "entity_type": "NAME",
            "content": "[NAME]",
            "start_character_offset": 47,
            "end_character_offset": 53
        }, {
            "index": 2,
            "entity_type": "NAME",
            "content": "[NAME]",
            "start_character_offset": 131,
            "end_character_offset": 137
        }]
    }
}
```