FieldLabel

class oci.ai_document.models.FieldLabel(**kwargs)

Bases: object

The label in a field.

Methods

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

Attributes

confidence Gets the confidence of this FieldLabel.
name [Required] Gets the name of this FieldLabel.
__init__(**kwargs)

Initializes a new FieldLabel object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this FieldLabel.
  • confidence (float) – The value to assign to the confidence property of this FieldLabel.
confidence

Gets the confidence of this FieldLabel. The confidence score between 0 and 1.

Returns:The confidence of this FieldLabel.
Return type:float
name

[Required] Gets the name of this FieldLabel. The name of the field label.

Returns:The name of this FieldLabel.
Return type:str