NCCuration
A type of rejection indicating that human curation is required. Curation is typically an indication that input query is likely valid but needs a human correction like a typo fix, slang resolution, etc.
Note that NLPCraft does not handle the curation process itself but only allows to indicate the curation request by throwing this exception. Curation is a special type of rejection. The user code is responsible for he actual handling of the curation logic, e.g. giving the user an option to fix the input and resubmitting the request.
- Value parameters:
- cause
Optional cause of this exception.
- msg
Curation message.
- Source:
- NCCuration.scala
class NCRejection
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any