PersonallyIdentifiableInformationResult

class oci.generative_ai_inference.models.PersonallyIdentifiableInformationResult(**kwargs)

Bases: object

An item of personally identifiable information.

Methods

__init__(**kwargs) Initializes a new PersonallyIdentifiableInformationResult object with values from keyword arguments.

Attributes

label [Required] Gets the label of this PersonallyIdentifiableInformationResult.
length [Required] Gets the length of this PersonallyIdentifiableInformationResult.
offset [Required] Gets the offset of this PersonallyIdentifiableInformationResult.
score [Required] Gets the score of this PersonallyIdentifiableInformationResult.
text [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.
label

[Required] Gets the label of this PersonallyIdentifiableInformationResult. The label of the personally identifiable information.

Returns:The label of this PersonallyIdentifiableInformationResult.
Return type:str
length

[Required] Gets the length of this PersonallyIdentifiableInformationResult. The length of the personally identifiable information.

Returns:The length of this PersonallyIdentifiableInformationResult.
Return type:int
offset

[Required] Gets the offset of this PersonallyIdentifiableInformationResult. The offset of the personally identifiable information.

Returns:The offset of this PersonallyIdentifiableInformationResult.
Return type:int
score

[Required] Gets the score of this PersonallyIdentifiableInformationResult. The score of the personally identifiable information.

Returns:The score of this PersonallyIdentifiableInformationResult.
Return type:float
text

[Required] Gets the text of this PersonallyIdentifiableInformationResult. The text of the personally identifiable information.

Returns:The text of this PersonallyIdentifiableInformationResult.
Return type:str