public class ClassificationReport
public ClassificationReport(@Nullable
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> intentId,
@NotNull
java.util.List<ai.tock.nlp.admin.model.ClassifiedEntityReport> entities,
@NotNull
java.util.List<ai.tock.nlp.admin.model.ClassifiedEntityReport> notRetainedEntities,
@Nullable
java.lang.Double intentProbability,
@Nullable
java.lang.Double entitiesProbability,
@NotNull
java.util.Map<java.lang.String,java.lang.Double> otherIntentsProbabilities,
@Nullable
java.time.Instant lastUsage,
long usageCount,
long unknownCount)
notRetainedEntities - The entities found but not retained.lastUsage - The last usage date (for a real user) if any.usageCount - The total number of uses of this sentence.unknownCount - The total number of unknown count of this sentence.public ClassificationReport(@NotNull
ai.tock.nlp.front.shared.parser.ParseResult result,
@Nullable
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> intentId)
public ClassificationReport(@NotNull
ai.tock.nlp.front.shared.config.ClassifiedSentence sentence)
public ClassificationReport(@NotNull
ai.tock.nlp.front.shared.test.IntentTestError error)
public ClassificationReport(@NotNull
ai.tock.nlp.front.shared.test.EntityTestError error)
@NotNull public ai.tock.nlp.front.shared.config.Classification toClassification()
@Nullable public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> getIntentId()
@NotNull public java.util.List<ai.tock.nlp.admin.model.ClassifiedEntityReport> getEntities()
@NotNull public java.util.List<ai.tock.nlp.admin.model.ClassifiedEntityReport> getNotRetainedEntities()
The entities found but not retained.
@Nullable public java.lang.Double getIntentProbability()
@Nullable public java.lang.Double getEntitiesProbability()
@NotNull public java.util.Map<java.lang.String,java.lang.Double> getOtherIntentsProbabilities()
@Nullable public java.time.Instant getLastUsage()
The last usage date
(for a real user) if any.
public long getUsageCount()
The total number of uses of this sentence.
public long getUnknownCount()
The total number of unknown count of this sentence.
@Nullable public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> component1()
@NotNull public java.util.List<ai.tock.nlp.admin.model.ClassifiedEntityReport> component2()
@NotNull public java.util.List<ai.tock.nlp.admin.model.ClassifiedEntityReport> component3()
The entities found but not retained.
@Nullable public java.lang.Double component4()
@Nullable public java.lang.Double component5()
@NotNull public java.util.Map<java.lang.String,java.lang.Double> component6()
@Nullable public java.time.Instant component7()
The last usage date
(for a real user) if any.
public long component8()
The total number of uses of this sentence.
public long component9()
The total number of unknown count of this sentence.
@NotNull public ClassificationReport copy(@Nullable org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> intentId, @NotNull java.util.List<ai.tock.nlp.admin.model.ClassifiedEntityReport> entities, @NotNull java.util.List<ai.tock.nlp.admin.model.ClassifiedEntityReport> notRetainedEntities, @Nullable java.lang.Double intentProbability, @Nullable java.lang.Double entitiesProbability, @NotNull java.util.Map<java.lang.String,java.lang.Double> otherIntentsProbabilities, @Nullable java.time.Instant lastUsage, long usageCount, long unknownCount)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)