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