NCEntityValidator
A pipeline components that validates the final list of parsed and enriched entities. See NCPipeline for documentation on the overall processing pipeline. Note that this is an optional component.
This component can be used to perform any kind of last-stage validation before the list of entities is passed to intent matching. For example, this can be used for content-based access control, time-based control, location-based control, etc.
- See also:
- Source:
- NCEntityValidator.scala
Value members
Abstract methods
Validates the final list of parsed and enriched entities.
Validates the final list of parsed and enriched entities.
- Value parameters:
- cfg
Configuration of the model this component is associated with.
- ents
List of entities to validate.
- req
Input request descriptor.
- Throws:
- NCException
Thrown in case of any validation violations.
- Source:
- NCEntityValidator.scala
Inherited methods
Called when the component starts. Default implementation is no-op.
Called when the component starts. Default implementation is no-op.
- Value parameters:
- cfg
Configuration of the model this component is associated with.
- Inherited from:
- NCLifecycle
- Source:
- NCLifecycle.scala
Called when the component stops. Default implementation is no-op.
Called when the component stops. Default implementation is no-op.
- Value parameters:
- cfg
Configuration of the model this component is associated with.
- Inherited from:
- NCLifecycle
- Source:
- NCLifecycle.scala