public class ApplicationDefinition
An NLP application definition.
| Constructor and Description |
|---|
ApplicationDefinition(java.lang.String name,
java.lang.String namespace,
java.util.Set<? extends org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition>> intents,
java.util.Set<java.util.Locale> supportedLocales,
java.util.Map<org.litote.kmongo.Id,? extends java.util.Set<java.lang.String>> intentStatesMap,
ai.tock.nlp.core.NlpEngineType nlpEngineType,
boolean mergeEngineTypes,
boolean useEntityModels,
boolean supportSubEntities,
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> _id)
An NLP application definition.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The name of the app.
|
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> |
component10()
The id of the app.
|
java.lang.String |
component2()
The namespace of the app.
|
java.util.Set<org.litote.kmongo.Id> |
component3()
The intents id of the app.
|
java.util.Set<java.util.Locale> |
component4()
The locales supported by the app.
|
java.util.Map<org.litote.kmongo.Id,java.util.Set> |
component5()
The states defined for each intent.
|
ai.tock.nlp.core.NlpEngineType |
component6()
The current nlp engine used to build the model.
|
boolean |
component7()
Is intent entity model and
|
boolean |
component8()
Is
|
boolean |
component9()
Does this app support sub entities?
|
ApplicationDefinition |
copy(java.lang.String name,
java.lang.String namespace,
java.util.Set<? extends org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition>> intents,
java.util.Set<java.util.Locale> supportedLocales,
java.util.Map<org.litote.kmongo.Id,? extends java.util.Set<java.lang.String>> intentStatesMap,
ai.tock.nlp.core.NlpEngineType nlpEngineType,
boolean mergeEngineTypes,
boolean useEntityModels,
boolean supportSubEntities,
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> _id)
An NLP application definition.
|
boolean |
equals(java.lang.Object p) |
java.util.Map<org.litote.kmongo.Id,java.util.Set> |
getIntentStatesMap()
The states defined for each intent.
|
java.util.Set<org.litote.kmongo.Id> |
getIntents()
The intents id of the app.
|
boolean |
getMergeEngineTypes()
Is intent entity model and
|
java.lang.String |
getName()
The name of the app.
|
java.lang.String |
getNamespace()
The namespace of the app.
|
ai.tock.nlp.core.NlpEngineType |
getNlpEngineType()
The current nlp engine used to build the model.
|
java.lang.String |
getQualifiedName()
A qualified name (ie "namespace:name") of the app.
|
boolean |
getSupportSubEntities()
Does this app support sub entities?
|
java.util.Set<java.util.Locale> |
getSupportedLocales()
The locales supported by the app.
|
boolean |
getUseEntityModels()
Is
|
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> |
get_id()
The id of the app.
|
int |
hashCode() |
java.lang.String |
toString() |
public ApplicationDefinition(@NotNull
java.lang.String name,
@NotNull
java.lang.String namespace,
@NotNull
java.util.Set<? extends org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition>> intents,
@NotNull
java.util.Set<java.util.Locale> supportedLocales,
@NotNull
java.util.Map<org.litote.kmongo.Id,? extends java.util.Set<java.lang.String>> intentStatesMap,
@NotNull
ai.tock.nlp.core.NlpEngineType nlpEngineType,
boolean mergeEngineTypes,
boolean useEntityModels,
boolean supportSubEntities,
@NotNull
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> _id)
An NLP application definition.
name - The name of the app.namespace - The namespace of the app.intents - The intents id of the app.supportedLocales - The locales supported by the app.intentStatesMap - The states defined for each intent.nlpEngineType - The current nlp engine used to build the model.mergeEngineTypes - Is intent entity model and "standalone" entity models are used to find the better values?useEntityModels - Is "standalone" entity models used? Useful for entity disambiguation.supportSubEntities - Does this app support sub entities?_id - The id of the app.@NotNull public java.lang.String getQualifiedName()
A qualified name (ie "namespace:name") of the app.
@NotNull public java.lang.String getName()
The name of the app.
@NotNull public java.lang.String getNamespace()
The namespace of the app.
@NotNull public java.util.Set<org.litote.kmongo.Id> getIntents()
The intents id of the app.
@NotNull public java.util.Set<java.util.Locale> getSupportedLocales()
The locales supported by the app.
@NotNull public java.util.Map<org.litote.kmongo.Id,java.util.Set> getIntentStatesMap()
The states defined for each intent.
@NotNull public ai.tock.nlp.core.NlpEngineType getNlpEngineType()
The current nlp engine used to build the model.
public boolean getMergeEngineTypes()
Is intent entity model and
"standalone" entity models are used to find the better values?
public boolean getUseEntityModels()
Is
"standalone" entity models used? Useful for entity disambiguation.
public boolean getSupportSubEntities()
Does this app support sub entities?
@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> get_id()
The id of the app.
@NotNull public java.lang.String component1()
The name of the app.
@NotNull public java.lang.String component2()
The namespace of the app.
@NotNull public java.util.Set<org.litote.kmongo.Id> component3()
The intents id of the app.
@NotNull public java.util.Set<java.util.Locale> component4()
The locales supported by the app.
@NotNull public java.util.Map<org.litote.kmongo.Id,java.util.Set> component5()
The states defined for each intent.
@NotNull public ai.tock.nlp.core.NlpEngineType component6()
The current nlp engine used to build the model.
public boolean component7()
Is intent entity model and
"standalone" entity models are used to find the better values?
public boolean component8()
Is
"standalone" entity models used? Useful for entity disambiguation.
public boolean component9()
Does this app support sub entities?
@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> component10()
The id of the app.
@NotNull public ApplicationDefinition copy(@NotNull java.lang.String name, @NotNull java.lang.String namespace, @NotNull java.util.Set<? extends org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition>> intents, @NotNull java.util.Set<java.util.Locale> supportedLocales, @NotNull java.util.Map<org.litote.kmongo.Id,? extends java.util.Set<java.lang.String>> intentStatesMap, @NotNull ai.tock.nlp.core.NlpEngineType nlpEngineType, boolean mergeEngineTypes, boolean useEntityModels, boolean supportSubEntities, @NotNull org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> _id)
An NLP application definition.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)