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_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.
  • 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_type

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

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