Package ai.tock.nlp.front.shared.config
Class ApplicationDefinition
-
- All Implemented Interfaces:
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 DoubleknownIntentThresholdprivate final BooleannormalizeTextprivate 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, Double knownIntentThreshold, Boolean normalizeText, Id<ApplicationDefinition> _id)
-
Method Summary
Modifier and Type Method Description 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 DoublegetKnownIntentThreshold()Known intent threshold level. final BooleangetNormalizeText()Normalized text model - sentences are persisted with normalizedText. 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, Double knownIntentThreshold, Boolean normalizeText, Id<ApplicationDefinition> _id)
-
-
Method Detail
-
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.
-
getKnownIntentThreshold
final Double getKnownIntentThreshold()
Known intent threshold level.
-
getNormalizeText
final Boolean getNormalizeText()
Normalized text model - sentences are persisted with normalizedText.
-
get_id
final Id<ApplicationDefinition> get_id()
The id of the app.
-
-
-
-