PersonallyIdentifiableInformationGuardrailConfig¶
- class oci.generative_ai_agent.models.PersonallyIdentifiableInformationGuardrailConfig(**kwargs)¶
Bases:
objectThe configuration details for Personally Identifiable Information.
Attributes:
A constant which can be used with the input_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
A constant which can be used with the input_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
A constant which can be used with the input_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
A constant which can be used with the output_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
A constant which can be used with the output_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
A constant which can be used with the output_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
Gets the input_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
Gets the output_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
Methods:
__init__(**kwargs)Initializes a new PersonallyIdentifiableInformationGuardrailConfig object with values from keyword arguments.
- INPUT_GUARDRAIL_MODE_BLOCK = 'BLOCK'¶
A constant which can be used with the input_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig. This constant has a value of “BLOCK”
- INPUT_GUARDRAIL_MODE_DISABLE = 'DISABLE'¶
A constant which can be used with the input_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig. This constant has a value of “DISABLE”
- INPUT_GUARDRAIL_MODE_INFORM = 'INFORM'¶
A constant which can be used with the input_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig. This constant has a value of “INFORM”
- OUTPUT_GUARDRAIL_MODE_BLOCK = 'BLOCK'¶
A constant which can be used with the output_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig. This constant has a value of “BLOCK”
- OUTPUT_GUARDRAIL_MODE_DISABLE = 'DISABLE'¶
A constant which can be used with the output_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig. This constant has a value of “DISABLE”
- OUTPUT_GUARDRAIL_MODE_INFORM = 'INFORM'¶
A constant which can be used with the output_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig. This constant has a value of “INFORM”
- __init__(**kwargs)¶
Initializes a new PersonallyIdentifiableInformationGuardrailConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
input_guardrail_mode (str) – The value to assign to the input_guardrail_mode property of this PersonallyIdentifiableInformationGuardrailConfig. Allowed values for this property are: “DISABLE”, “BLOCK”, “INFORM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
output_guardrail_mode (str) – The value to assign to the output_guardrail_mode property of this PersonallyIdentifiableInformationGuardrailConfig. Allowed values for this property are: “DISABLE”, “BLOCK”, “INFORM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property input_guardrail_mode¶
Gets the input_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig. An input guardrail mode for personally identifiable information.
Allowed values for this property are: “DISABLE”, “BLOCK”, “INFORM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The input_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
- Return type
str
- property output_guardrail_mode¶
Gets the output_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig. An output guardrail mode for personally identifiable information.
Allowed values for this property are: “DISABLE”, “BLOCK”, “INFORM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The output_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
- Return type
str