-
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 BooleancaseInsensitiveprivate final BooleanignoreTrailingPunctuationprivate final Id<ApplicationDefinition>_id
-
Constructor Summary
Constructors Constructor Description ApplicationWithIntents(ApplicationDefinition application, List<IntentDefinition> intents)ApplicationWithIntents(String name, String label, String namespace, List<IntentDefinition> intents, Set<Locale> supportedLocales, NlpEngineType nlpEngineType, Boolean mergeEngineTypes, Boolean useEntityModels, Boolean supportSubEntities, Double unknownIntentThreshold, Boolean caseInsensitive, Boolean ignoreTrailingPunctuation, Id<ApplicationDefinition> _id)
-
Method Summary
Modifier and Type Method Description final ApplicationDefinitiontoApplication()final Stringcomponent1()final Stringcomponent2()final Stringcomponent3()final List<IntentDefinition>component4()final Set<Locale>component5()final NlpEngineTypecomponent6()final Booleancomponent7()final Booleancomponent8()final Booleancomponent9()final Doublecomponent10()final Booleancomponent11()final Booleancomponent12()final Id<ApplicationDefinition>component13()final ApplicationWithIntentscopy(String name, String label, String namespace, List<IntentDefinition> intents, Set<Locale> supportedLocales, NlpEngineType nlpEngineType, Boolean mergeEngineTypes, Boolean useEntityModels, Boolean supportSubEntities, Double unknownIntentThreshold, Boolean caseInsensitive, Boolean ignoreTrailingPunctuation, Id<ApplicationDefinition> _id)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 BooleangetCaseInsensitive()Case insensitive model - sentences are persisted with lower case. final BooleangetIgnoreTrailingPunctuation()No trailing punctuation model - sentences are persisted without trailing punctuation. final Id<ApplicationDefinition>get_id()The id of the app. -
-
Constructor Detail
-
ApplicationWithIntents
ApplicationWithIntents(ApplicationDefinition application, List<IntentDefinition> intents)
-
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 caseInsensitive, Boolean ignoreTrailingPunctuation, Id<ApplicationDefinition> _id)
-
-
Method Detail
-
toApplication
final ApplicationDefinition toApplication()
-
component1
final String component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final List<IntentDefinition> component4()
-
component5
final Set<Locale> component5()
-
component6
final NlpEngineType component6()
-
component7
final Boolean component7()
-
component8
final Boolean component8()
-
component9
final Boolean component9()
-
component10
final Double component10()
-
component11
final Boolean component11()
-
component12
final Boolean component12()
-
component13
final Id<ApplicationDefinition> component13()
-
copy
final ApplicationWithIntents copy(String name, String label, String namespace, List<IntentDefinition> intents, Set<Locale> supportedLocales, NlpEngineType nlpEngineType, Boolean mergeEngineTypes, Boolean useEntityModels, Boolean supportSubEntities, Double unknownIntentThreshold, Boolean caseInsensitive, Boolean ignoreTrailingPunctuation, Id<ApplicationDefinition> _id)
-
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.
-
getCaseInsensitive
final Boolean getCaseInsensitive()
Case insensitive model - sentences are persisted with lower case.
-
getIgnoreTrailingPunctuation
final Boolean getIgnoreTrailingPunctuation()
No trailing punctuation model - sentences are persisted without trailing punctuation.
-
get_id
final Id<ApplicationDefinition> get_id()
The id of the app.
-
-
-
-