-
- All Implemented Interfaces:
-
ai.tock.nlp.model.ModelBuilder
public interface NlpClassifier implements ModelBuilder
NLP query operations.
-
-
Method Summary
Modifier and Type Method Description abstract Set<NlpEngineType>supportedNlpEngineTypes()abstract IntentClassificationclassifyIntent(IntentContext context, ModelHolder modelHolder, String text)abstract IntentClassificationclassifyIntent(IntentContext context, String text)abstract List<EntityRecognition>classifyEntities(EntityCallContext context, ModelHolder modelHolder, String text)abstract List<EntityRecognition>classifyEntities(EntityCallContext context, String text)-
Methods inherited from class ai.tock.nlp.model.NlpClassifier
buildAndSaveEntityModel, buildAndSaveIntentModel, buildAndSaveTokenizerModel, buildEntityModel, buildIntentModel, deleteOrphans, getCurrentModelConfiguration, isEntityModelExist, isIntentModelExist, updateModelConfiguration, warmupEntityModel, warmupIntentModel -
Methods inherited from class ai.tock.nlp.model.ModelBuilder
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
supportedNlpEngineTypes
abstract Set<NlpEngineType> supportedNlpEngineTypes()
-
classifyIntent
abstract IntentClassification classifyIntent(IntentContext context, ModelHolder modelHolder, String text)
-
classifyIntent
abstract IntentClassification classifyIntent(IntentContext context, String text)
-
classifyEntities
abstract List<EntityRecognition> classifyEntities(EntityCallContext context, ModelHolder modelHolder, String text)
-
classifyEntities
abstract List<EntityRecognition> classifyEntities(EntityCallContext context, String text)
-
-
-
-