Class CustomFormModel
java.lang.Object
com.azure.ai.formrecognizer.training.models.CustomFormModel
The CustomFormModel
-
Constructor Summary
ConstructorDescriptionCustomFormModel
(String modelId, CustomFormModelStatus modelStatus, OffsetDateTime trainingStartedOn, OffsetDateTime trainingCompletedOn, List<CustomFormSubmodel> submodels, List<FormRecognizerError> modelError, List<TrainingDocumentInfo> trainingDocuments) Constructs a CustomFormModel object. -
Method Summary
Modifier and TypeMethodDescriptionGet model metadata properties.Get the errors returned during the training operation.Get the Model identifier.Get the user defined model display name.Get the status of the model.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.Get the Date and time (UTC) when the model training was completed.Get the list of the documents used to train the model and any errors reported in each document.Get the Date and time (UTC) when the training of the model was started.
-
Constructor Details
-
CustomFormModel
public CustomFormModel(String modelId, CustomFormModelStatus modelStatus, OffsetDateTime trainingStartedOn, OffsetDateTime trainingCompletedOn, List<CustomFormSubmodel> submodels, List<FormRecognizerError> modelError, List<TrainingDocumentInfo> trainingDocuments) Constructs a CustomFormModel object.- Parameters:
modelId
- Model identifier.modelStatus
- Status of the model.trainingStartedOn
- Date and time (UTC) when the training of model was started.trainingCompletedOn
- Date and time (UTC) when the model training was completed.submodels
- List of sub model that are part of this model, each of which can recognize and extract fields from a different type of form.modelError
- List of errors returned during the training operation.trainingDocuments
- List of the documents used to train the model.
-
-
Method Details
-
getModelId
Get the Model identifier.- Returns:
- the
modelId
value.
-
getModelStatus
Get the status of the model.- Returns:
- the
modelStatus
value.
-
getTrainingStartedOn
Get the Date and time (UTC) when the training of the model was started.- Returns:
- the
trainingStartedOn
value.
-
getTrainingCompletedOn
Get the Date and time (UTC) when the model training was completed.- Returns:
- the
trainingCompletedOn
value.
-
getModelError
Get the errors returned during the training operation.- Returns:
- the unmodifiable list of model errors returned during the training operation.
-
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.- Returns:
- the unmodifiable list of submodels that are a part of this model.
-
getTrainingDocuments
Get the list of the documents used to train the model and any errors reported in each document.- Returns:
- the unmodifiable list of documents used to train the model.
-
getCustomModelProperties
Get model metadata properties.- Returns:
- the custom model metadata properties.
-
getModelName
Get the user defined model display name.- Returns:
- the modelName value.
-