-
- All Implemented Interfaces:
public final class ModelBuildA NLP model build.
-
-
Field Summary
Fields Modifier and Type Field Description private final Id<ApplicationDefinition>applicationIdprivate final Localelanguageprivate final ModelBuildTypetypeprivate final Id<IntentDefinition>intentIdprivate final StringentityTypeNameprivate final IntegernbSentencesprivate final Durationdurationprivate final Booleanerrorprivate final StringerrorMessageprivate final Instantdate
-
Constructor Summary
Constructors Constructor Description ModelBuild(Id<ApplicationDefinition> applicationId, Locale language, ModelBuildType type, Id<IntentDefinition> intentId, String entityTypeName, Integer nbSentences, Duration duration, Boolean error, String errorMessage, Instant date)
-
Method Summary
Modifier and Type Method Description final Id<ApplicationDefinition>getApplicationId()The application id of the model. final LocalegetLanguage()The language of the model. final ModelBuildTypegetType()Type of build. final Id<IntentDefinition>getIntentId()The optional intent id. final StringgetEntityTypeName()The optional entity type name. final IntegergetNbSentences()Number of sentences included in the model. final DurationgetDuration()Duration of the build. final BooleangetError()Is there an error during the build? final StringgetErrorMessage()Error message if there is an error. final InstantgetDate()Date of the build. -
-
Constructor Detail
-
ModelBuild
ModelBuild(Id<ApplicationDefinition> applicationId, Locale language, ModelBuildType type, Id<IntentDefinition> intentId, String entityTypeName, Integer nbSentences, Duration duration, Boolean error, String errorMessage, Instant date)
-
-
Method Detail
-
getApplicationId
final Id<ApplicationDefinition> getApplicationId()
The application id of the model.
-
getLanguage
final Locale getLanguage()
The language of the model.
-
getType
final ModelBuildType getType()
Type of build.
-
getIntentId
final Id<IntentDefinition> getIntentId()
The optional intent id.
-
getEntityTypeName
final String getEntityTypeName()
The optional entity type name.
-
getNbSentences
final Integer getNbSentences()
Number of sentences included in the model.
-
getDuration
final Duration getDuration()
Duration of the build.
-
getErrorMessage
final String getErrorMessage()
Error message if there is an error.
-
-
-
-