CustomFormModel Class
- java.
lang. Object - com.
azure. ai. formrecognizer. training. models. CustomFormModel
- com.
public final class CustomFormModel
The CustomFormModel
Constructor Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
Custom |
getCustomModelProperties()
Get model metadata properties. |
List<Form |
getModelError()
Get the errors returned during the training operation. |
String |
getModelId()
Get the Model identifier. |
String |
getModelName()
Get the user defined model display name. |
Custom |
getModelStatus()
Get the status of the model. |
List<Custom |
getSubmodels()
Get the list of sub model that are part of this model, each of which can recognize and extract fields from a different type of form. |
Offset |
getTrainingCompletedOn()
Get the Date and time (UTC) when the model training was completed. |
List<Training |
getTrainingDocuments()
Get the list of the documents used to train the model and any errors reported in each document. |
Offset |
getTrainingStartedOn()
Get the Date and time (UTC) when the training of the model was started. |
Methods inherited from java.lang.Object
Constructor Details
CustomFormModel
public CustomFormModel(String modelId, CustomFormModelStatus modelStatus, OffsetDateTime trainingStartedOn, OffsetDateTime trainingCompletedOn, List
Constructs a CustomFormModel object.
Parameters:
Method Details
getCustomModelProperties
public CustomFormModelProperties getCustomModelProperties()
Get model metadata properties.
Returns:
getModelError
public List
Get the errors returned during the training operation.
Returns:
getModelId
public String getModelId()
Get the Model identifier.
Returns:
modelId
value.getModelName
public String getModelName()
Get the user defined model display name.
Returns:
getModelStatus
public CustomFormModelStatus getModelStatus()
Get the status of the model.
Returns:
modelStatus
value.getSubmodels
public List
Get the list of sub model that are part of this model, each of which can recognize and extract fields from a different type of form.
Returns:
getTrainingCompletedOn
public OffsetDateTime getTrainingCompletedOn()
Get the Date and time (UTC) when the model training was completed.
Returns:
trainingCompletedOn
value.getTrainingDocuments
public List
Get the list of the documents used to train the model and any errors reported in each document.
Returns:
getTrainingStartedOn
public OffsetDateTime getTrainingStartedOn()
Get the Date and time (UTC) when the training of the model was started.
Returns:
trainingStartedOn
value.Applies to
Azure SDK for Java