-
- All Implemented Interfaces:
-
ai.tock.nlp.model.ClassifierContext
public final class EntityBuildContextForIntent extends EntityBuildContext
-
-
Field Summary
Fields Modifier and Type Field Description private final Intentintentprivate final Localelanguageprivate final NlpEngineTypeengineTypeprivate final StringapplicationName
-
Constructor Summary
Constructors Constructor Description EntityBuildContextForIntent(BuildContext context, Intent intent)EntityBuildContextForIntent(CallContext context, Intent intent)EntityBuildContextForIntent(TestContext context, Intent intent)EntityBuildContextForIntent(Intent intent, Locale language, NlpEngineType engineType, String applicationName)
-
Method Summary
Modifier and Type Method Description EntityContextKeykey()List<SampleExpression>select(List<SampleExpression> expressions)Returns expressions for this context final IntentgetIntent()LocalegetLanguage()NlpEngineTypegetEngineType()StringgetApplicationName()-
-
Method Detail
-
key
EntityContextKey key()
-
select
List<SampleExpression> select(List<SampleExpression> expressions)
Returns expressions for this context
-
getIntent
final Intent getIntent()
-
getLanguage
Locale getLanguage()
-
getEngineType
NlpEngineType getEngineType()
-
getApplicationName
String getApplicationName()
-
-
-
-