DetectedDocumentType

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

Bases: object

The detected document type.

Methods

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

Attributes

confidence [Required] Gets the confidence of this DetectedDocumentType.
document_id Gets the document_id of this DetectedDocumentType.
document_type [Required] Gets the document_type of this DetectedDocumentType.
__init__(**kwargs)

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

Parameters:
  • document_type (str) – The value to assign to the document_type property of this DetectedDocumentType.
  • document_id (str) – The value to assign to the document_id property of this DetectedDocumentType.
  • confidence (float) – The value to assign to the confidence property of this DetectedDocumentType.
confidence

[Required] Gets the confidence of this DetectedDocumentType. The confidence score between 0 and 1.

Returns:The confidence of this DetectedDocumentType.
Return type:float
document_id

Gets the document_id of this DetectedDocumentType. The OCID of the Key-Value Extraction model that was used to extract the key-value pairs.

Returns:The document_id of this DetectedDocumentType.
Return type:str
document_type

[Required] Gets the document_type of this DetectedDocumentType. The document type.

Returns:The document_type of this DetectedDocumentType.
Return type:str