PersonallyIdentifiableInformationResult¶
- class oci.generative_ai_inference.models.PersonallyIdentifiableInformationResult(**kwargs)¶
Bases:
objectAn item of personally identifiable information.
Methods:
__init__(**kwargs)Initializes a new PersonallyIdentifiableInformationResult object with values from keyword arguments.
Attributes:
[Required] Gets the label of this PersonallyIdentifiableInformationResult.
[Required] Gets the length of this PersonallyIdentifiableInformationResult.
[Required] Gets the offset of this PersonallyIdentifiableInformationResult.
[Required] Gets the score of this PersonallyIdentifiableInformationResult.
[Required] Gets the text of this PersonallyIdentifiableInformationResult.
- __init__(**kwargs)¶
Initializes a new PersonallyIdentifiableInformationResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
length (int) – The value to assign to the length property of this PersonallyIdentifiableInformationResult.
offset (int) – The value to assign to the offset property of this PersonallyIdentifiableInformationResult.
text (str) – The value to assign to the text property of this PersonallyIdentifiableInformationResult.
label (str) – The value to assign to the label property of this PersonallyIdentifiableInformationResult.
score (float) – The value to assign to the score property of this PersonallyIdentifiableInformationResult.
- property label¶
[Required] Gets the label of this PersonallyIdentifiableInformationResult. The label of the personally identifiable information.
- Returns
The label of this PersonallyIdentifiableInformationResult.
- Return type
str
- property length¶
[Required] Gets the length of this PersonallyIdentifiableInformationResult. The length of the personally identifiable information.
- Returns
The length of this PersonallyIdentifiableInformationResult.
- Return type
int
- property offset¶
[Required] Gets the offset of this PersonallyIdentifiableInformationResult. The offset of the personally identifiable information.
- Returns
The offset of this PersonallyIdentifiableInformationResult.
- Return type
int
- property score¶
[Required] Gets the score of this PersonallyIdentifiableInformationResult. The score of the personally identifiable information.
- Returns
The score of this PersonallyIdentifiableInformationResult.
- Return type
float
- property text¶
[Required] Gets the text of this PersonallyIdentifiableInformationResult. The text of the personally identifiable information.
- Returns
The text of this PersonallyIdentifiableInformationResult.
- Return type
str