Skipping an answer to a question

Depending on the configuration within the Knowledge Map, it may be possible to skip the answering of a question. This is indicated by passing "unanswered": true in the answer object sent to /{sessionID}/response. Example:

{
  "answers": [
    {
      "subject": "Tom",
      "relationship": "lives in",
      "object":"",
      "unanswered": true,
      "certainty": 100
    }
  ]
}

If the Knowledge Map doesn't allow the question to be skipped, then answering with "unanswered": true won't be accepted and you will receive a 400 response containing:

{
  "err": [
    "Please provide an expected boolean value for unanswered."
  ]
}

Last updated