Documents
UiPath Documents Models.
This module contains models related to UiPath Document Understanding service.
ActionPriority ¶
Bases: str, Enum
Priority levels for validation actions. More details can be found in the official documentation.
ClassificationResponse ¶
Bases: BaseModel
A model representing the response from a document classification process.
ClassificationResult ¶
Bases: BaseModel
A model representing the result of a document classification.
Attributes:
| Name | Type | Description |
|---|---|---|
document_id |
str
|
The ID of the classified document. |
document_type_id |
str
|
The ID of the predicted document type. |
confidence |
float
|
The confidence score of the classification. |
ocr_confidence |
float
|
The OCR confidence score of the document. |
reference |
Reference
|
The reference information for the classified document. |
document_bounds |
DocumentBounds
|
The bounds of the document in terms of pages and text. |
classifier_name |
str
|
The name of the classifier used. |
project_id |
str
|
The ID of the project associated with the classification. |
DocumentBounds ¶
Bases: BaseModel
A model representing the bounds of a document in terms of pages and text.
ExtractionResponse ¶
Bases: BaseModel
A model representing the response from a document extraction process.
Attributes:
| Name | Type | Description |
|---|---|---|
extraction_result |
ExtractionResult
|
The result of the extraction process. |
project_id |
str
|
The ID of the project associated with the extraction. |
tag |
str
|
The tag associated with the published model version. |
document_type_id |
str
|
The ID of the document type associated with the extraction. |
ExtractionResponseIXP ¶
Bases: ExtractionResponse
A model representing the response from a document extraction process for IXP projects.
Attributes:
| Name | Type | Description |
|---|---|---|
data_projection |
list[FieldGroupValueProjection]
|
A simplified projection of the extracted data. |
ExtractionResult ¶
Bases: BaseModel
A model representing the result of a document extraction process.
FieldGroupValueProjection ¶
Bases: BaseModel
A model representing a projection of a field group value in a document extraction result.
FieldType ¶
Bases: str, Enum
Field types supported by Document Understanding service.
FieldValueProjection ¶
Bases: BaseModel
A model representing a projection of a field value in a document extraction result.
ProjectType ¶
Bases: str, Enum
Project types available and supported by Documents Service.
Reference ¶
Bases: BaseModel
A model representing a reference within a document.
ValidateClassificationAction ¶
ValidateExtractionAction ¶
ValidationAction ¶
Bases: BaseModel
A model representing a validation action for a document.
Attributes:
| Name | Type | Description |
|---|---|---|
action_data |
dict
|
The data associated with the validation action. |
action_status |
str
|
The status of the validation action. Possible values can be found in the official documentation. |
project_id |
str
|
The ID of the project associated with the validation action. |
tag |
str
|
The tag associated with the published model version. |
operation_id |
str
|
The operation ID associated with the validation action. |