-
- All Implemented Interfaces:
public final class ApplicationWithIntentsApplication definition with intents.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Stringlabelprivate final Stringnamespaceprivate final List<IntentDefinition>intentsprivate final Set<Locale>supportedLocalesprivate final NlpEngineTypenlpEngineTypeprivate final BooleanmergeEngineTypesprivate final BooleanuseEntityModelsprivate final BooleansupportSubEntitiesprivate final DoubleunknownIntentThresholdprivate final BooleannormalizeTextprivate final List<IntentDefinition>namespaceIntentsprivate final Id<ApplicationDefinition>_id
-
Constructor Summary
Constructors Constructor Description ApplicationWithIntents(ApplicationDefinition application, List<IntentDefinition> intents, List<IntentDefinition> namespacesIntents)ApplicationWithIntents(String name, String label, String namespace, List<IntentDefinition> intents, Set<Locale> supportedLocales, NlpEngineType nlpEngineType, Boolean mergeEngineTypes, Boolean useEntityModels, Boolean supportSubEntities, Double unknownIntentThreshold, Boolean normalizeText, List<IntentDefinition> namespaceIntents, Id<ApplicationDefinition> _id)
-
Method Summary
Modifier and Type Method Description final StringgetName()The name of the application. final StringgetLabel()The label of the app. final StringgetNamespace()The namespace of the application. final List<IntentDefinition>getIntents()The intent definitions of the application. final Set<Locale>getSupportedLocales()The locales supported by the application. 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 BooleangetNormalizeText()Normalized text model - sentences are persisted with normalizedText. final List<IntentDefinition>getNamespaceIntents()The shared intent definitions for other namespaces. final Id<ApplicationDefinition>get_id()The id of the app. final ApplicationDefinitiontoApplication()-
-
Constructor Detail
-
ApplicationWithIntents
ApplicationWithIntents(ApplicationDefinition application, List<IntentDefinition> intents, List<IntentDefinition> namespacesIntents)
-
ApplicationWithIntents
ApplicationWithIntents(String name, String label, String namespace, List<IntentDefinition> intents, Set<Locale> supportedLocales, NlpEngineType nlpEngineType, Boolean mergeEngineTypes, Boolean useEntityModels, Boolean supportSubEntities, Double unknownIntentThreshold, Boolean normalizeText, List<IntentDefinition> namespaceIntents, Id<ApplicationDefinition> _id)
-
-
Method Detail
-
getNamespace
final String getNamespace()
The namespace of the application.
-
getIntents
final List<IntentDefinition> getIntents()
The intent definitions of the application.
-
getSupportedLocales
final Set<Locale> getSupportedLocales()
The locales supported by the application.
-
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.
-
getNormalizeText
final Boolean getNormalizeText()
Normalized text model - sentences are persisted with normalizedText.
-
getNamespaceIntents
final List<IntentDefinition> getNamespaceIntents()
The shared intent definitions for other namespaces.
-
get_id
final Id<ApplicationDefinition> get_id()
The id of the app.
-
toApplication
final ApplicationDefinition toApplication()
-
-
-
-