# Type Alias DPIConfig

Representation of the 'DPIConfig' schema.

type DPIConfig = {
allowlist?: string[];
entities: DPIEntityConfig[];
mask_file_input_method?: "anonymization" | "skip";
mask_grounding_input?: { enabled?: boolean };
method: "anonymization" | "pseudonymization";
type: "sap_data_privacy_integration";
}

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/dpi-config.d.ts:5

##### Index

### Properties

allowlist?
entities
mask_file_input_method?
mask_grounding_input?
method
type

## Properties

### `Optional` allowlist

allowlist?: string[]

List of strings that should not be masked

#### Example

    [
      "SAP",
      "Joule"
    ]

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/dpi-config.d.ts:26

### entities

entities: DPIEntityConfig[]

List of entities to be masked Min Items: 1.

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/dpi-config.d.ts:18

### `Optional` mask_file_input_method

mask_file_input_method?: "anonymization" | "skip"

Type of masking method to be used for file inputs. Required if file inputs are provided.

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/dpi-config.d.ts:36

### `Optional` mask_grounding_input

mask_grounding_input?: { enabled?: boolean }

#### Type Declaration

- ##### `Optional` enabled?: boolean

  controls whether the input to the grounding module will be masked with the configuration supplied in the masking module

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/dpi-config.d.ts:27

### method

method: "anonymization" | "pseudonymization"

Type of masking method to be used

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/dpi-config.d.ts:13

### type

type: "sap_data_privacy_integration"

Type of masking service provider

Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/dpi-config.d.ts:9