-
public final class ApplicationDefinitionAn NLP application definition.
-
-
Field Summary
Fields Modifier and Type Field Description private final transient StringqualifiedNameprivate final Stringnameprivate final Stringlabelprivate final Stringnamespaceprivate final Set<Id<IntentDefinition>>intentsprivate final Set<Locale>supportedLocalesprivate final Map<Id<IntentDefinition>, Set<String>>intentStatesMapprivate final NlpEngineTypenlpEngineTypeprivate final BooleanmergeEngineTypesprivate final BooleanuseEntityModelsprivate final BooleansupportSubEntitiesprivate final DoubleunknownIntentThresholdprivate final BooleancaseInsensitiveprivate final Id<ApplicationDefinition>_id
-
Constructor Summary
Constructors Constructor Description ApplicationDefinition(String name, String label, String namespace, Set<Id<IntentDefinition>> intents, Set<Locale> supportedLocales, Map<Id<IntentDefinition>, Set<String>> intentStatesMap, NlpEngineType nlpEngineType, Boolean mergeEngineTypes, Boolean useEntityModels, Boolean supportSubEntities, Double unknownIntentThreshold, Boolean caseInsensitive, Id<ApplicationDefinition> _id)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Stringcomponent3()final Set<Id<IntentDefinition>>component4()final Set<Locale>component5()final Map<Id<IntentDefinition>, Set<String>>component6()final NlpEngineTypecomponent7()final Booleancomponent8()final Booleancomponent9()final Booleancomponent10()final Doublecomponent11()final Booleancomponent12()final Id<ApplicationDefinition>component13()final ApplicationDefinitioncopy(String name, String label, String namespace, Set<Id<IntentDefinition>> intents, Set<Locale> supportedLocales, Map<Id<IntentDefinition>, Set<String>> intentStatesMap, NlpEngineType nlpEngineType, Boolean mergeEngineTypes, Boolean useEntityModels, Boolean supportSubEntities, Double unknownIntentThreshold, Boolean caseInsensitive, Id<ApplicationDefinition> _id)final StringgetQualifiedName()A qualified name (ie "namespace:name") of the app. final StringgetName()The name of the app. final StringgetLabel()The label of the app. final StringgetNamespace()The namespace of the app. final Set<Id<IntentDefinition>>getIntents()The intents id of the app. final Set<Locale>getSupportedLocales()The locales supported by the app. final Map<Id<IntentDefinition>, Set<String>>getIntentStatesMap()The states defined for each intent. final NlpEngineTypegetNlpEngineType()The current nlp engine used to build the model. final BooleangetMergeEngineTypes()Is intent entity model and "standalone" entity models are used to find the better values? final BooleangetUseEntityModels()Is "standalone" entity models used? final BooleangetSupportSubEntities()Does this app support sub entities? final DoublegetUnknownIntentThreshold()Unknown intent threshold level. final BooleangetCaseInsensitive()Case insensitive model - sentences are persisted with lower case. final Id<ApplicationDefinition>get_id()The id of the app. -
-
Constructor Detail
-
ApplicationDefinition
ApplicationDefinition(String name, String label, String namespace, Set<Id<IntentDefinition>> intents, Set<Locale> supportedLocales, Map<Id<IntentDefinition>, Set<String>> intentStatesMap, NlpEngineType nlpEngineType, Boolean mergeEngineTypes, Boolean useEntityModels, Boolean supportSubEntities, Double unknownIntentThreshold, Boolean caseInsensitive, Id<ApplicationDefinition> _id)
-
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final Set<Id<IntentDefinition>> component4()
-
component5
final Set<Locale> component5()
-
component6
final Map<Id<IntentDefinition>, Set<String>> component6()
-
component7
final NlpEngineType component7()
-
component8
final Boolean component8()
-
component9
final Boolean component9()
-
component10
final Boolean component10()
-
component11
final Double component11()
-
component12
final Boolean component12()
-
component13
final Id<ApplicationDefinition> component13()
-
copy
final ApplicationDefinition copy(String name, String label, String namespace, Set<Id<IntentDefinition>> intents, Set<Locale> supportedLocales, Map<Id<IntentDefinition>, Set<String>> intentStatesMap, NlpEngineType nlpEngineType, Boolean mergeEngineTypes, Boolean useEntityModels, Boolean supportSubEntities, Double unknownIntentThreshold, Boolean caseInsensitive, Id<ApplicationDefinition> _id)
-
getQualifiedName
final String getQualifiedName()
A qualified name (ie "namespace:name") of the app.
-
getNamespace
final String getNamespace()
The namespace of the app.
-
getIntents
final Set<Id<IntentDefinition>> getIntents()
The intents id of the app.
-
getSupportedLocales
final Set<Locale> getSupportedLocales()
The locales supported by the app.
-
getIntentStatesMap
final Map<Id<IntentDefinition>, Set<String>> getIntentStatesMap()
The states defined for each intent.
-
getNlpEngineType
final NlpEngineType getNlpEngineType()
The current nlp engine used to build the model.
-
getMergeEngineTypes
final Boolean getMergeEngineTypes()
Is intent entity model and "standalone" entity models are used to find the better values?
-
getUseEntityModels
final Boolean getUseEntityModels()
Is "standalone" entity models used? Useful for entity disambiguation.
-
getSupportSubEntities
final Boolean getSupportSubEntities()
Does this app support sub entities?
-
getUnknownIntentThreshold
final Double getUnknownIntentThreshold()
Unknown intent threshold level.
-
getCaseInsensitive
final Boolean getCaseInsensitive()
Case insensitive model - sentences are persisted with lower case.
-
get_id
final Id<ApplicationDefinition> get_id()
The id of the app.
-
-
-
-