GET: Multiple engine intents scores

GET: Multiple engine intents scores

API URL: https://platform.blits.ai/api/external/analyze-message

With this GET request a message can be send to the bot nlu providers, be analyzed and respond to you with the intent recognition results.Please follow the following steps to do so.

Authorization

To set this up, the above API URL is need together with the authorization header. The header should have the following format:

Bearer <key>

The key can be obtained from the API settings on the settings page of your bot under the JSON Web Token:

The message

The message should be send a query param with name message:

Sample: https://platform.blits.ai/api/external/analyze-message?message=h

Response

{
  "allRecognitionResults": {
    "MICROSOFT": {
      "text": "hi",
      "topIntent": {
        "name": "Hello",
        "score": 0.9365917
      },
      "intents": [
        {
          "name": "Hello",
          "score": 0.9365917
        },
        {
          "name": "Welcome",
          "score": 0.0328616761
        }
      ],
      "entities": {},
      "provider": "MICROSOFT"
    }
  },
  "recognitionResult": {
    "text": "hi",
    "topIntent": {
      "name": "Hello",
      "score": 0.9365917
    },
    "intents": [
      {
        "name": "Hello",
        "score": 0.9365917
      },
      {
        "name": "Welcome",
        "score": 0.0328616761
      }
    ],
    "entities": {},
    "provider": "MICROSOFT"
  },
  "extractionResult": {
    "entities": {},
    "provider": "MICROSOFT"
  },
  "sentiment": {
    "provider": "MICROSOFT",
    "score": 0.9431402087211609
  }
}
    • Related Articles

    • Nuance - AI Engine

      Please note the Nuance AI Engine works a little different from the other AI Engines. You can use the Blits.ai Dialog Manager to create flows as usual. Having said that, intents and entities are taken from Nuance directly, and cannot be built and ...
    • Intents Batch Import

      Using the batch import button, you can upload or create multiple intents at once. While doing so, you can decide to automatically create a FAQ intent or a regular intent. Upon clicking the button, you are prompted to either upload the template ...
    • Multiple Entity Check

      Intro This block that checks if the user response with multiple entities/answers in one-sentence. If entities are missing, the blocks keeps asking for these remaining entities until all entities are accounted for. You can configure which question the ...
    • Intents Import & Export

      Intents can be exported by clicking on the 'Export Intent ' button in the intents tab in the bottom. After pressing this button, a unique code is generated. The intents including its utterances, entities and flow is exported as an encrypted json ...
    • Top intents widget

      The top intents widgets ranks all the recognised intent. The widget shows the following metrics Intent name Times the intent is triggered by the bot Percentage of total