public class ModelBuild
A NLP model build.
public ModelBuild(@NotNull
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId,
@NotNull
java.util.Locale language,
@NotNull
ModelBuildType type,
@Nullable
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> intentId,
@Nullable
java.lang.String entityTypeName,
int nbSentences,
@NotNull
java.time.Duration duration,
boolean error,
@Nullable
java.lang.String errorMessage,
@NotNull
java.time.Instant date)
A NLP model build.
applicationId - The application id of the model.language - The language of the model.type - Type of build.intentId - The optional intent id.entityTypeName - The optional entity type name.nbSentences - Number of sentences included in the model.duration - Duration of the build.error - Is there an error during the build?errorMessage - Error message if there is an error.date - Date of the build.@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> getApplicationId()
The application id of the model.
@NotNull public java.util.Locale getLanguage()
The language of the model.
@NotNull public ModelBuildType getType()
Type of build.
@Nullable public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> getIntentId()
The optional intent id.
@Nullable public java.lang.String getEntityTypeName()
The optional entity type name.
public int getNbSentences()
Number of sentences included in the model.
@NotNull public java.time.Duration getDuration()
Duration of the build.
public boolean getError()
Is there an error during the build?
@Nullable public java.lang.String getErrorMessage()
Error message if there is an error.
@NotNull public java.time.Instant getDate()
Date of the build.
@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> component1()
The application id of the model.
@NotNull public java.util.Locale component2()
The language of the model.
@NotNull public ModelBuildType component3()
Type of build.
@Nullable public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> component4()
The optional intent id.
@Nullable public java.lang.String component5()
The optional entity type name.
public int component6()
Number of sentences included in the model.
@NotNull public java.time.Duration component7()
Duration of the build.
public boolean component8()
Is there an error during the build?
@Nullable public java.lang.String component9()
Error message if there is an error.
@NotNull public java.time.Instant component10()
Date of the build.
@NotNull public ModelBuild copy(@NotNull org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId, @NotNull java.util.Locale language, @NotNull ModelBuildType type, @Nullable org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> intentId, @Nullable java.lang.String entityTypeName, int nbSentences, @NotNull java.time.Duration duration, boolean error, @Nullable java.lang.String errorMessage, @NotNull java.time.Instant date)
A NLP model build.
@NotNull public java.lang.String toString()
A NLP model build.
public int hashCode()
A NLP model build.
public boolean equals(@Nullable
java.lang.Object p)
A NLP model build.