-
- All Implemented Interfaces:
-
ai.tock.nlp.core.service.entity.EntityTypeClassifier,ai.tock.nlp.core.service.entity.EntityTypeProvider
public final class RestEntityTypeProvider implements EntityTypeProvider, EntityTypeClassifierEntityTypeProvider that classifies entities using a rest API.
-
-
Constructor Summary
Constructors Constructor Description RestEntityTypeProvider(RestEntityTypeClient client)
-
Method Summary
Modifier and Type Method Description Set<String>supportedEntityTypes()EntityTypeClassifiergetEntityTypeClassifier()Booleanhealthcheck()List<EntityTypeRecognition>classifyEntities(EntityCallContext context, String text)-
Methods inherited from class ai.tock.nlp.core.service.entity.EntityTypeProvider
equals, hashCode, toString -
Methods inherited from class ai.tock.nlp.entity.rest.RestEntityTypeProvider
getEntityTypeEvaluator, supportClassification, supportEvaluation, supportValuesMerge -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RestEntityTypeProvider
RestEntityTypeProvider(RestEntityTypeClient client)
-
-
Method Detail
-
supportedEntityTypes
Set<String> supportedEntityTypes()
-
getEntityTypeClassifier
EntityTypeClassifier getEntityTypeClassifier()
-
healthcheck
Boolean healthcheck()
-
classifyEntities
List<EntityTypeRecognition> classifyEntities(EntityCallContext context, String text)
-
-
-
-